Sendcommand method for inserting block

Sendcommand method for inserting block

Anonymous
Not applicable
833 Views
1 Reply
Message 1 of 2

Sendcommand method for inserting block

Anonymous
Not applicable

Hi,

I have got a command line to insert block through VBA which pause and asks insertionpoint of block.

It automatically gives scale to 1 and rotation to 0. I want rotation to be default e.g. whichever is suggested.

My command is...

ThisDrawing.SendCommand ("(Command ""-Insert"" """ & "NISH-SWITCHBOARD" & """ pause ""1"" ""1"" ""0"")" & vbCr)

I dont know how to replace 0 with <enter> or < space>

Any help is appreciated.

0 Likes
834 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I got it. I removed 0. Infact previously I had tried by putting a blank space, which did not work.

 

ThisDrawing.SendCommand ("(Command ""-Insert"" """ & "NISH-SWITCHBOARD" & """ pause ""1"" ""1"" """")" & vbCr)

 

 

 

0 Likes