INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Modify Numeric Data

Modify Numeric Data

(OP)
We have a survey drawing with several (hundreds) data elevation points on it. They are all 'truncated'... for example the value 5.82 represents 500 + 5.82 for an elevation equal to 505.82. Is there a means of automatically adding the 500 to the number shown (not a text value of 50)?

For example the reason for not using text, there are also some data points at 12.82 and the elevation would be 512.82 and not 5012.82?

Thanks, Dik

RE: Modify Numeric Data

There are many lisp routines designed to do this, as well as other math on text items. They generally handle text objects, maybe not mtext with special formatting. Units after the number might cause a problem. Reply if you can't find any, I've got some somewhere.

RE: Modify Numeric Data

Can't you just grab all the points and physically move them up 500'? Select one, rt click, Select Similar, Move @0,0,500

#

RE: Modify Numeric Data

Or move the UCS to 0,0,500

RE: Modify Numeric Data

(OP)
The values are not 3d... They are numbers in text format. UCS or moving them will not work.

Dik

RE: Modify Numeric Data

Are the truncated values in a table and if so how were they entered into the table?

RE: Modify Numeric Data

(OP)
No... just data entered on a drawing... likely put there by the surveyor cad program... not even as attributes...

Dik

RE: Modify Numeric Data

Are you using Civil 3D? If so: Click the Modify tab, on the Ground Data portion select Surface, then under Surface Tools pull down to Move Text to Elevation, then select the text objects with the elevations (you could isolate that layer, then select them all). This will move the text objects to their listed elevation. You can then use "Add Data" using "Drawing Objects" to add those elevations to a surface. Then you could Edit Surface - Raise/Lower Surface to move the whole surface up 500' to the right elevations.

#

RE: Modify Numeric Data

I'd be inclined to export the .DWG file as .DXF, then process that (text) file with 'awk'. ... but the effort of making and testing the .awk program probably exceeds the effort to just wade in and work on the .DWG file manually with the usual tools.

Mike Halloran
Pembroke Pines, FL, USA

RE: Modify Numeric Data

(OP)
Thanks Carl I'll give it a try...

Dik

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close