Save custom CPlane(s)
All  1-9  10

Previous
 From:  Michael Gibson
10744.10 In reply to 10744.9 
Hi Mindset,

re:
> I tried to store data from "moi.view.getCPlane();" into the Jason file, but I don't know its properties

The return from moi.view.getCPlane() is a coordinate frame object, it has properties for: .origin, .xaxis, .yaxis, and .zaxis , and each of those points and vectors have properties for .x .y and .z .

When you want to make a coordinate frame object, you call moi.vectorMath.createFrame() and on the coordinate frame you can set it using the .set() method which takes 9 values: frame.set( originx, originy, originz, xaxisx, xaxisy, xaxisz, yaxisx, yaxisy, yaxisz ); - the z axis is automatically calculated from the x and y axes and isn't set by itself.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-9  10