Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 5:36 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Object Index
PostPosted: August 10th, 2006, 10:10 am 
Offline

Joined: March 19th, 2006, 9:17 pm
Posts: 8
Hello,

a dublicate object automatically gets an index.

"Text 1(2)"

How can these objects be demanded in script?

"Text_1 ??????"

please help a new opus user


archipartner


Top
 Profile  
 
 Post subject:
PostPosted: August 10th, 2006, 10:41 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
If you are using scripting it is best to turn on the option to force object names to be script compatible (Tools -> Options -> General -> More)

Also, renaming objects to descriptive titles (using the QuickBuild Rename options for multiple objects) will make your life much easier - remembering Text_1_4_ is the item you want is harder than UserNameText (for example).

Anyway, to answer the question, in the script replace all invalid characters (i.e. space, brackets etc) with underscores. So in your case: Text_1_2_

_________________
ddww Opus Developer


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

All times are UTC [ DST ]


Who is online

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