Message 1 of 5

Not applicable
09-15-2019
06:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, I created a solid using the following code: SolidOptions options = new SolidOptions(material.Id, ElementId.InvalidElementId); Solid solid = GeometryCreationUtilities.CreateSweptBlendGeometry(pathCurve, pathParams, profileLoops, vertexPairs, options); If I create a DirectShape element using the solid in a project document, the DirectShape element has correct material appearance. But if I create the DirectShape element in a family document, the element just shows grey color and does not have any material appearance. I also tried creating a FreeFormElement using the solid in a family document, and got the same problem, no material appearance. I noticed in the properties browser that the material property is “By Category”. Could anyone please help me on this? How to give the element correct material appearance in the family document? Thanks,
Solved! Go to Solution.