FaceWall object's Location is not LocationCurve or LocationPoint

FaceWall object's Location is not LocationCurve or LocationPoint

Anonymous
Not applicable
405 Views
3 Replies
Message 1 of 4

FaceWall object's Location is not LocationCurve or LocationPoint

Anonymous
Not applicable

Hello experts,

 

When I try to cast Revit element 'FaceWall' object's  'Location' to 'LocationPoint' or 'LocationCurve' class then it 'null'.. What can be the reason ?

 

Can expert please guide me ?

 

Thanks in advance..

 

0 Likes
406 Views
3 Replies
Replies (3)
Message 2 of 4

RPTHOMAS108
Mentor
Mentor

There is only LocationCurve or LocationPoint or Nothing i.e. no location.

 

In some instances the Wall by face will still have a LocationCurve (depends on form of host face).

 

 

0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks a lot for your reply @RPTHOMAS108 

The 'facewall' is placed in the project and I would like to get it's location in the view. If it is returning me 'null' then how to determine 'facewall's XYZ coordinates ?

 

Can you please guide. thanks in advance.

 

Best regards,

0 Likes
Message 4 of 4

RPTHOMAS108
Mentor
Mentor

For a wall such as below you'll probably have to look at the face geometry and get the edges.

 

Explore your options with RevitLookup.

 

211222.PNG

0 Likes