relationship between Workplane in one asset and Workpoint in another

relationship between Workplane in one asset and Workpoint in another

matthew_neesley
Collaborator Collaborator
385 Views
4 Replies
Message 1 of 5

relationship between Workplane in one asset and Workpoint in another

matthew_neesley
Collaborator
Collaborator

I am trying to change the height of multiple conveyor leg assets that will be attached to conveyor beds.  What I want to do as a precursor is transfer the "Z" value of the leg's workpoint in the assembly space into a parameter inside each leg asset.  I read about it online, but I can't get the language right.  In the attached pic you'll see that there are several legs, each with a workpoint at the top.  

 

I thought I could set the same parameter in each leg by referencing the distance-relationship between the workplane of the Master Ground Plane and the Work Point of each leg, based on this: 

 

https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2015...

But when I run the rule in the assembly, error message says "No entity named "Master Ground Plane" was found."

 

Could someone unscramble my thinking for me?  Thanks in advance!

update each leg with its top surface height above the ground.JPG

0 Likes
386 Views
4 Replies
Replies (4)
Message 2 of 5

chandra.shekar.g
Autodesk Support
Autodesk Support

@matthew_neesley,

 

Try this iLoigc code.

 

Parameter(oOccurrence.Name, "Smart_Height") = Measure.MinimumDistance("Copy of 2018_TOS_Insert-Standard Duty Support1:10", "Work Point1", "Master Ground Plane:1", "Master Ground Plane")

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 5

matthew_neesley
Collaborator
Collaborator
No, unfortunately that does not work, the parameter in the leg asset is not
updating. I don't get it, it should work based on your reply and all the
online reference material I've read...
0 Likes
Message 4 of 5

matthew_neesley
Collaborator
Collaborator

Maybe my thinking about this is all wrong.

 

I've been reading about pushing values from assemblies into parts.  I already have a way to gather the "Z" coordinate from where the top of each leg will end up.

 

All I need now is to push those values into each individual leg's parameter, called "Smart_Height."  But how to match up each unique leg instance in that fashion?

0 Likes
Message 5 of 5

chandra.shekar.g
Autodesk Support
Autodesk Support

@matthew_neesley,

 

Can you please provide sample assembly and parts to mimic the situation? please mention the name of parameter in top assembly to copy from assembly into parts ("Smart_Height").

 

Please make sure that files are non confidential.

 

Thanks and regards,

 


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes