grabbing preset transforms: script error: Invalid parameter 2004-03-04 - By James Newton
Back On 4/3/04 10:33 pm, "welchc@(protected)" <welchc@(protected)> wrote: > This is what I get: > > tTransform = gDatabase[whichPage][3] > put ilk(tTransform) > > -- #string
Hi Carl,
That is where your problem is. You are assuming that...
> gDatabase[1][3] is just a regular transform
... but that is not the case. If it were, the output would be:
-- #transform
You will need to check either:
1. Why gDatabase[whichPage][3] is not being set to a transform earlier in your code
or
2. Whether the value of whichPage is wrong
or
3. What other expression you should be using to find your transform.
> put ilk(scene.Model("cameraOriginPoint")) > > -- "ilk: model"
This looks like a copy and paste error. If it is not you seem to have created an ilk() handler which overwrites the native one.
Good luck with your debugging.
James
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|