Revit API How to obtain the 4*4 transformation matrix of the wall

Revit API How to obtain the 4*4 transformation matrix of the wall

Anonymous
Not applicable
990 Views
1 Reply
Message 1 of 2

Revit API How to obtain the 4*4 transformation matrix of the wall

Anonymous
Not applicable

Revit API How to obtain the 4*4 transformation matrix of the wall

0 Likes
991 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Easy: it is always the identity matrix, I think.

 

The wall location is characterised by its Location property:

 

http://www.revitapidocs.com/2018.1/89438f4f-7e15-835a-0c66-d6adbc8dd00c.htm

 

In the case of the wall, the Location property returns a LocationCurve.

 

It is defined in model space, project space, world coordinates, in place.

 

The transformation is simply identity.

 

Cheers,

 

Jeremy



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

0 Likes