Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Jul 14, 2015
Messages
11
Location
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.
 
->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

Back
Top