CompuServe Thread

EXP_SELECT_INPUT_OBJ

2 messages in this thread
#87117From: Danny MercurioFeb 27, 1994 3:16 PM
Hi Folks, In the EXPRTN.H file there is a reference to EXP_SELECT_INPUT_OBJ that states that it is available to both PXP and AXP routines. The command is defined as follows: #define EXP_SELECT_INPUT_OBJ 0x2020 /* Use specified named obj as input */ However, when I try and use this command in my PXP, I get the following error message from 3DS: Undefined EXP Code:2020 It seems that it can't be used with a PXP after all. Trouble is, this would appear to be the only way to select an object in the editor without using EXP_PICK_OBJECT. Does anyone have a suggestions regarding the use of this command or any other way to select the input object with user intervention? Thanks, Danny…
#87355From: [F] Grant Blaha [Adesk]Feb 28, 1994 1:14 PM
It has been suggested by Jim LaFleur that pxp_get_item should be used to scan the 3DS object list. You'll have to skip past the items you don't want, like cameras and lights. If the Min/Max values are not what you expect, try adding the last three floats of the matrix to the numbers as you might be getting transformed values. Ciao, Grant