Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 5
Lesoux
611 Views, 4 Replies

Ordinate Dimentions

Can someone help me. I know that Intent doesn't support Ordinate Dimentions now. How can I use Intent API in this case. Can you show me a small example if it's real.

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
4 REPLIES 4
Message 2 of 5
Chris.Palmatier
in reply to: Lesoux

You will need to do this through the Inventor API directly, refering to the Inventor API documentation. This topic has some basic information to get you started if you haven't done anythink with .NET code in rules and accessing the Inventor API from rules.

http://wikihelp.autodesk.com/Inventor_ETO/enu/2013/Help/0148-Inventor148/0413-Language413/0414-Intro...

 

This topic has some additional information about the Inventor API

http://wikihelp.autodesk.com/Inventor_ETO/enu/2013/Help/0148-Inventor148/0351-Autodesk351/0369-Inten...



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Message 3 of 5
pila147
in reply to: Lesoux

Hi Lessox

 

Did you find a solution to create ordinate dimensions via API ?

 

Thanks

Mathias

Message 4 of 5
Lesoux
in reply to: pila147

Yes. I did.

 

Take a look on this code (attached file). I works for me. You can try to modify it.

 

Copy files into Design Files folder.

 

 

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373
Message 5 of 5
Lesoux
in reply to: pila147

Example to call IvOriginIndicator :

 

Child OriginIndicator As :IvOriginIndicator
   part1 = ' your part as part
   entity1 = ' your entity as string
   intent1 = :endPoint
   originIndicatorVisible? = False
End Child

 

Example to call IvOrdinateDimensionSet:

 

Child OrdinateDimensionSet As :IvOrdinateDimensionSet
   origin = OriginIndicator ' see previous child above
   entity1 = ' your entities as list of strings ({"Edge1", "Edge2", etc.})
   intent1 = :endPoint
   dimType = :horizontal
   dimDirection = :top
   dimStyle = "ANSI - vertical dimension value" ' allow you rotate dimension text, this is optional parameter
   offset = 1.5
   continuousRunning = False
End Child

Win10 x64
Xeon E5-1630
32 Gb RAM
Quadro K5200

Inventor 2020.3.4, Build 373

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

Post to forums  

Autodesk Design & Make Report