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 .....HELP!!!

7 REPLIES 7
Reply
Message 1 of 8
Breeze104
462 Views, 7 Replies

iLogic .....HELP!!!

I am trying to convert a standard iPart to an iLogic based part.  The part has some text driven, cells..PatNumber, Description..ect..

 

But when I try to referance those cells the iLogic code either does nothing or errors out.  Not sure what to do...Need HELP!!

 

Basicly i have a bunch of flange rings with have several variables theat need to change as the part number changes, sounds simple right??  Well, not for me..LOL

 

I have rewritten the code so many times...I have gone from hunt and pecking to typing 300 words a min...well maybe not. 

 

If anyone can give me a better way or examlpe to do what i need to do that would be great.  About 75-80% of all our parts are identical in shape but just get smaller or larger depending on what size portable auger it goes on.

 

I am attaching the Excel file that has all the info.  I have been trying to get the part to changed based on "PartNumber" but it has text in the value.

7 REPLIES 7
Message 2 of 8
MjDeck
in reply to: Breeze104

Why are you converting the part from an iPart to an iLogic part?
It would probably help if you can post the original iPart and also the latest version with rules.


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 8
Breeze104
in reply to: Breeze104

I am converting to iLogic because hopefully the I wont run into the problems I have been having with Vault.  It seems the more iParts and iAssemblies you put into an assembly the harder it is for Vault to deal with updating stuff.

 

I tried to upload the file but it is over 6MB and it won't upload.  I uploaded it to my BOX.net account instead.

 

http://www.box.net/shared/1f1rkbpjl8

 

If you have issues downloading please let me know and we can figure out some other way.

Message 4 of 8
MjDeck
in reply to: Breeze104

It looks like it would require some work to convert this iPart to iLogic.  But once you do it, the part won't behave the same way in an assembly.  It is harder to drive an iLogic part from the assembly level.  For an iPart, there is a dedicated interface to choose a member.  For an iLogic part, you have to create assembly parameters to drive the part.  And each component instance will generally be a separate part.  Unlike iParts, there is are no factories and member files.

 If you have a lot of iParts and iAssemblies, it will take a lot of work to convert them to iLogic.


Mike Deck
Software Developer
Autodesk, Inc.

Message 5 of 8
Breeze104
in reply to: MjDeck

If the embeded file is adding complexity to part, that can be removed cuz I normally don't use embeded objects.  Just trying everything I could think of to help get this part to function.

Message 6 of 8
Breeze104
in reply to: Breeze104

I figured out that i was trying to do to much at one time.  So I have started to break up the code and make multiple rules.  But I having an issue with the first rule.  I cna get the PartNumber to dynamicly update in iProperties but the Description wont.

 

 

Please see video:

http://screencast.com/t/COFntvGPN

 

Here is location to download files: 

http://www.box.net/shared/1f1rkbpjl8

 

PS

the file you download last time was an old version anyway...I forgot to re-zip the pack'n go folder...Oooopsss.

Message 7 of 8
MjDeck
in reply to: Breeze104

In the Part_Number rule, move the line:

iProperties.Value("Project", "Description") = Description
to the end of the rule.  You might think that line would set up a link between the parameter and the iProperty.  But it doesn't set up a link: it's just a one-time assignment.  Since you're changing the Description parameter in the rule, you have to assign the changed value to the iProperty at the end of the rule.
 Also, since the Description is driven by the Part Number, you might want to make the Description control Read-only on the form.

 About the embedded Excel file question: I would recommend using an embedded file.  It's a bit harder to do, but it makes the part more like an iPart.  Since the Excel data only applies to this part, might as well keep it inside the part.


Mike Deck
Software Developer
Autodesk, Inc.

Message 8 of 8
Breeze104
in reply to: MjDeck

I reworked the part and now parts are updating and other aren't..not sure wht

 

See video:http://screencast.com/t/en6agr8IQ

 

 

File download:http://www.box.net/shared/1f1rkbpjl8

Tags (1)

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

Post to forums  

Autodesk Design & Make Report