.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
viper_007
506 Views, 2 Replies

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

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.

聚傲气于一身,显傲骨之精华
2 REPLIES 2
Message 2 of 3
cadprogramming
in reply to: viper_007

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
in reply to: cadprogramming

Thank you, you do me a great favor!
聚傲气于一身,显傲骨之精华

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost