Notifications
Clear all

[Closed] Extending the hose primitive

I’m trying to extend the hose primitive, but it seems to be refusing.
I tested the same code to extend the Box primitive, and it seems to work just fine. Am I doing something wrong, or is this a bug?

Here’s my code:


plugin geometry HoseExt
	name:"HoseExt"
	classID:#(0x319df322, 0x6ec04dc5)
	category:"Scripted Primitives"
	extends:Hose
	replaceUI:true
	
(
	parameters main rollout:params
	(
	)

	rollout params "Muscle Parameters"
	(
		group "Bind Objects"
		(
			Checkbox bind "Smooth" checked:true
		)
	)

    on create do
    (
    )
	
)

If I change “extends:Hose” to “extends:Box” it works just fine.

Also, is there anyway to specify the hose’s binding objects in Maxscript. It seems that is thats the only variable not covered in the documentation, and it just happens to be the one I need…

~Mike D.
Grrrr! Arghhhh!