Break all spline knots

Hi Guys,

What I'm looking to do seems like it should be very straight forward but having done multiple searches over the last week I cannot seem to find an answer.

In short all I'm trying to do is break all thespline knots of a selected spline. This would be for an Editable spline modifier.

Basically create a circle spline, add an editable spline modifier, select all knots, break knots, exit subobject mode.

Any help would be most appreciated.

Thanks

Comments

Comment viewing options

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

 

(
	local splitter = Edit_Spline name:"Split Knots"
	addModifier $ splitter
	setCommandPanelTaskMode #modify
	modPanel.setCurrentObject splitter
	subObjectLevel = 1
 
	max select all
	splineOps.startBreak splitter
	windows.processPostedMessages()
 
	max select
	subObjectLevel = 0
)
ce89's picture

Swordplay, thank you so much

Swordslayer, thank you so much that worked perfectly! I would never have worked that out, much appreciated!

ce89's picture

Apologies for the multiple

Apologies for the multiple posts. It was hanging so I hit Save a few times. Please delete repeats.

Comment viewing options

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