Dear Bruno,
Thank you for your query.
Please perform a search of your own before asking questions here, both for your own efficiency and the sake of others.
In this case, a search for 'revit api familyinstance connectors' or 'thebuildingcoder familyinstance connectors' will certainly provide some starting points for you:
https://duckduckgo.com/?q=revit+api+familyinstance+connectors
Obviously, you should also always search the Revit API help file.
That immediately yields the following call sequence to explore: FamilyInstance > MEPModel > ConnectorManager > Connectors.
Next, turn to the Revit SDK samples and search for something like ConnectorManager; that causes 132 hits in 8 files.
The Building Coder samples also provides a whole bunch of samples handling connectors in various ways:
https://github.com/jeremytammik/the_building_coder_samples
That should give you more than enough to get started, and hopefully answer an infinite number of similar future questions at the same time.
I hope this helps.
Best regards,
Jeremy
Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Hello, Jeremy
I did a search using the searching tool provided by the forum:
http://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&q=ConnectorManager+famil...
But after looking several posts, I was not getting anywhere. I've found several posts about connectors and connectormanager, but I couldnt find anything showing how could I get the connectormanager of a FamilyInstance.
I did not look in your stuff, however, sorry. There I've found the answer:
(https://github.com/jeremytammik/the_building_coder_samples)
Thank you for finally taking your sweet time to answer one of my questions.
Bruno.
Dear Bruno,
Thank you for your appreciation and sorry for the delay and inconvenience.
To efficiently address a Revit API question, there are indeed several levels of information that are worthwhile checking out.
I keep trying to create the ultimate complete list of them, and have not succeeded to my complete satisfaction so far.
Here is one of my recent attempts:
http://thebuildingcoder.typepad.com/blog/2016/09/trusted-signature-motivation-and-fishing.html#3
Let me expand that based on what I said above and elsewhere in the past few days:
How to Research for a Revit API Solution
After you have exhausted those options, search the Internet for 'revit api' or 'thebuildingcoder' plus the Revit API names that you are interested in.
I hope this helps.
Best regards,
Jeremy
Thank you, Jeremy!!
This will certainly help me much in the future!