Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
don 't laugh first scripting attempt and i need a nudge

don 't laugh first scripting attempt and i need a nudge

2005-01-03       - By Bob Cobb

 Back
Reply:     1     2     3     4     5     6     7     8  

Ok i have put this off forever. Getting involved in scripting. I know it is
powerful just haven't really gotten around to it and I now have th perfect
oppurtunity to do some basic stuff. What I am trying to do is create a
script that selects the polys of an object one at a time and then extracts
it to a poly mesh without deleting the generator. Using another script as a
reference and splicing in the command for doing that procedure I came up
with this. It doesn't seem to like the argument for the poly extract op. I
was trying to use the polys number to name the polymesh that is created. I'm
sure I am doing something really stupid but any nudge would be greatly
appreciated.

Here is the script that I have.

for each myObj in Selection

  Set myPolys = myObj.ActivePrimitive.Geometry.Polygons
 
  nPolys = myPolys.Count
 
  for i = 0 to nPolys - 1

  ExtractFromComponents "ExtractPolygonsOp", "polymsh_extracted5.poly[]",
"polymsh_extracted", , siPersistentOperation, siKeepGenOpInputs
SelectFilter "object"

  next
next
---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi