Jump to content
bw_cad

Using attributes to define block placement

Recommended Posts

bw_cad

I'm importing point shapefiles into Map3D, that have attributes defining the BLOCKNAME, BLOCK ROTATION and BLOCK SIZE.  I can use the mapimport dialog box to create the blocks using the BLOCKNAME, but is there a way to get it to use the rotation and size information too?

Really appreciate any help/advice.

Share this post


Link to post
Share on other sites
SLW210

I have moved your thread to the Map 3D Forum.

Share this post


Link to post
Share on other sites
tombu

For the shapefiles we use

tbl1 (car (ade_odgettables EN))        ;First_Table_Assigned_to_Object where EN is entity name

(car (ade_odgettables EN))        ;First_Table_Assigned_to_Object

(ade_odgetfield EN TBL1 "ELEV" 0)       ;the object data for the elevation is ELEV

There's no standards that I know of and our GIS folk change both the attributes and their names from time to time forcing me to modify my code.  You're going to have to figure out the table and attribute structure to code it yourself.  Lot of cool stuff you can do with it once you figure it out.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...