Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.

 

The COE 2008 Fall Industry Workshops

Automotive
Oct. 15-16
Troy, Michigan

 

Aerospace & Defense
Oct. 27-28
Wichita, Kansas

   

Register Today!

COE DISCUSSION FORUM
Subject: Parameter/formula for measuring point in context of assembly/instance transformation

You are not authorized to post a reply.   
Author Messages
GLAURENCE

26 Mar 2008 06:55 AM

Something that has stumped me....

I am trying to set a parameter to measure a point in context of assembly/instance transformation.

For instance if I have an assembly with one part in it and I create a point at (0,0,0), I can return correct values of (x,y,z) by using formula to set length parameter to `Part1\PartBody\Point.1` ->coord(1). You could also use the interactive "measure" command to do this as well.

The problem I have is when I move that part (instance) in context of the assembly. Lets say we move that instance 100mm in the X. The part point should still measure (0,0,0) in the part context but it should measure (100,0,0) in the assembly context. I cant seem to find a way to return (100,0,0) using parameters and formulas at the part, instance or assembly level. I can do this all day long with the measure command, but we have seen problems with measure updates, etc. Parameters and Formulas from the dictionary seem much more robust.

Is there a way I can accomplish this using parameters/formulas or other ways, avoiding the interactive measure command?

thanks a bunch,

Jerry in Detroit

GLAURENCE

29 Mar 2008 11:06 AM

Doe eveyone just use the interactive "measure" command when setting up templates then?

 

Thanks,

Jerry n Detroit

ROARKJE

31 Mar 2008 05:55 AM

 

When using a parameter and formula the path is showing the X, Y and Z coordinate values of the point in the part.  I think you are looking for a solution that will give you the coordinate value relative to the assembly position.

Attachment: 1331551795690.bmp

ROARKJE

31 Mar 2008 06:13 AM

At the Product level you could use DistanceMin(Product1,Product2) == Length.
Only thing is you will need to have a solid or a surface in each part or product instance.


Attachment: 133113713610.bmp

GLAURENCE

31 Mar 2008 09:33 AM
Jeff,

Thanks for taking the time to post those answers. I never thought to work it from DistanceMin.

thanks again,

Jerry
You are not authorized to post a reply.
Forums > COE Forums > KBE > Parameter/formula for measuring point in context of assembly/instance transformation



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)