Visual CADD™ Tips & Tricks |
Tips & Tricks is a new feature on the TriTools and Visual CADD™ web site to help users get the most from Visual CADD™ by learning about new features, helpful tips, and add-on tools. The TriTools team will be periodically adding new topics, so please check back from time to time to see what is new.
We invite users and developers to submit their suggestions, tips, scripts, add-on tools, or other helpful ideas for inclusion on the Tips & Tricks pages.
Visual CADD™ supports both vector fonts and TrueType fonts. Several vector fonts are installed with Visual CADD™ and you may also create or modify vector fonts. The Font Edit add-on allows you to easily create and modify fonts by drawing the respective font characters in a Visual CADD™ drawing and saving the font to a Visual CADD™ VCF font definition file.
Below is a link to download and install the Font Edit add-on. After installing, you may refer to the "Vector Font Editing.pdf" installed to the Visual CADD™ folder \Addons\FontEdit\ for additional information about using Font Edit.
Font Edit Add-On - Download the Font Edit Add-On installer. Please note, the Font Edit Add-On requires Visual CADD™ v6 or later. |
For interested third party developers, the source code for the Font Edit add-on is available as part of the Software Development Kit (SDK) sample C++ projects.
Software Development Kit (SDK) Downloads - Download the Visual CADD™ SDK for C++, Delphi, and ActiveX/COM. |
Visual CADD™ supports text keywords for which certain drawing data or values are substituted for screen display and printing. The supported text keywords include current date and/or time in a variety of formats, drawing file name and/or path, print scales in architectural, engineering, or ratio formats, and single unit fractions of the type usually seen in fractional dimensions. The text keywords can be placed into any text kinds of entities, such as text, leaders, or dimension overwrite, prefix, and suffix strings, including within symbols. Text keywords can be very useful in title blocks to automatically display time stamps, file names, and print scales.
The complete list of text keywords and their usage are provided in the Visual CADD™ help file. Open the help file by using menu >Help>Visual CADD Help then search for 'keyword' under the Search tab.
Below is a link to download a sample drawing using text keywords as shown above.
Text Keywords Sample - Download the Text Keywords sample drawing. Please note, this feature requires Visual CADD™ v7.0.0 or later. |
Visual CADD™ can import or convert data from latitude-longitude to easting-northing (x-y coordinates) in several ways, such as: (1) Use ImportXML/XIX to import a GPX file; (2) Draw with latitude-longitude degree coordinates then convert with a VBScript or other simple add-on tool; or (3) Programatically using the API or ActiveX/COM. The first two techniques are described below.
Many surveying or GPS packages can produce data files known as GPX files which contain latitude-longitude coordinates. A GPX file is a special kind of XML file and Visual CADD™ can import XML files. Visual CADD™ can use an XSLT file (Extensible Stylesheet Language Transformation) to help change from the GPX format to the XML format required by Visual CADD™. Drawing plats and other drafting purposes usually require data be in x-y coordinates with ordinary distance units such as meters or feet, called easting-northing in geographic contexts. The transformation from latitude-longitude to easting-northing can be part of the XSLT file. Lastly, the transformation from latitude-longitude to easting-northing relies upon standardized coordinate reference systems, such as a general purpose Universal Transverse Mercator (UTM) projection or more specialized and localized coordinate reference systems in general use or mandated by various country's and state's laws. Visual CADD™ supports over 3500 coordinate reference systems worldwide.
You may also draw in Visual CADD™ using latitude-longitude degree measurements as if they were ordinary distance measurements, using longitude as the x-coordinate and latitude as the y-coordinate. Please note that drawing in this way with latitude-longitude degree measurements does not produce an accurate representation of true relative distances due to the curvature of the earth. However, once drawn in this way or perhaps imported from a DXF file containing latitude-longitude degree measurements, Visual CADD™ can convert the drawing to accurate easting-northing, x-y coordinates using a simple VBScript or similar add-on tool.
The accuracy of civilian DGPS is about 10cm at best. One minute (1/60th degree) of longitude at the equator is very close to 1 nautical mile. With a little calculation, you will find that 0.000001 degree of longitude at the equator is approximately 11cm. So, the accuracy of civilian DGPS is very close to 0.000001 degree of longitude at the equator. Therefore, when using DGPS data there is no advantage to using more than 6 decimal place accuracy for latitude-longitude measured in degrees. Any more than 6 decimal places would usually give a false sense of accuracy.
Below is a link to download and install sample files to illustrate latitude-longitude import, including GPX and VCD files containing latitude-longitude data, XSLT transformation file for XML import, VBScript for conversion of existing VCD, and CmdExt.vcdef file to create the custom command.
Lat-Lon Tools - Download the Latitude-Longitude Tool installer. Please note, this tool as written requires Visual CADD™ v7.0.0 or later. |
Visual CADD™ supports placing surveyor bearings in a drawing using the linear dimension tool, DimLin/DL. Before placing the bearing, you would set the necessary settings using >Utilities>Settings, primarily the tree branches under >Drawing: >Numeric, >Dimensions>Settings, and >Dimensions>Text. The shortcuts to those dialogs are TBN, TBD, and TBX, respectively. Essential settings are on TBX where you would set Distance/Angle Display to be one of the choices for an angle in a linear dimension and on TBN where you would set the surveyor format settings. Then you place the dimension using >Draw>Dimension>Linear Dimension or DimLin/DL.
The necessary settings can be set in a number of ways: manually in the settings dialogs, a custom command defined in Script Assign, running a VBScript, loading previously saved styles, using an add-on tool, and other ways.
Below is a link to download and install a VBScript to simplify placing surveyor bearings in a drawing. This sample tool will place your bearing label then return all settings to their original so that you can place ordinary linear dimensions as before. After installing, you may optionally edit the VBScript to make changes specific to your needs, such as the decimal places on the distances.
Bearing Label Tool - Download the Bearing Label Tool installer. Please note, this tool as written requires Visual CADD™ v7.0.1 or later. Depending upon specific needs, the VBScript can be modified to work with earlier versions. |