CGTalk > Software Specific Forums > Autodesk 3ds max > 3dsMax SDK and MaxScript
To minimize the ads you see on this page create a CGTalk account and log in HERE
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 11-23-2010, 03:53 PM   #1
Dave_Hingley
Frequenter
 
Join Date: Jan 2005
Posts: 164
Xref Objects controller

Is it possible to get all the xref ojects controllers in a xref objects record? I need to be able to get them as a list and merge in specific ones.
 
Old 11-23-2010, 05:23 PM   #2
PiXeL_MoNKeY
Expert
 
PiXeL_MoNKeY's Avatar
Eric Craft
Dallas, USA
 
Join Date: Mar 2002
Posts: 5,630
You would probably need to get all class instances of the xref_controller class, test against your desired srcfilename, and then build your UI. Something like this:
Code:
xrefFile = --place xref record path here xrefCont = getClassInstances xref_controller getSrc = for cnt in 1 to xrefCont.count where xrefCont[cnt].srcFileName == xrefFile collect xrefCont[cnt]
-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 11-23-2010, 05:23 PM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:05 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.