CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 9517
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedFields: Detecting String or Numerical Value

 Post Reply Post Reply
Author
Lee.J.Baxter View Drop Down
Newbie
Newbie


Joined: 07.Sep.2016
Location: United Kingdom
Using: AutoCAD2012
Status: Offline
Points: 5
Direct Link To This Post Topic: Fields: Detecting String or Numerical Value
    Posted: 07.Sep.2016 at 12:21
Hi,
 
I've just started learning to use fields within AutoCAD drawings, but I've hit a bit of a speedbump. I'm creating a master drawing with a dimension containing a text override (as this part of the drawing is purely a schematic, and isn't to scale).  The thing is, this text override may contain either a string saying "See Front Sheet" or a numerical value.  In order to use this in a formula, I need the text to be evaluated as 0 in the former case, as my formula-based fields are currently evaluating as "####" when a string is entered.
 
For example, one of the fields will add 127 to the value entered in the text override.  If the user enters 1000, I'd want it to display 1127, whereas if the user entered "See Front Sheet", I'd need it to display 127.
 
Thanks,
Lee.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,445 seconds.