Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS  (Read 15588 times)

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« on: April 17, 2018, 01:33:34 pm »

Can someone create this script :'( ?
Thanks Advance! :)
« Last Edit: April 17, 2018, 02:19:00 pm by neirao »
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #1 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
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #2 on: April 19, 2018, 02:26:56 pm »

Someone know how?? in 'ASL Specification' not show it... :'( :'(
Logged

AlecJames

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #3 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.
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #4 on: April 20, 2018, 09:54:01 am »

Hi @AlecJames

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

Thanks! :)
« Last Edit: April 20, 2018, 10:25:12 am by neirao »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #5 on: April 20, 2018, 11:17:15 am »

You only can access the mesh. It is subdivided automatically before it is shown.
Logged

neirao

  • Sr. Member
  • ****
  • Posts: 624
  • Neirao
    • View Profile
Re: Script Request: UNSUBDIVISION value of the MULTIPLE OBJECTS
« Reply #6 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!
« Last Edit: April 21, 2018, 07:53:58 am by neirao »
Logged