CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 11-23-2010, 03:53 PM   #1
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's Avatar
Eric Craft
Dallas, USA
Join Date: Mar 2002
Posts: 5,718
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:
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]
"The Evil Monkey hiding in your closet."
Old 11-23-2010, 05:23 PM   #3
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
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
Society of Digital Artists

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

All times are GMT. The time now is 08:16 AM.

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