Anim8or Community

General Category => ASL Scripts => Topic started by: neirao on April 17, 2018, 01:33:34 pm

Title: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: neirao on April 17, 2018, 01:33:34 pm
Can someone create this script :'( ?
Thanks Advance! :)
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: neirao on April 18, 2018, 09:47:07 pm

Hi Guys,
im try do this script... my first code select the objects with 'SHAPE_KIND_SUBDIVISION'
but how i can access and change the 'Working' and 'Final' value???

 :'(  ???

here .a8s CODE on Paste Bin:
https://pastebin.com/eBkf8tG7
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: neirao on April 19, 2018, 02:26:56 pm
Someone know how?? in 'ASL Specification' not show it... :'( :'(
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: AlecJames on April 19, 2018, 03:27:04 pm
I searched the asl spec like you and didn't find it.  It says struct shape can contains a mesh or subdivision shape; the mesh struct is described but I don't see a subdivision struct.  So my guess is that a subdivision cannot be manipulated in asl.

Maybe Steve can confirm one way or the other when he sees this thread.
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: neirao on April 20, 2018, 09:54:01 am
Hi @AlecJames

yes, i search and nothing :'( ... i say to Steve maybe he solved this :)

Thanks! :)
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: Steve on April 20, 2018, 11:17:15 am
You only can access the mesh. It is subdivided automatically before it is shown.
Title: Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
Post by: neirao on April 20, 2018, 11:31:13 am
Hi Steve,

but if Anim8or has the 'Subdivision Editor Menu' is possible do this function for works with 'Multiples Selecteds Objects'?
Like my first image sample?

I think is very usefull, because Anim8or already works for:
-Converter Multiples Meshes to Subdivisions and Multilpes Subdivisions to Meshes...

Thanks!