Announcement

Collapse
No announcement yet.

TM_ADDBY_MULTICATEGORY (Eng)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TM_ADDBY_MULTICATEGORY (Eng)


    ''I would Like to insert a multicategory-Tags

    Dim PickedObject As Reference
    PickedObject = commandData.Application.ActiveUIDocument.Selection .PickObject(ObjectType.Element, "Select un Silencieux rectangulaire")
    Mytechniek = commandData.Application.ActiveUIDocument.Document. GetElement(PickedObject )
    ''Normally I do this for an normaly tag->
    Dim MonCanal As Duct = CType(Doc.GetElement(PickedObject), Duct)
    ''But for the accessories in the ventilation Duct I'm doing this ->
    Dim MesAccessoires As MechanicalEquipment = commandData.Application.ActiveUIDocument.Document. GetElement(PickedObject), MechanicalEquipment)
    ''And he blocked

    ''Can someone help me (thanks)

    #2
    If it is anything like Pipe Accessories, you may have to create your own tag and assign it to tag Mechanical Equipment or ventilation accessories. Search "create a tag" on google or hear for help on that.

    Comment

    Related Topics

    Collapse

    Working...
    X