Get database info

Get database info

jmartt
Collaborator Collaborator
790 Views
3 Replies
Message 1 of 4

Get database info

jmartt
Collaborator
Collaborator

Is there a way to "get" a shapefile's database location for use in a macro? I have tiles that denote extents of aerial photography and I want to pick a tile and have the aerial appear on top of it. But to do that, I'll need to mapiinsert and call the "location" found under "Feature Properties" on the Properties palette. I've done a (setq entList(entget (car (entsel)))) and picked the .shp but the location (of the aerial photo) doesn't come up. It does work to just copy/paste from the table as murph described (very well) here: http://forums.autodesk.com/t5/autocad-map-3d-general/using-location-in-feature-properties-to-mapiins...

 

...But I want a sexy button.

 

Thanks.

0 Likes
791 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Hello jmartt

 

Did you manage to work within Feature Properties? If so, can you share your findings with us?

 

Thanks in advance + regards,

Lzucco

0 Likes
Message 3 of 4

jmartt
Collaborator
Collaborator

@Anonymous , no. I didn't get anything to work on that front. But I did obtain a MrSID image of the area. I was using geotiffs before. Now I just use that one file because it doesn't seem to slow me down at all.

Message 4 of 4

Anonymous
Not applicable