Jump to content

$CEX $CEY $CEZ NOT WORK in v16.0504


Recommended Posts

hi, I try to centroid pivot of copied object but $CE command not work and got an error:

Error Unable to evaluate expression (Expression stack error (/obj/The_sim/copy1/tx)).

Error Unable to evaluate expression (Undefined variable (/obj/The_sim/copy1/px)).

Error Unable to evaluate expression (Undefined variable (/obj/The_sim/copy1/py)).

Error Unable to evaluate expression (Undefined variable (/obj/The_sim/copy1/pz)).

1.png

2.png

3.png

Link to comment
Share on other sites

Tried centroid? Laziest way you can write it is centroid(0,0), centroid(0,1), centroid(0,2) for x y z. The tooltip that pops up says use a string for geo and then D_X, D_Y and D_Z but you can drop the string for 0 and the rest for 0 1 2. 

  • Like 4
Link to comment
Share on other sites

14 hours ago, adrianr said:

Tried centroid? Laziest way you can write it is centroid(0,0), centroid(0,1), centroid(0,2) for x y z. The tooltip that pops up says use a string for geo and then D_X, D_Y and D_Z but you can drop the string for 0 and the rest for 0 1 2. 

 thank you. it worked. 

centroid("../The_Room",D_X)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...