Multiple Materials using AcGiWorldDraw::shell command

Multiple Materials using AcGiWorldDraw::shell command

Anonymous
Not applicable
885 Views
2 Replies
Message 1 of 3

Multiple Materials using AcGiWorldDraw::shell command

Anonymous
Not applicable

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

0 Likes
886 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

... of course (again) I meant AcGiWorldGeometry::shell Smiley Frustrated

0 Likes
Message 3 of 3

tbrammer
Advisor
Advisor

Can you post a small sample project with the code your are using?


Thomas Brammer ● Software Developer ● imos AG ● LinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes