Hi there, i am a noob at maxscript, so hopefully someone can help me with my problem.
I am trying to assign materialID to a selection af segments, and this is where i am so fare:
on spn_segmentsId entered do -- set the material ID for the selected segment
(
num=spn_segmentsId.value
for i=1 to (numSplines $) do (
for j=1 to (numSegments $ i) do (
?- NEED TO TEST IF THE SEGMENT IS SELECTED -? setMaterialID $ i j num
)
)
updateShape $
)
Pleace help me am i on the right track, i cant seem to find any method for checking for selected segments.
Best regards
David
barigazy · 2015-06-12