I have a custom mesh class that is working pretty well. When I create the class, I set the meshes I want to display and the object then gets added to the document. However, I would also like to control how this mesh looks (i.e. set a display material for this object, prevent the wires from being rendered, etc).
I know how to do this in the OnDraw function using a display conduit, but I want to actually change the doc object’s attributes.
Btw, modifying the custom mesh’s attributes and then adding it to the doc didn’t seem to work.