LISP Add-Ons for Annotation (2D) | ||
The English pages of osd.cad.de are currently (=Dec2017) under some re-constructions. For ⇒ details see below.
This unofficial help page is about tools around Annotation, the 2D documentation part of SolidDesigner. The Annotation module was added late in 1997, with version 5.1 of SolidDesigner. The former drawing process was based on 'layout' and using ME10 (today's name 'PTC Elements Direct/Drafting') to annotate the drawing by adding dimensions and texts etc. The Annotations 2D view port for the drawing area is still provided by a ME10 process running in background and totally controlled by the SolidDesigner functionality.
Subtopics of this page are:
01 Position Numbers △ ▽
With the tool am_posnum1.lsp it is possible to set position numbers, assign them to an owner, unassign them and delete them. The numbers are continuously and some other properties are changeable, too (size, distance). With the most recent version of the tool also the font can be set. Using SolidDesigner version 14++ there are problems reported which are in work by the forums member. See the postings over there. 02 Mirror View/Sketch △ ▽
Enhanced to mirror sketches and more feedback byder_Wolfgang. With the Tool annotation_spiegeln.lsp (Aug 2003 + Mar 2008) a view or a sketch can be mirrored in Annotation. If you have mirrored parts, and you are going to continue on one side and don't want to create the 2nd drawing from scratch it will save you some time. First the views are mirrored, then the view set will be connected to the mirrored part, using Migration Tools.Attention: some dimensions, texts or symbols might loose their references. But not all. 03 Sectioning, protect assemblies △ ▽
Some Version of SolidDesigner did not allow to secure several parts against sectioning in Annotation views in a single step. Using am_assy_protect.lsp (Aug 2003) does work around the missing multiple selection issue. That way complete assemblies can be handled as well. If you are a rather old guy, or if your system is very outdated you might need to load am_assy_protect.lsp (Aug 2003) for you very early days version of SolidDesigner. 04 Hatch, random pattern △ ▽
The provided tool does change an existing hatch using a random distance (between minimal and maximal value) and changes the color as well.
If you do not like the hard coded default values, feel free to change the values in line 11 .. 13. 05 View in any Direction △ ▽
Using SolidDesigner versions 15.00 and newer do not need this add-on any more. Walter have been looking for a way to create a view X in Annotation using any kind of direction. Remark: Der_Wolfgang is not sure about why not using a general view for that? Netter Nebeneffekt: Probleme mit nicht angezeigten Teilen in der Ableitung kennt das Progi anscheinend nicht, d.h. es erzwingt regelrecht eine Ansicht. 06 Sheet Delete, inclusive views △ ▽
Using SolidDesigner versions 15.00 and newer do not need this add-on any more. With this tool it is possible to delete a complete sheet with all it's contents. Annotation does not allow to delete a sheet containing views. So you first have to delete every view (and confirm the deletion in addition), before you can delete the sheet itself. This is quite annoying, specially when you are reusing existing drawings. With this tool all views are deleted before the sheet gets deleted. 07 Create Leader Line △ ▽
Sometimes you are running into the situation that you are not allowed to create a reference line. It it not possible to create a reference line from one view pointing into another for example. Or create those lines on sheet level. For that situation you can use a Leader Line. To activate enter (load "am_leader") and you will find a new button in your tool box. Leader lines and reference lines are very similar. Creation is nearly the same and properties (color etc.) are identical and controlled by the same actions. BUT! Leader lines are NOT associative! So, when the element the Leader Line is visually pointing to is moved (e.g. by updating the view) the arrow stays at the position where it is. This might lead to misunderstandings later. A real reference line will move it's arrow accordingly. So: as far as possible real reference lines are to be preferred. 08 Explosion drawing, formations △ ▽
Using SolidDesigner versions 14.00 and newer do not need this goody any more. The functionality 'Configuration', available in the 2nd Part & Assembly menu, is a complete replacement for the combination of sd_form and am_form. In version 14.50 and newer you will use configurations! The old formations can/have be converted to a configuration. This is a build in goody of SolidDesigner up to version 13.xx. To create explosion drawings from your assembly you need to use the tools sd_form and am_form. sd_form creates the 'exploded' situation, where am_form is using the already defined formation for a new Annotation view. The usage of sd_form is explained in another document [DE]. To activate enter (load "am_form") and you will find a new button in your tool box. There are German instructions available, how to use the formations. 11 Break multiple dimension lines △ ▽
If you run into the situation that there several dimension lines placed on each other and in addition not of type 'Dimension long' it is cumbersome that all the dimension lines can not be broken in one step. Here comes Rainer's tool into play. The zip file contains a LISP and a ME10 macro file. To load the macro file correctly line 3 in the lsp file need to be adjusted. There is no entry in the tool box. You can invoke the command in the command line via: 12 Show 3D Owner △ ▽
Show the 3D owner of selected geometry in of every part in Annotation views. Remark: In drawings with several 3D-owners and/or with sheet metal parts with flat view the result might not be correct. In more recent versions of SolidDesigner this functionality is build in and does not have any restrictions. 14 Dimension Pitch Circle △ ▽
With this Lisp we can very simply dimension pitch circles or flanges in Annotation Module. For rather old versions of SolidDesigner compliant version is available as well: teilkreisgeo.lsp (April 2005 bis V14). This Version is only available with German User Interface. 15 Arrange Sheets next to next △ ▽
In Annotation there is only less control on the absolute position of the sheets and their position to each other. Only when using external MI viewers or creating a PDF file or something similar you might see the effect that the sheets do cover each other or are spread around. The command AM_ARRANGE_SHEETS rearranges the sheets of a drawing. This command can be called before a multi-sheet drawing is stored. The result is that single sheets are stored next to each other in the MI-file and do not cover another one. To activate enter (load "am_arr_sheets") and you will find a new button in your tool box. Just press this button before saving/exporting the drawing. In up-to-date versions of SolidDesigner the sheets are arranged in a square and in ascending order. 16 Convert Text to Geometry / Arrange Text Circular △ ▽
Two goodies, which might also be helpful in combination: Enter (load "am_text_arc") and you will
find a new button in your tool box named "Text on Arc". Enter (load "am_text2geo") and you will
find a new button in your tool box named "AM Text -> Geo". Remark: The round curves are not converted to splines, a polyline is used. If used frequently, both tools can be loaded via am_customize, of course. 17 Behavior of Cutaways in Section Views △ ▽
There will be a new entry in the toolbox to control the behavior of cutaways in other (dependent) section views. If a view contains a cutaway this one will not be used when creating a section view of that view. With the help of this tool the cutaway can be transferred to the section view.
Remark: one problem exist: if loading the drawing later on (or by another user) this tool need to be loaded to get the wanted behavior on view updates. Using SolidDesigner version 15.00 and newer do not need this add-on any more. 18 Save Views/Sketches to Disk △ ▽
Translated and enhanced by der_Wolfgang. With the program save_ansicht.lsp (??? 200X + Oct 2007) a single view can be saved to the file system in different file formats. After selecting a view (flat views are working, too) the MI data of the view are exported as MI, DXF, DWG, or SVG (in newer versions). Then you can hand over the data to the next post process. Based on a new discussion in the forum an extended version was created which can handle sketches in addition as well as selecting multiple items. Use this version save_ansicht_m.lsp with multiple selection. An alternative are the migration tools available in the Annotation module. Over there a view can be converted to a sketch, and then saved as sketch using standard save process. Last but not least a simple approach made by der_Wolfgang: Move the view to a new empty sheet, select a 'none' frame and export the sheet as MI/DXF/DWG... to the file system. Well, method 2 and 3 are destructive, so you have to reload the unchanged drawing afterwards again (or use UNDO in version 15.00++). The additional tool does not modify the drawing at all. 19 Table of coordinates / drill table △ ▽
Translated and user guidance added by der_Wolfgang. To increase the overview on drawings some people like to use a table for a couple of measurements and fill in the coordinates and may be other information, too. Using koordinatentabelle.lsp (Sep 2007) such a kind of table can be created and filled easily. It creates the position numbers automatically together with a kind of leader line. The columns with the coordinates are also filled without additional interaction. Columns like tolerance or comment have be filled manually or can be deleted.
The created leader lines are NOT associative! So, when the element the Leader Line is visually pointing to is moved (e.g. by updating the view) the arrow stays at the position where it is. This might lead to misunderstandings later. 20 Hide Elements △ ▽
Sometimes designer would like to hand over a drawing without revealing all information. Now one can extinguish these things and then send the drawing to your subcontractor / customer etc. To make the function convenient for the CAD user some information are attached to the elements to be hidden. That way the 'hiding' can be switched on/off as needed. Any elements of a drawing can be hidden, as for example mass, geometry, frames, texts, etc. Sometimes something should be faded out to get an better overview. The second tool fades out by an easy clicking components, views or sketches or shows them only as a frame: The tool's file to load is am_hide_parts.lsp (Jan 2007) 21 Model Properties for Drawing △ ▽
Several companies are using internal standard to document the mass or volume of the 3D Model in the drawing. Those 3D Model properties can be measured in 3D and using copy and paste they can be added as text in Annotation. Lazy contructors / designer can use the tool AM_TeilemasseAufBlatt to do the task in a comfortable way: A similar (but very basic) functionality is mentioned in 'Anleitungen 02'. Mass and volume of the current part is measured on just a click, after you have created an available command with the push-actions like those:
23 Change default of BOM Leaderlines △ ▽
In Annotation there is always only one type of reference lines for BOM Flags. If there should be different kind of reference lines one need to change the defaults temporarily or change the lines afterwards. This modified macro bom_create_flag_refline.m is doing the changes upfront. The values in the mentioned line numbers can be adapted:
The macro will be loaded via
24 Revisions Cloud △ ▽New
In some companies it is standard that changes are marked with a kind of cloud on the drawing. Those are called "Revision Clouds" With the tool tp_rev_wolke.lsp (Nov 2017) it is possible to create such a cloud quickly. Similar as drawing a (closed) spline with just a bunch of points to define you can create a cloud now defining points counterclockwise. The English pages of osd.cad.de are currently (=Dec2017) under some re-constructions. Topics I try to attack:
● Private
● Legal Notice
●
| |