查看单个帖子
旧 2009-04-12, 10:33 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】sw commands

sw commands
is there a way in sw api add-in to get call back commands that are firing in sw so i can see what commands i want to call to myself through add-in - sw does does things i assume through its own commands that i can't figure out - ideally would be event call back for every command and i could watch in vs bugger to see what command(s) are firing.. thanks! scott
hey scott,
did you try recording a macro?
--stav.
in this world i am nobody...
and nobody is perfect !!!
---------
solidworks office 2008 sp4.0
dell precision pws390
nvidia quadro fx 3450/4000 sdi
the best you can do is record a macro. macro recording will miss things, and will structure some things (like selections) in a way that one would not wish to replicate in a macro.
yep - i did - my problem is when you insert a component via sw user interface after open dialog, the component is anchored to the mouse and you then click where you want to locate it - the macro does not record whatever the command(s) are to move the component in this - just shows me the addcomponent with the final coordinates - i would like to run the command that had the component attached to the mouse - any idea what it is or how to do it? thanks scott
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)