Kubotek Forum

KeyCreator CAD & CKD Viewer Technical discussion of CAD/CAM and integrated partner products
Subscribe to post
User avatar
Hans_Winkler - (9/17/2020 2:11:52 PM)
RE:bursting via kxl
look at the function:
    LastEnt hEntity hEnt
    Gets a handle to the last selected or created entity
    variable to put the handle into

That is the function that replaced the system variable @lastid, as far as I remember.
I have not used it in conjuction with the Burst function, you have to try it. It does not work in all situations!

Should this not work, the only work around that I know is:
Move the entity to an empty level, burst the entity, use the GetEntitiesFromLevel function to retrieve the entity, thus you have the handle again, then move it back to the original level where it came from, all on the fly. It's a pain, but it works.