Hey buddies:
I am mechanical drawing and search a better way for the drawing generation. I have to learn some of VBA (or VBS?) for use Ilogic rules. My questions are:
1.- How learn or search more easily and faster the inventor objects for drawings and how to use this objects, undestanding the relationship between its function names and another properties for writing the correct mode in VB? I know some of VB buti see that the library objects from Inventor are "a lot of stuff".
2.- Is there a rule that can get, automatically, the centerlines from a drawing, when the drawings is generated in a idw file? (10 drawing in one idw file ).
thanks
Intel i7 2630 processor
6 Gb Ram
Nvidia GT350
This post is a good start point to learn drawing automation:
http://modthemachine.typepad.com/my_weblog/2009/10/drawing-automation.html
Cheers,
You might benefit from a perusal of this thread: http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/iLogic-Coding-to-Create-Automated-Draw...
Thank you guys for the help.
I already read some of that and it's very interesting. However, if anybody could be more exactly (and example) in the theme about understand how to use the PROGRAMIMING HELP and how yo apply (and to assembly these words in code VB) in a particular case. I think that with a example its be very instructive. Any example. But remember... how to use and mixing these "word codes" ( for example: ActveSheet.Sheet.Update or ActiveSheet.View, etc, etc, etc) I don't know how harded be this but if someone can be explaint this point iI would be very grateful for that help.
one of this days upload a part for a more especific question.
Thank you.
Hi novi_dan,
I am not sure how far you have walked with Inventor API, but I'd recommend you take a look at the basic tutorials we have delivered. They are titled with "Introductory Inventor API_Module ***" . You can download here.
http://adndevblog.typepad.com/manufacturing/2013/05/api-webcast-archive.html
particually, for drawing document, the module is:
Introductory Inventor API_Module 7
hope this helps you to implement your project.
Hello all!
On my search for a useful method to place dimensions with iLogic, i found this tread. The method of Chris Atherton with Attributes sounds great for me, so i take that way. Now, i have have to change some lines in the rules, because in my assembly is one part that would be replaced by other parts (approx. 100 difference parts, all with same type of face on one end, and the dimension must attatch to that face (=edge on drawing view)).
So i think, i must place the attributes on each of the 100 different parts, and in the iLogic rule: search for part-attributes of the assembly of the the drawingview. (and i think that works for now).
But then, in the rule it became an error after the line with messagebox (wich i use for searching the line with the error by moving the messagebox downwards)
Can anybody see wat's wrong with my change in the rules?
I think its possible and a VERY useful type of programming the dimensions, but i have a little bug.
Any help is much appreciated!
Greets,
HvH
Hi Chris, Just watched your blog post on automating dimensioning - really interesting andw ant to give it a go myself for a project I'm working on. Would it be possible to get a link to the ilogic code you use in the tutorial as there isn't one on the post itself.
May Thanks!
Kevin