CommandIDEnums

CommandIDEnums

omartin
Advocate Advocate
454 Views
2 Replies
Message 1 of 3

CommandIDEnums

omartin
Advocate
Advocate

How would you run these commands I am on IV2014.

 

I am trying to zoom to the selected object in an assembly.

 

Ive seen old documentation saying to use the commandmanager.startcommand() function but it is not avaialable, I only have startExecutable.

 

I this some type of legacy function?

 

Thanks in advanced

Was my reply Helpful ? send a Kudos or accept as solution
0 Likes
Accepted solutions (1)
455 Views
2 Replies
Replies (2)
Message 2 of 3

bshbsh
Collaborator
Collaborator
Accepted solution

It would be something like this:

ThisApplication.CommandManager.ControlDefinitions("AppZoomSelectCmd").Execute2 (True)

I see no StartCommand() in the 2014 API. There's the StartExecutable(), but that's about it.

0 Likes
Message 3 of 3

omartin
Advocate
Advocate
Great Thanks!! bshbsh
Was my reply Helpful ? send a Kudos or accept as solution
0 Likes