User Parameter missing Export option in Inventor 2021

User Parameter missing Export option in Inventor 2021

0x3FA5
Advocate Advocate
2,193 Views
23 Replies
Message 1 of 24

User Parameter missing Export option in Inventor 2021

0x3FA5
Advocate
Advocate

We have a a base part file that includes sketched and base parameters (materials, thicknesses and such).

The file is derived into many other parts, that are based on this one.

When trying to derive material, no option visible:

0x3FA5_1-1624981764647.png

 

Is this a malfunction? How to export this value?

 

0 Likes
Accepted solutions (1)
2,194 Views
23 Replies
Replies (23)
Message 21 of 24

jtylerbc
Mentor
Mentor
Accepted solution

@0x3FA5 wrote:

I managed to get through up to here, can you please help me with this one? Couldn't find "On Save" trigger, and the official help files - well, you know..


 

Unfortunately, I wrote that in a hurry just before I was leaving work yesterday, and made a couple of mistakes in the post.  The trigger is actually called "Before Save", not "On Save."  There is also an "After Save", but I don't recommend that one for this situation.

 

Also, your other post asking about whether the code should have been pulling from PartA or PartB, you were correct that it should have been PartA:  

Component_Material_PIPE = Parameter("PartA.ipt""Component_Material_PIPE")

 

Sorry for the confusion there.  I actually tested this in existing files with names that wouldn't have made sense to you.  When I tried to rework what I really did into an intelligible example (again in a hurry as I was getting ready to leave for the day), I mixed up the file names.

 

 

0 Likes
Message 22 of 24

0x3FA5
Advocate
Advocate

@jtylerbc wrote:

@0x3FA5 wrote:

I managed to get through up to here, can you please help me with this one? Couldn't find "On Save" trigger, and the official help files - well, you know..


 

Unfortunately, I wrote that in a hurry just before I was leaving work yesterday, and made a couple of mistakes in the post.  The trigger is actually called "Before Save", not "On Save."  There is also an "After Save", but I don't recommend that one for this situation.

 

Also, your other post asking about whether the code should have been pulling from PartA or PartB, you were correct that it should have been PartA:  

Component_Material_PIPE = Parameter("PartA.ipt""Component_Material_PIPE")

 

Sorry for the confusion there.  I actually tested this in existing files with names that wouldn't have made sense to you.  When I tried to rework what I really did into an intelligible example (again in a hurry as I was getting ready to leave for the day), I mixed up the file names.

 

 


Many thanks to your reply!

Can you please provide a screenshot and step by step instructions of how to attach the "Before Save" to the Rule?

Or is there a link to this?

I am absolutely new to iLogic and triggers.

Thank you!

0 Likes
Message 23 of 24

jtylerbc
Mentor
Mentor

I think you already found the "Event Triggers" dialog box, since you posted a screenshot of it earlier.  My guess is that after being suddenly forced into code writing, you're overthinking this part a bit.  In that Event Triggers dialog box, you just drag the rule from the list on the left and drop it on the trigger you want to set for it.  In this case, I'm thinking "Before Save" would be a reasonable trigger to use.

 

Once that has been done, you'll see the rule listed under that trigger (almost like files in a folder).  If you need to remove a trigger, you just right-click the rule under that trigger, and click "Remove". 

 

You may not need this for your particular situation here.  But for future use, be aware that the same rule can also have multiple triggers.  So you could, for example, make a rule in a part that runs every time a model parameter is changed, and then runs again when the file is saved (as a double-check to make sure it gets updated).  

Message 24 of 24

0x3FA5
Advocate
Advocate

BEAUTIFUL!

Thank you!

0 Likes