Instance via script

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  08 August 2003
Instance via script


I'd be really appriciate for any idea how to make object instance (reference) via Max Script. I mean just sytax
  08 August 2003
Lookup InstanceReplace in the maxscript online help
  08 August 2003
It's really simple: instance $ or reference $

Got Maxscript?
  08 August 2003
Re: Instance via script

Quote: Originally posted by kiryha

I'd be really appriciate for any idea how to make object instance (reference) via Max Script. I mean just sytax

Just an addition to the helpful answers by the others.
Since in MAX about everything is an object, you might want to know that in some cases like for example with controllers,
instances are made implicitly.

For example, if you get a controller from one track and assign it to another track (in the same or other object), the controller will be instanced by default!

Same with materials, maps etc.

For example,

someMat = $Teapot01.material -- get the material from a teapot
$Plane01.material = someMat -- assign an INSTANCE of the material assigned to the Teapot to the Plane.

You would have to explicitly use COPY to make a unique object copy in such cases if you don't need an instance...


Last edited by Bobo : 08 August 2003 at 04:13 PM.
  01 January 2006
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 05:00 PM.

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