Knowledge Pattern
Knowledge Pattern
(OP)
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.
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.





RE: Knowledge Pattern
indocti discant et ament meminisse periti
RE: Knowledge Pattern
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)