.Net - Bricscad: Entity identifier with persistence
Hi all!
Using .Net Api:
Using .Net Api:
I am devoloping a Bricscad Plug-in prototype for my company where:
-A operator selects a element through Bricscad
-A unique identifier of this element should be saved on a external database
-A user will be directed from other apps (Documentum, .pdf, .Net clients, ...) to Bricscad, to a plane opened with Bricscad and to the correct element the operator previously selected
My question is:
Witch identifier should I use with persistence across Bricscad sessions? I have tried with ObjectId, BlockTableRecord... and other and they seem to change across BricsCad sessions. Only Handle seems to haver persistence, can I use that data?
Anyone could help me with info/links/... about those Id and their behaviour?
Cheers,
Albert
0
Comments
-
For anyone with this issue look at:From the comments on that WebPage:"ObjectIds are per session, but get remapped on DWG load from the values stored in the file.Handles are persistent across sessions."And btw, to retrieve a objectId by its handle call to GetObject(false,"your handle from hex to long",0)0
-
Have you looked in here ?
The Swamp NET Apps
You should be able to go there by clicking link, without having to be a member of The Swamp.
Sorry I am not a NET programmer.0
This discussion has been closed.