scripting : duplicate polygons

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  09 September 2002
scripting : duplicate polygons


I have a series of operations on a selected poly (duplicate, translate, duplicate, scale, etc.).
I was trying to make a script that I could reuse. The problem is that the script makes reference to the actual selected poly "poly[123]". How can I modify that script to work with the current selection?
In the script window I saw a poly[LAST]. I tried to use that like poly[LAST + 1]. The SRT commands work but the duplicate functions don't.

Any help appreciated.
  09 September 2002

no object name is mean "current selection" name, for example:
AddProp "GeomApprox"
SetValue ".geomapprox.gapproxmosl", 1
__________________ many 86400 sec I can reach there...

Last edited by ELEVENSTEP : 09 September 2002 at 08:41 AM.
  09 September 2002
You can not do this using command,the only way to do that is using the XSI's Object Model. Only Object Model can operate the components
Welcome to ChinaVFX
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:56 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.