CGTalk > Software Specific Forums > 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 04-12-2012, 06:07 AM   #1
ektho
Veteran
 
ektho's Avatar
portfolio
Marco Soresina
Brescia-Milano, Italy
 
Join Date: Nov 2004
Posts: 47
Attribute holder dependency loop problem

I have a problem with Attribute holder, I'm trying to store a parameter "node" the object that the modifier Attribute holder, but it gives me a dependency problem, why?
What is the right way?

Code:
ca = attributes MainTank attribID:#(102999653, 254224688) ( parameters Main rollout:RolloutMainTank ( MyObj type:#node ) rollout RolloutMainTank "Tank Control Panel" ( ) ) custAttributes.add $.modifiers[1] ca $.modifiers[1].MainTank.MyObj = $


-- Error occurred in anonymous codeblock; filename: AH_Main_12.ms; position: 278; line: 16
-- Runtime error: Assignment failed, possible dependency loop, $Editable_Mesh:Sphere001 @ [-2418.831543,271.231934,0.000000]

Thanks!
 
Old 04-12-2012, 09:30 AM   #2
MrPingouin
Veteran
 
MrPingouin's Avatar
Laurent Chea
Paris, France
 
Join Date: Aug 2005
Posts: 65
Yeah, it's the same thing with scripted extended modifiers.
I remember using something like this in one of my projects, try searching more informations about the nodeTransformMonitor, it might help.

Note that it was on a scripted modifier extending the PointCache one.
Code:
on attachedToNode obj do ( this._node = nodeTransformMonitor node:obj forwardTransformChangeMsgs:false )
 
Old 04-12-2012, 09:30 AM   #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 05:35 AM.


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