hi nice meet you .
i found this forum today .
i need some help about max script.
i seen bobo’s chamfer
i modified that some
but error
can i know error ?
p = $
rollout chamferedges “My Chamfer Dialog” --define a rollout
(
spinner chamfervalue “Chamfer Value” range:[0,100,1] --the value
on chamfervalue changed val do p.edgeChamfer = val --assign spinner value to chamfer value
button tryit “Preview” across:3 --a button to start a new chamfer
button cancelit “Cancel” --a button to cancel preview
button acceptit “Accept” --a button to accept
on cancelit pressed do p.previewCancel() --cancel
on acceptit pressed do p.previewAccept() --accept
on tryit pressed do p.previewBegin #Chamfer --begin again
spinner extrudevalue “extrude Value” range:[0,100,1] --the value
on extrudevalue changed val do
(
p.faceextrude = val --assign spinner value to chamfer value
)
button tryit2 “Preview” across:3 --a button to start a new chamfer
button cancelit2 “Cancel” --a button to cancel preview
button acceptit2 “Accept” --a button to accept
on cancelit2 pressed do p.previewCancel() --cancel
on acceptit2 pressed do p.previewAccept() --accept
on tryit2 pressed do p.previewBegin #extrude --begin again
)
createDialog chamferedges 200 120