Hello Frank, So what your saying is just copy from where I start the
specific modelling task to the "start -> end" from the script editor.
Select the other polygon and run that same commands, either by making
this a script or just by copy and pasting. I will try this, if I am
somewhat getting it.
Christopher
Saturday, May 6, 2006, 2:14:58 PM, you wrote:
> ok, this is my first "script" in xsi. i just took your question to
> force myself to figure it out.
> first you have to switch on the command logging in the script editor.
> so you can see what commands you are going to apply to your polygons.
> after the log is switche don, perform your taks once and you see the
> commands as you executed them.
> just copy these lines out of the log window and use it as the core of
> your script.
> the problem is that these operators dont work on the current selected
> polygon, but on the last one (components like points/polygons are
> numered throught on each object).
> with these lines you can make it work on the selected polygon:
> Set curSelection = GetValue("SelectionList")
> ApplyTopoOp "ExtrudeComponentAxis", curSelection, siUnspecified, siPersistentOperation
> if you wanna pass special arguments to the extrude read it up in the
> sdk docs.
> i'm sure this is the most crude way to do it ;)
> ciao
> franky
> Saturday, May 6, 2006, 6:03:14 PM, you wrote:
ka>> Read the manuals regarding history and scripting.
>>> -----Original Message-----
>>> From: owner-xsi(at)Softimage.COM
>>> [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Chris
>>> Sent: 06-May-2006 14:56
>>> To: Raffaele Fragapane
>>> Subject: Re[2]: Automate a modelling task
>>>
>>> Hello Raffaele, what i mean by automate. Is this say you
>>> have to extrude a polygon, bevel it, move it a little on the
>>> Y-axis. Now I want to automate this so I can apply it to any
>>> polygon I select?
>>>
>>> Christopher
>>>
>>>
>>> Saturday, May 6, 2006, 3:01:24 AM, you wrote:
>>>
>>> > "a modelling task" is a bit generic.
>>> > what is it you want to automate exactly?
>>>
>>> > the general answer is "yes, anything can be automated given enough
>>> > time and a smart user", it's called programming, and it goes from
>>> > trivial copyNpaste of commands to writing your own 3D
>>> application. A
>>> > more precise answer to YOUR question would probably be 42.
>>>
>>> > ******************************
>>> > | Raffaele Fragapane |
>>> > | Rising Sun Pictures |
>>> > | "Remember, TD is for TopDog" |
>>> > ******************************
>>>
>>>
>>>
>>> > Chris wrote:
>>>
>>> >>Hello, I have a repetitive modelling task I have to do on a
>>> model. Is
>>> >>there a way I could just select the polygon and run like a action
>>> >>script or something on other polygons to get it identical?
>>> >>
>>> >>Christopher
>>> >>
>>> >>
>>> >>---
>>> >>Unsubscribe? Mail Majordomo(at)Softimage.COM with the
>>> following text in body:
>>> >>unsubscribe xsi
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> > ---
>>> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the
>>> following text in body:
>>> > unsubscribe xsi
>>>
>>>
>>> --
>>> Best regards,
>>> Chris mailto:walksfar(at)netscape.ca
>>>
>>> ---
>>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following
>>> text in body:
>>> unsubscribe xsi
>>>
ka>> ---
ka>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
ka>> unsubscribe xsi
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
--
Best regards,
Chris mailto:walksfar(at)netscape.ca
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi