Message 1 of 10
iterate through objects

Not applicable
09-17-2012
02:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to create a simple script that iterates through objects and increments a property according to object name suffix (01,02,03,04,05 etc)
01 - leave property as is
02 - multiply by 2
05 - multiply by 5 etc
for i = 1 to selection.count do
(
selection.property = i*5
)
Thanks in advance.
I'm trying to create a simple script that iterates through objects and increments a property according to object name suffix (01,02,03,04,05 etc)
01 - leave property as is
02 - multiply by 2
05 - multiply by 5 etc
for i = 1 to selection.count do
(
selection.property = i*5
)
Thanks in advance.