Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ilogic idw dimension problem

5 REPLIES 5
Reply
Message 1 of 6
Retselnitram
811 Views, 5 Replies

ilogic idw dimension problem

I have a tube and with ilogic I have different amounts of holes depending on how long the tube.

How can make it so that it always dimensions the holes properly.

It will dimension some holes twice and some holes it doesn't dimension at all.

 

5 REPLIES 5
Message 2 of 6
innovatenate
in reply to: Retselnitram

Lester,

 

Can you upload a sample file to investigate?

 

Thanks,

 

 

 




Nathan Chandler
Principal Specialist
Message 3 of 6
mrattray
in reply to: Retselnitram

How are you applying the dimensions?

Mike (not Matt) Rattray

Message 4 of 6
Retselnitram
in reply to: innovatenate

Here it is.

Message 5 of 6
innovatenate
in reply to: Retselnitram

Without going into VBA and the API, I don't believe there's a way to do this. You may find better assistance with that in the customization forum. My thought is that the ordinate dimensions would need to be deleted and recreated any time the drawing view is updated to prevent the 'sick' dimensions. 

 

Rather than putting ordinate dimensions on the drawing view (and dealing with custom code), have you considered using a hole table? I believe that the hole table will remain associative with the view.

 

holetable.JPG

 

Another thought is to create an iAssembly (warning: iLogic will not persist in iAssembly member files). A single view of the  iAssembly may be created, with a generic table associated to it. Something like this:

 

iassembly_part.JPG

 

Thanks,

 

 




Nathan Chandler
Principal Specialist
Message 6 of 6
mrattray
in reply to: Retselnitram

I agree with Nathan, Lester.

Although it is possible to do this with the API, it is very complicated. Here is a thread where the OP has written code to insert and detail a part: http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/iLogic-Coding-to-Create-Automated-Draw...

Mike (not Matt) Rattray

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

Post to forums  

Autodesk Design & Make Report