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: 

Dimension Text Alignment with iLogic

1 REPLY 1
SOLVED
Reply
Message 1 of 2
will_roe
616 Views, 1 Reply

Dimension Text Alignment with iLogic

will_roe
Enthusiast
Enthusiast

Hi,

 

I'm trying to change the document setting " Dimension Text Alignment" using iLogic but can't figure out how to do it since it's a drop down menu not a true/false like others. I would like to change it to "View Position and Maintain Centered".

 

ThisDoc.Document.DrawingSettings.DimensionTextAlignment = ViewPositionandMaintainCentered

 

will_roe_0-1625112665917.png

 

Cheers,

 

Will

 

0 Likes

Dimension Text Alignment with iLogic

Hi,

 

I'm trying to change the document setting " Dimension Text Alignment" using iLogic but can't figure out how to do it since it's a drop down menu not a true/false like others. I would like to change it to "View Position and Maintain Centered".

 

ThisDoc.Document.DrawingSettings.DimensionTextAlignment = ViewPositionandMaintainCentered

 

will_roe_0-1625112665917.png

 

Cheers,

 

Will

 

1 REPLY 1
Message 2 of 2
FINET_Laurent
in reply to: will_roe

FINET_Laurent
Advisor
Advisor
Accepted solution

Hi, you can try :

 

ThisDoc.Document.DrawingSettings.DimensionTextAlignment = kMaintainCenteredTextAlignment

 

laurentfinetAF8M9_0-1625119758189.png


Regards,

 

FINET L.

 

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes

Hi, you can try :

 

ThisDoc.Document.DrawingSettings.DimensionTextAlignment = kMaintainCenteredTextAlignment

 

laurentfinetAF8M9_0-1625119758189.png


Regards,

 

FINET L.

 

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

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

Post to forums  

Autodesk Design & Make Report