Inventor General Discussion

Inventor General Discussion

Reply
Mentor
mehatfie
Posts: 163
Registered: ‎02-10-2012
Message 1 of 3 (451 Views)

iLogic Coding to Create Automated Drawing

451 Views, 2 Replies
02-14-2012 06:53 AM

Hi all,

 

I'm attempting to create a model that autmotaically derives ready-to-go drawings. I've gotten pretty far in doing so but have a few issues with regards to dimensioning. As I'm sure you're aware, when the model changes, a dimension to that feature, which has been removed, is also deleted and some those dimensions do not return once the model is changed back.

 

I have looked into using different view representations, but have found that they do not accommodate feature supression.

 

My questions are:

 

Is there a way to program in the dimensioning of a view 

 

Create center points for of of the holes and center lines

 

And for a feature note such as "Hole and Thread" dimensioning, when the model expands, the leader and text length do not change and proceed into the view. Is there a way to fix or anchor the text to a certain spot on the drawing, and have the leader length expand and change accordingly to that point.

 

If you would like farther information, or think a similar question would help, please ask.

 

Thanks in advance for any help.

Mitch

Mentor
mehatfie
Posts: 163
Registered: ‎02-10-2012
Message 2 of 3 (431 Views)

Re: iLogic Coding to Create Automated Drawing

02-14-2012 09:21 AM in reply to: mehatfie

Also, If there is anyway to anchor the linear dimensions as well or set an offset from the attached view. When the model changes, the dimension is either absorbed into the view or becomes to far away.

 

Thanks Again

Mitch

Valued Mentor
jcneal
Posts: 340
Registered: ‎04-10-2010
Message 3 of 3 (417 Views)

Re: iLogic Coding to Create Automated Drawing

02-14-2012 07:34 PM in reply to: mehatfie

from my experiences, vba or vb.net is better for automated dimension.

select edges or arc and dimension them.

Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2014
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2014
Visual Studio Express 2010
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.