Originally Posted by
truevis
Does post-Accurender Revit still add material definitions in extended entity data in its DWG exports? ...(If I find it, I'll report back.)
Yes, material information gets exported in DXF (and presumably DWG). It's in Xdata. Here is a snippet:
Code:
300
<Material id="RevitMaterialDefinition1000" app="REVIT" Background="0" Backlight="1" Sample="0" Tiling="0">^J<LinearUnits unitType="foot" unitScale="1.0"/>^J<ArchitecturalMaterial name="Concrete - Cast-in-Place Lightweight Concrete">^J<ArchTemplateParameters
300
name="Concrete - Cast-in-Place Lightweight Concrete" classid_A="2008828122" classid_B="14503598">^J</ArchTemplateParameters>^J<ArchMatParameters>^J<ArchDiffuseColor>^J<RGBf r="0.7451" g="0.7451" b="0.7451"/>^J</ArchDiffuseColor>^J<ArchIndexOfRefraction>2.0000</
300
ArchIndexOfRefraction>^J<ArchTransparency>0.0000</ArchTransparency>^J<ArchLuminance>0.0000</ArchLuminance>^J</ArchMatParameters>^J</ArchitecturalMaterial>^J</Material>^J
Thus, the data are there for someone to translate when importing into another rendering system via DWG/DXF.
Going through every element and changing its Layer to ArchitecturalMaterial name from its Xdata wouldn't be too hard in AutoLISP.