How to Insert a Block with Preview Shape Following the Cursor?

How to Insert a Block with Preview Shape Following the Cursor?

viper_007
Advocate Advocate
753 Views
2 Replies
Message 1 of 3

How to Insert a Block with Preview Shape Following the Cursor?

viper_007
Advocate
Advocate

Hi, everyone!

I try to used "SendStringToExecute("._insert ", true, false, false)", it does well except that I don't need the insert block form showing. I know the block's name exactly, and I'd like to insert the block directly with the block's preview shape following the mouse cursor.

聚傲气于一身,显傲骨之精华
0 Likes
Accepted solutions (2)
754 Views
2 Replies
Replies (2)
Message 2 of 3

cadprogramming
Participant
Participant
Accepted solution

Instead of "._Insert" try "-INSERT".

The dash in front of insert will cause the command to be run from command line instead of dialog.

You will need to feed the command the right arguments so try it at command line first.

CAD Programming
Message 3 of 3

viper_007
Advocate
Advocate
Accepted solution
Thank you, you do me a great favor!
聚傲气于一身,显傲骨之精华
0 Likes