Tagged 'General Scripting'

Removes 2 verticles splines from the multuiple EditableSpline objects

here is have script which do the job to remove 2-vertices splines from the Editable Spline objects, however I'm failed to make it work on multiple EditableSpline objects selected please help
<code>
fn deleteSplinesWithTwoVerts obj =

(

    if classof obj == Editable_Spline or isKindOf obj SplineShape then 

    (

        subObjectLevel = 1 -- switch to spline sub-object level

        

How to delete all Helpers with no Children?

Could anyone please help me delete all Point Helper objects in the scene that have no linked objects (Children)? Your assistance would be greatly appreciated. Thank you!

close, delete

close - delete

sorry for multiple posts ... my internet was lagging

close - delete

close - delete

sorry for multiple posts ... my internet was lagging

MaxScript for Unwrap UVW

Hello everyone,

I am trying to automate my UV Unwrapping - but the script is not working properly.

Background:

I have several Objects with the exact same mesh - but after manipulating these models (scaling) I want to automate the pelt-mapping of the uvs.

Since all object have a copy of the same mesh, I simply tried to apply the "edit seams" of my pelt mapping and perform a "quick-peel", but the first step "applying edit seams" does not work.

Here is what I do:

for i in selection do (
--enter Unwrap modifier
i.modifiers[#Unwrap_UVW]

-- faces subobjectLevel

Select only vertical faces of the EditableMesh object

Is there any solution to select vertical faces of the Editable Mesh object?

ELEMENT WITH HIGHEST POLYGONS NUMBER COUNT IN ONE OBJECT

Hello guys,
It has been a while since I start looking for this solution, but nothing.

I need to find and select the element with the highest poly number count in one object. There is no poly count target number, it is totally aleatory.

Another approach would be detaching the elements into objects and find the object with the highest poly number count in this object array selection.

Make referenced objects unique?

I’m having trouble with something I figured would be trivial to achieve with the built-in functions.

I have a bunch of reference objects, which I would like to turn unique, without affecting the modifiers on top.

But for some reason I can’t get InstanceMgr.MakeObjectsUnique function to work. It works fine on instances, but not on references.
The InstanceMgr.CanMakeObjectsUnique also returns false, whenever I try it on a reference.

How to stop maxscript dialogue box from opening at start-up

Hello gentlemen,

I have a hard time with my 3ds Max 2009 every time I open the software it always starts with the maxscript dialogue box open. I would like to know if there is a way to start the 3ds max without the maxscript dialogue box open.

I have tried to uncheck the load startup scripts under MAXscrips but didn't work.

Please any help solving this little thing with be appreciated.

Thanks,

Named Selection Set by object or Layer by object

Hello guys !

do you know how can i make selection set by object automatically ?
Like i'm select 20 object, and it copy each name, and create a namedselectionset for each object ?

And the same trick but layer as namedselectionset ?

Syndicate content