AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ID de Oracle Spatial

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
205 Views, 2 Replies

ID de Oracle Spatial

Como puedo obtener con VB o Lisp el ID o entityid del elemento que fue importado a traves de una consulta por ubicacion desde Oracle Spatial a traves de AutoCAD MAP.

gracias
2 REPLIES 2
Message 2 of 3
luc_vanlinden
in reply to: Anonymous

Hello J

I guess you want to know how to query the entityid when features are read from Spatial.

I posted a similar question june last year:
"How does Map stores the Id of a queried features from Oracle Spatial ".

Without a clear response so far.

What I did, was the following:
I added an extra field in my feature table fe, myEntityid.
I added a trigger on this table that defines an update statement for the field myEntityid = Entityid when a new record is inserted in my featuretable.

If you then define a LPN (or Object data table) for this table which contains the field myEntityid, you can query this myentityid field (via vb or lisp) for knowing the Entityid Map uses.

Hope this can help you

Luc
Message 3 of 3
jordirov
in reply to: Anonymous

Hola jguzman_vtr,

creo que la api de Oracle Spatial no tiene su equivalente en ActiveX, sólo en C++, luego no puedes acceder a ella desde VB o Lisp.
Puedes probar de duplicar la columna Entityid a una columna, por ejemplo, de Object Data.

O utilizar VC++...

Jordi

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost