Results 1 to 3 of 3

Thread: Color out an Duct

  1. #1
    Junior Member
    Join Date
    May 23, 2018
    Posts
    20
    Current Local Time
    05:19 AM

    Color out an Duct

    Hello everyone,
    Can some bodyme help met an problem
    è How can I recuperate color out anduct of mechanical accessory.

    (sorry for my English )

  2. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,381
    Current Local Time
    05:19 AM
    A) Meer dan een systeem aansluiten, bij voorbeeld Lucht en CV op naverwarmer
    B) Met een Filter. Maak een regel die altijd waar is, bij voorbeeld Category = Duct Accessory

    Succes!

  3. #3
    Junior Member
    Join Date
    May 23, 2018
    Posts
    20
    Current Local Time
    05:19 AM
    Ik heb het misschien slecht uitgelegde, wat ik wil is van een geselecteerd object de kleur uithalen ?

    Voor de kleur te veranderen doe ik dat:

    Dim MyElement As ElementId = Sel.PickObject(ObjectType.Element, "Select an element").ElementId
    Dim MySeting As OverrideGraphicSettings = New OverrideGraphicSettings
    MySeting.SetProjectionLineColor(New Color(0, 255, 0))
    Dim Trans As Transaction = New Transaction(Doc, "ChangeColor")
    Trans.Start()
    Doc.ActiveView.SetElementOverrides(MyElement, MySeting)
    Dim MyObject As Category = Doc.Settings.Categories.Item("Duct")
    Trans.Start()
    Doc.ActiveView.SetCategoryOverrides(MyObject.Id, MySeting)
    Trans.Commit()

    Maar voor de kleur uithalen van de geselecteerd Element hoe doe ik dat ?
    Last edited by Lisp01; December 1st, 2018 at 08:25 AM.

Similar Threads

  1. why shading material color gets overridden by surface color
    By brankulo in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: April 25th, 2018, 12:20 AM
  2. Spigot - flexible duct to connect into a rigid rectangular duct
    By wongk2 in forum MEP - Family Creation
    Replies: 3
    Last Post: September 6th, 2016, 06:16 PM
  3. Displaying of duct connected to the duct fitting branch 45°
    By MiaEliska in forum MEP - Family Creation
    Replies: 0
    Last Post: February 22nd, 2016, 09:19 AM
  4. Duct System Type Material / Color
    By hampus.jorgensen in forum MEP - General
    Replies: 3
    Last Post: November 11th, 2014, 01:42 PM
  5. Replies: 6
    Last Post: November 15th, 2013, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •