Material CutPatternColor

Material CutPatternColor

plaiknst
Participant Participant
738 Views
3 Replies
Message 1 of 4

Material CutPatternColor

plaiknst
Participant
Participant

I'm changing the cutpatterncolor programmatically.

In the material-browser will display correctly; in the view it is displayed incorrectly!

I have regenerate also the document, but nothing changed.

 

0 Likes
739 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I am guessing, but did you try this:

 

UIDocument uidoc = uiapp.ActiveUIDocument;
uidoc.RefreshActiveView();

Hopefully it works.

 

regards

Christian

0 Likes
Message 3 of 4

plaiknst
Participant
Participant

Thanks but nothing changes

0 Likes
Message 4 of 4

Anonymous
Not applicable

How do you get the CutPatternColor even to change?

 

Something like this?

 

mat1.CutPatternColor = m1.CutPatternColor;

 

Doesn't work for me.

 

regards

Christian

0 Likes