XYZ Point & Vector

XYZ Point & Vector

Arciviz
Advocate Advocate
3,858 Views
4 Replies
Message 1 of 5

XYZ Point & Vector

Arciviz
Advocate
Advocate

Already I am using AutoLISP Well. I feel very easy by using  List(X,Y,Z) , Polar point & 3D Polar points in AutoLisp.

I know Revit API is very easier if I understand XYZ methods, point & Vector clearly. Any Help? 

0 Likes
Accepted solutions (1)
3,859 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk
Accepted solution

Welcome to the Revit API!

 

The concepts are similar.

 

In Revit, the XYZ class is used to represent both points and vectors:

 

https://apidocs.co/apps/revit/2019/c2fd995c-95c0-58fb-f5de-f3246cbc5600.htm

 

It has some geometrical support functions, and you will probably want to add some own extension methods for your personal use as you go along:

 

https://apidocs.co/apps/revit/2019/b9b10e41-46c7-7e9b-bbd9-b6180e328d4d.htm

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 5

Arciviz
Advocate
Advocate

Hi,

I think you have explain it clearly in SDK. I forgot the folder name.

0 Likes
Message 4 of 5

Arciviz
Advocate
Advocate

Hi,

I found the util. Thanks.

Regards,

Sudhan.

0 Likes
Message 5 of 5

Arciviz
Advocate
Advocate

Util is good. Please provide if you have any additional document to know more.

0 Likes