ScriptSpot

Forum topic · General Scripting

Possible plane position bug?

By threedian · 2010-10-04

Description

Hey all

I haven't been able to find anything about this, so I'm kinda thinking I've missed something obvious..

If I type into the Maxscript Listener

Box name:"TestBox" position: [50, 50, 50]

Max creates a box at coordinates [50, 50, 50], as expected. This is the same for creating a sphere, cone, ...and I haven't tried other primitives yet.

However if I do

Plane name:"TestPlane" position: [50, 50, 50]

Max always seems to create a plane at [0, 0, 0]. Am I missing something?

Appreciate any comments/insight :)

Ian

Comments (2)

use .pos instead

Anubis · 2010-10-04

Yes, no any explanation about in the help. After more coding you will find more exceptions where ".position" is broken. For safety use it short alias ".pos".

threedian · 2010-10-05

Alright. Strange, but good to know anyway :) Thanks