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

raw description to object data

6 REPLIES 6
Reply
Message 1 of 7
abonin3
536 Views, 6 Replies

raw description to object data

does anyone know how to extract the raw description of a civil3d point to object data. either through lisp or other means.

thanks
6 REPLIES 6
Message 2 of 7
Anonymous
in reply to: abonin3

Hi,

In VBA the code you need is:

Dim oPoint As AeccPoint
Dim sRawDesc As String
Code to select the point
sRawDesc = oPoint.RawDescription
Code to write the variable sRawDesc to the Object data

--


Regards

Laurie Comerford
wrote in message news:5855240@discussion.autodesk.com...
does anyone know how to extract the raw description of a civil3d point to
object data. either through lisp or other means.

thanks
Message 3 of 7
Anonymous
in reply to: abonin3

To do this without VBA, you can create Blocks with Attributes from the Points and then get MAP to copy the Attribute values to an Object Data Table:

STEP 1:
Points > Utilities > Create Blocks from COGO Points
This creates blocks with attributes of "ELEV" "POINT" and "DESC".

STEP 2:
Create an Object Data table (I called it Point) and create fields to match the attributes - i.e. "ELEV" "POINT" and "DESC".
(Do not attach this table to the blocks - the next step does it for you and transfers the values)

STEP 3:
Map > Database > Generate Links
Select Blocks for Linkage type
Select "create object data records" in data links.
For Table, select "Point" (Or whatever name you specified in step 2)
For Block, Select "Point" (this is the default Block created in Step 1)

Click 'OK'
Select all blocks,

Object Data created.

cheers,
SeanT

(If you have added 'user defined property classifications' to your Cogo Points, you are in trouble!)
Message 4 of 7
Anonymous
in reply to: abonin3

Export to SDF then mapimport that sdf back in creating the OD as you import.
No coding to do and no creating the OD table taking the chance of
mispelking.

--
Murph
www.map3d.wordpress.com


"abonin3" wrote in message news:5855240@discussion.autodesk.com...
does anyone know how to extract the raw description of a civil3d point to
object data. either through lisp or other means.

thanks
Message 5 of 7
Anonymous
in reply to: abonin3

Nice tip, Murph. Thanks!

"Murph" wrote in message
news:5855656@discussion.autodesk.com...
Export to SDF then mapimport that sdf back in creating the OD as you import.
No coding to do and no creating the OD table taking the chance of
mispelking.
Message 6 of 7
Anonymous
in reply to: abonin3

YW,
I don't know it all but I do know shortcuts and the easy way.


--
Murph
www.map3d.wordpress.com


"TomD" wrote in message
news:5856194@discussion.autodesk.com...
Nice tip, Murph. Thanks!

"Murph" wrote in message
news:5855656@discussion.autodesk.com...
Export to SDF then mapimport that sdf back in creating the OD as you import.
No coding to do and no creating the OD table taking the chance of
mispelking.
Message 7 of 7
abonin3
in reply to: abonin3

well what im looking to do is sparse the raw description ($0 $1 $2...) to multiple fields in and attached OD TABLE.

 

HELP

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report