Notifications
Clear all
[Closed] addModifier question
Jan 03, 2007 11:49 am
I have a linewith sweep modifier, when trying to add normalize spline mod before sweep (addModifier myLine myNmlSpl before:1) I get a message that my mod is invalid.
It is valid and gets easily applied when using modPanel interface.
The thing is I don’t want to use modPanel. Is there any way to apply the “invalid” modifier other than sequentially one after another (line>normalize spline>sweep)?
2 Replies
Jan 03, 2007 11:49 am
The sweep modifier converts the line into a mesh, hence the message that the mod is invalid.
You could simply disable this modifier before adding normalize_Spl, and then again enable it.
myLine.modifiers[1].enabled = false
addModifier myLine myNmlSpl before:1
myLine.modifiers[1].enabled = true