Internal name for import style command (in style editor)

Internal name for import style command (in style editor)

Anonymous
Not applicable
525 Views
3 Replies
Message 1 of 4

Internal name for import style command (in style editor)

Anonymous
Not applicable

Hi,

I read that it's not possible to import a style (styxml file) into the style editor through the API, there is no dedicated command.

However I'm wondering if there's a a way to have the internal name corresponding to the button as we can do for the ribbon buttons (there's a sample code which does this).

 

So is it possible ot get the internal name of a button inside a dialog box (style editor here) or is it really hopeless to think I can import a style with a macro ?

 

By the way, that would be for Inventor 2009.

0 Likes
526 Views
3 Replies
Replies (3)
Message 2 of 4

Vladimir.Ananyev
Alumni
Alumni

The following post could be useful:

Running Commands Using the API

http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html

 


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 4

Anonymous
Not applicable

That could be quite usefull indeed, especially the event watcher that I didn't know. I'll keep you informed as soon as I can test this.

0 Likes
Message 4 of 4

Anonymous
Not applicable

The EventManager doesn't give anything, too bad 😞

0 Likes