Patrick Winkler Posted December 7, 2016 Share Posted December 7, 2016 (edited) Hello, when a symbol is double clicked in the Resource Manager it gets attached to the cursor. Is it possible to recreate that behaviour by a VS command? I need this for a tool that creates a symbol. The symbol should be ready to insert when the dialog is confirmed. Edited December 7, 2016 by Patrick Winkler Quote Link to comment
Oachl Kini Posted December 7, 2016 Share Posted December 7, 2016 What about the MouseDown command? It won't give you a preview of your symbol, but you could let the user decide where to insert the symbol that way.. 1 Quote Link to comment
JBenghiat Posted December 7, 2016 Share Posted December 7, 2016 You can use the CallTool command to use the symbol insertion tool. Your script would set the active symbol definition prior. -Josh 1 Quote Link to comment
Patrick Winkler Posted December 7, 2016 Author Share Posted December 7, 2016 (edited) Thanks for your proposals. kCallTool_2D_Sym = -209 vs.SetActSymbol('SymName') vs.CallTool(kCallTool_2D_Sym) Edited December 7, 2016 by Patrick Winkler Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.