Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get the transfrom of wall?

2 REPLIES 2
Reply
Message 1 of 3
164306148
227 Views, 2 Replies

How to get the transfrom of wall?

I try to get the transfrom of a wall.

I can get transfrom of a door by  converting  to GeometryInstance, and then geomInstance.Transform property can offer the transfrom.

But when I convert a wall to GeometryInstance, it is null.

Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3
jeremy_tammik
in reply to: 164306148

The door is a family instance, so the family symbol definition needs to be transformed into the instance placement.

 

The wall is built in place, so to speak, so it has no such transform.

 

All it has is its location defining its start and end point.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3
164306148
in reply to: jeremy_tammik

Thank you very much for your reply.

Maybe I can use something such as location to calculate transfrom of a wall.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report