Get all reference planes(only with name) from FamilyInstance

Get all reference planes(only with name) from FamilyInstance

sonicer
Collaborator Collaborator
2,494 Views
3 Replies
Message 1 of 4

Get all reference planes(only with name) from FamilyInstance

sonicer
Collaborator
Collaborator

Is it possible get all reference planes(only with name) from FamilyInstance?

 

thx.

0 Likes
2,495 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

Please refer to the family instance documentation:

  

https://www.revitapidocs.com/2021.1/a8a7dc74-db8e-a7b6-a9c8-869397cca6b4.htm

  

"The GetReferences method returns the family instance references corresponding to the reference planes or reference lines of the given reference type in the instance's family."

 

Please always check the documentation before asking.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

sonicer
Collaborator
Collaborator

Thanks....but It's only get all references by type. From this references you can't get Name of reference plane

I have found solution with EditFamily and then get all referenceplanes.

 

or is there a way get Name of Reference plane from reference array in dimension?

 

 

0 Likes
Message 4 of 4

arpankumar.macwan
Enthusiast
Enthusiast

hi @sonicer ,

did you find any solution for this?

0 Likes