Family Instance Reference to reference planes and reference lines

Family Instance Reference to reference planes and reference lines

Anonymous
Not applicable
777 Views
1 Reply
Message 1 of 2

Family Instance Reference to reference planes and reference lines

Anonymous
Not applicable

Hi,

 

just installed the new pre release for Revit and there is ONE change in the API. One. But one I was waiting for a long time to happen.

2-21-2017 4-11-06 PM.png

 

 

 

 

 

 

 

 

 

 

 

So I had to find out if that actually works and it does. If you added a family instance to your current document you can get a reference to the family and create a dimension or alignment. Very nice. Thanks guys.

 

IList<Reference> rr = f.GetReferences(FamilyInstanceReferenceType.WeakReference);
Dimension d1 = famdoc.FamilyCreate.NewAlignment(v, rr[index], p.GetReference());

 

regards

Christian

 

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

Anonymous
Not applicable

What is the pre release? Is that for 2018? Do you have a link to where you took that screenshot?

0 Likes