Donate Now Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

Results 1 to 4 of 4

Thread: access Appearance properties of materials

  1. #1
    Junior Member
    Join Date
    May 5, 2013
    Posts
    19
    Current Local Time
    02:46 PM

    Red face access Appearance properties of materials

    My purpose is to access the all material properties, in all tab (e.g., graphic, appearance, thermal, physics)

    From the material class, to access appearance properites, I use the following code:

    Document doc = m_material.Document;
    AppearanceAssetElement aae = doc.GetElement(m_material.AppearanceAssetId) as AppearanceAssetElement;


    However, how can I get the appearance properties, the AppearanceAssetElement does not have properties for such as "tint" "cutout"

    How can I get accesss all the properties of materials through API?

    access Appearance properties of materials-2014-05-01_165646.jpg

  2. #2
    Forum Addict GMcDowellJr's Avatar
    Join Date
    December 21, 2010
    Location
    Phoenix, AZ
    Posts
    2,635
    Current Local Time
    12:46 PM
    Last I checked you could not get to the Appearance Assets through the API.

  3. #3
    Junior Member
    Join Date
    May 5, 2013
    Posts
    19
    Current Local Time
    02:46 PM
    How about the "physical"? I do not see any class for this, but I do see class for thermal asset...

  4. #4
    Forum Addict GMcDowellJr's Avatar
    Join Date
    December 21, 2010
    Location
    Phoenix, AZ
    Posts
    2,635
    Current Local Time
    12:46 PM
    I have never needed to deal with the Physical Assets but I think, in my search for the Appearance Asset hooks, I saw other dealing with those assets so I think you can.

Similar Threads

  1. X-2x family (to divide room x-access y-access )
    By veeranna.guggari13 in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: November 8th, 2013, 12:19 PM
  2. Two Materials different Heights appearance of same Layer on one wall
    By pplusd mikef in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: April 18th, 2013, 09:44 PM
  3. Replies: 0
    Last Post: September 30th, 2012, 03:45 AM
  4. Materials and Render Properties
    By Steve Faust in forum Third party Add-Ins, API and R&D
    Replies: 3
    Last Post: April 17th, 2012, 09:53 PM
  5. PLEASE HELP ! Can't see my appearance properties
    By aaronlo11 in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: September 1st, 2011, 03:53 AM

Tags for this Thread

Posting Permissions

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