Select editable spline sub-objects

Hi everyone I'm looking for some script or plugin which can be able to select every n- splinet sub object level in editable spline, something like this one http://www.scriptspot.com/3ds-max/scripts/spline-toolbox?page=1 but this script doesn't work with sub-object spline
Thanks for Help

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rode3d's picture

Advanced spline sub-object manager

Here's a great plugin for managing subobject selections and material IDs for editable splines.

SubSpline: http://www.splinedynamics.com/subspline/

Haider of Sweden's picture

.

If I understood it right, I add a Edit Spline modifier, enter desired sub-object mode and then press the select button in the dialog.

If so - nothing happens. How comes?

Kind regards
Haider
www.haider.se

miauu's picture

.

(
	global rol_selEveryNthSubSpline
	try(destroyDialog rol_selEveryNthSubSpline)catch()
	rollout rol_selEveryNthSubSpline "Select N-th Sub-Spline"
	(
		spinner spn_Nth "N-th" range:[1,1000000,2] type:#integer
		button btn_select "SELECT" width:140
 
		on btn_select pressed do
		(
			if selection.count == 1 do
			(
				curO = selection[1]
				if classOf curO == SplineShape or classOf curO == Line do
				(
					subSplCnt = numSplines curO
					if subSplCnt > 1 do
					(
						subSplArr = #()
						for i = 1 to subSplCnt by spn_Nth.value do append subSplArr i
						setSplineSelection curO subSplArr keep:false
					)
				)
			)			
		)
	)
	createdialog rol_selEveryNthSubSpline 
)
TrK's picture

Thank a lot for your help)

Thank a lot for your help)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.