Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66672

Re: Use NewCrossFitting() to connect four pipes which in different types,the new family instance of a cross fitting belong to which familySymbol?

$
0
0

1- let the user select the pipe whose the desired cross family type is defined in its routing preferences prior to hitting the tool button. 

2- extract the desired cross family type. 

3- do the NewCrossFitting()

4- use FamilyInstance.ChangeTypeId(desiredFamilyType.Id) method to change the created cross to the desired cross family. 

 

Hope this helps!


Viewing all articles
Browse latest Browse all 66672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>