Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Knowledge Pattern

Status
Not open for further replies.

JRMorton

Mechanical
Jul 14, 2015
11
US
Hello,

When creating a point using Knowledge Pattern, let's say by intersection using function intersect(Curve,Curve). Is there a way to extract its x,y,&z coordinates?

I saw a function called Point->coord(rank:integer):Length. However, I am unsure what the integer input is and if the Point is the one you wish to extract.

Thanks in advance.
 
Replies continue below

Recommended for you

->Coord(1) = x , ->Coord(2) = y ...

Eric N.
indocti discant et ament meminisse periti
 
Itsmyjob has it
1. Pick the point so it appears in your rule (or whatever you are using)
2. Pick Point->coord() from point measures
3. Enter 1 for x, 2 for y, 3 for z

The line of code will look like:
X = Point.1->coord(1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top