Get Primary Connector from MEP Family
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm retrieving family connectors and some of their attributes using this method:
ConnectorSetIterator csi = myFamilyInstance.MEPModel.ConnectorManager.Connectors.ForwardIterator(); while (csi.MoveNext()) { Connector myConnector = csi.Current as Connector; }
I'd like to query the ConnectorElement.IsPrimary value from each connector. I can't seem to convert a Connector to a ConnectorElement to get the value.
Any help is appreciated! Thanks!
Link copied