Canalblog
Editer l'article Suivre ce blog Administration + Créer mon blog
Publicité
acasao
16 août 2011

Modifying Cable Tray Form

Query: I'm able to with success duplicate valves manufacturers family members kinds by way of the Revit API. I wish to use that function to duplicate an current cable tray household sort and then alter the shape of a provided cable tray towards the new type. Thus far, I are yet to been ready to find any API approaches to obtain this. Could it be achievable? If that's the case, how, make sure you? Response: There is absolutely nothing unique whatsoever about changing the cable tray type from channel to ladder. In truth, the technique to use is absolutely generic and may be employed to alter the form of nearly any Revit aspect from its existing factor sort to any other suitable type. I previously provided a fairly generic answer to alter the aspect kind. Remember to be aware that you can often achieve lots of potent features by means of the Revit API just making use of fairly generic and standard component and parameter access. Nonetheless, here is actually a dedicated code snippet which selects the cable trays in a presented design and adjustments their type from Channel to Ladder. You can operate this code in any design having a channel shaped cable tray and a cable tray sort named "Ladder Cable Tray" loaded.

Publicité
Publicité
Commentaires
acasao
Publicité
Publicité