2.5 Cursor location

how can you read the location of the cursor in 2.5
i mean X Y Z values


dont know… but you can add an Empty at cursor position, and copy coordinates from that

i need to add an object at the cursor location
where the location is determined by the user in3D viewport

and there must be a way tor eadn the cursor location !


Don’t have 2.5 here, but I believe you can find the XYZ values of the 3Dcursor somewhere in the Properties panel of the 3dview.

Btw, is Snap to 3dcursor not helpful for what you need?

found it

ob_new.location = scene.cursor_location # position object at 3d-cursor