几何尺寸与公差论坛

 找回密码
 注册
查看: 682|回复: 0

【转帖】sw commands

[复制链接]
发表于 2009-4-12 22:33:01 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 22:20 , Processed in 0.036576 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表