Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 6:41 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Change colour of a Vector Clone...
PostPosted: February 6th, 2005, 4:43 pm 
Offline

Joined: December 14th, 2004, 5:08 pm
Posts: 55
Location: Holland
Opus: version 8.0
OS: XP, Vista, Windows7, Windows8
System: Intel Corei7-2600 CPU 3.400GHz
Suppose you have 5 clones from a vector object and want to change the colour of each cloned vector...
How do I change the colour of a Cloned Vector?

var clonedVector = this
var newColour = RGB(0,0,0);
clonedVector.SetFillColour(newColour);
Doesn't seem to do the job..
I think you need to select the Polygon name of the cloned vector, but I can't figger out how to do this...

Anyone have a suggestion to solve this?


Top
 Profile  
 
 Post subject:
PostPosted: February 6th, 2005, 5:47 pm 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Hi jocy

var clonedVector = this.GetFirstChild()
var newColour = RGB(0,0,0);
clonedVector.SetFillColour(newColour);

HTH
Chris

_________________
Opus Resources and Services


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 6th, 2005, 10:33 pm 
Offline

Joined: December 14th, 2004, 5:08 pm
Posts: 55
Location: Holland
Opus: version 8.0
OS: XP, Vista, Windows7, Windows8
System: Intel Corei7-2600 CPU 3.400GHz
Hi Chris,
Working here...

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group