Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Align CenterMark to Edge

1 REPLY 1
Reply
Message 1 of 2
admin
353 Views, 1 Reply

Align CenterMark to Edge

Hi All,

 

I'd like to align center marks to an edge using the 2012 API in a DrawingDocument, but I can't find the right property?

The RMB > Edit > Align to Edge option is not to my standards, so I'd like to make something better.

 

Regards,

Hans Rosbergen

1 REPLY 1
Message 2 of 2
xiaodong_liang
in reply to: admin

Hi,

 

I did not see a property with the object CenterMark. At least, however, it may be helpful to execute the command. Assume a center mark is picked:

 

 ThisApplication.CommandManager.ControlDefinitions("DrawingCenterMarkAlignToEdgeCtxCmd").Execute

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report