MEPConnectorInfo has no attribute IsPrimary

When I use GetMEPConnectorInfo method on a connector and try to get the property IsPrimary or IsSecondary, I get the error

AttributeError: ‘builtin_function_or_method’ object has no attribute ‘IsPrimary’

connector.GetMEPConnectorInfo.IsPrimary

@theshysnail ,

thats horrible deep in the API.


i can`t give you a solution :wink:

# 🧪 types reflected property
connector = ConnectorManager.Connectors

OUT = connector

i come until here

It’s doable, but we’d need a data set and code smalls to help push it along.

GetMEPConnectorInfo is a method so you need the parentheses.

connector.GetMEPConnectorInfo().IsPrimary

3 Likes