I've searched high and low but came up empty...
Simple routine does the following:
(vl-cmdf "ucs" "w");switches to WCS-good
(vl-cmdf "copy" ent "" "_non" bse "_non" "*0,0");copies ent from bse point to WCS origin-[color="red"]not good[/color]
(vl-cmdf "dxfout" "" "v" "lt2000" "o" "l" "" "");export copied to DXF-good
(entdel (entlast));deletes copied-good
(vl-cmdf "ucs" "p");returns to previous UCS-good
Issue: It copies the objects to origin of the UCS that was set when routine started... Above only works if the drawing is already in WCS when I call the routine.. It also works when i put the ["ucs" "w"] command before my ssget for "ent" and getpoint for "bse" functions. But it's not as smooth visually so not ideal for my goals...
How do I force "ent" from "bse" to WCS origin?
I think the answer is trans function but I couldn't figure out how to implement it.. Sounds so simple but what the F... Any and all help is appreciated!