Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Xgen accessing index of archive files?

Xgen accessing index of archive files?

Anonymous
Not applicable
690 Views
1 Reply
Message 1 of 2

Xgen accessing index of archive files?

Anonymous
Not applicable

Hi

 

I'm working with xgen in order to create some environments, which is going great so far.

I've been trying to access specific archive files in xgen in order to scale certain items differently than other xgen archive primatives.

 

Does anyone have a syntax for this?

 

ie: Archive files: 0 is rocks, 1 is trees, 2 is grasses. I want to be able to scale the length of all grass without changing the rocks and trees.

 

(something like:)

 

for index != 2{    

$a=map('${DESC}/paintmaps/length');#3dpaint,5.0}

#index 2 is grasses

for index == 2{    

$a=2.0

$a

 

Thanks

 

0 Likes
Accepted solutions (1)
691 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution
0 Likes