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 04-12-2012, 06:07 AM   #1
ektho's Avatar
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?

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:; position: 278; line: 16
-- Runtime error: Assignment failed, possible dependency loop, $Editable_Mesh:Sphere001 @ [-2418.831543,271.231934,0.000000]

Old 04-12-2012, 09:30 AM   #2
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.
on attachedToNode obj do ( this._node = nodeTransformMonitor node:obj forwardTransformChangeMsgs:false )
Old 04-12-2012, 09:30 AM   #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

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 02:29 PM.

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