Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 1st, 2024, 8:19 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Get the name of a polygon
PostPosted: August 16th, 2005, 7:04 am 
Offline

Joined: November 5th, 2004, 6:54 am
Posts: 130
Location: Hengelo, The Netherlands
Opus: 8.5/9.0
OS: Windows 7 64-bits, Android 2.1, Android 4.1.2, iOS 7
System: Pentium 7i, 6GB RAM, 750GB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses
For a drawing project I want to retrieve the name of a polygon in a vector object by clicking on the polygon that's with more polygons in a vector object.

Is this possible?

_________________
Oscar Nijst
ON Education & Consultancy
Hengelo, The Netherlands
OPUS Pro 9.5
Pentium 7i, 16GB RAM, 1 TB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses


For this message osni has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 1st, 2005, 4:45 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Individual polygons within a vector cannot have actions assigned to them. The best way I can think of to achieve this would be to copy the relevant polygons into their own vectors (without moving them) so they look the same but are in fact separate objects. You could keep all the parts inside a frame so you can still manipulate them as a unit.

_________________
ddww Opus Developer


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 1st, 2005, 11:21 pm 
Offline

Joined: October 26th, 2004, 1:26 pm
Posts: 262
Hello Oscar,

After reading your post, I'm taking a hunch in perhaps you meant: "clicking on the vector that has the more polygons" :?: If this was the case then try adding a script action to the vector object...

<My_variable> = this.GetName()
// retrieves the object name and stores it into a variable


If you did not mean this, then ignore this message, and take Duncan's good advice! :D

_________________
Cheers,
Steve


For this message Steve H has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Get the name of a polygon
PostPosted: September 2nd, 2005, 11:33 am 
Offline

Joined: November 5th, 2004, 6:54 am
Posts: 130
Location: Hengelo, The Netherlands
Opus: 8.5/9.0
OS: Windows 7 64-bits, Android 2.1, Android 4.1.2, iOS 7
System: Pentium 7i, 6GB RAM, 750GB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses
Hello Steve and Duncan,

Thanks for your help so far.
Unfortunately I already have tried what you both suggested.

I hoped I could use this for polygons within a vector because I build a drawing application where you can import your own wmf-files.
In one wmf-file are a lot of polygons and I want to be able to trace them separate. So if it was possible to trace what the child number of a polygon is within a vector then it's possible to use the action on the vector to change the line and fill colors of the polygon without using separate vector objects.

Best regards,

_________________
Oscar Nijst
ON Education & Consultancy
Hengelo, The Netherlands
OPUS Pro 9.5
Pentium 7i, 16GB RAM, 1 TB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses


For this message osni has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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