Message 1 of 3
Multiple Materials using AcGiWorldDraw::shell command
Not applicable
08-28-2018
12:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am able to map materials to geometry using AcGiWorldDraw::shell command by specifying per-vertex mapping coordinates in the AcGiVertexData object. I would like to define multiple materials for one object, ideally in one shell call.
The shell-command allows to specify an object of type AcGiFaceData that contains a method called setMaterials to allow material overrides per face (by specification of an AcDbObjectId of the material per face). It seems, however, that they are ignored, i.e. they have no effect. Is there anything else to take care of in order to get them working?
Thanks in advance
Joachim