Documente Academic
Documente Profesional
Documente Cultură
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
Menu
Search
COMPLEXLINENUMBERSINISOMETRICS
Posted on JULY12,201311:55AM by DAVEWOLFE
Out of the box, the line number tag, size and spec are called out on isometrics.
One of the most frequent requests we get is to alter that line callout to match our line number. The
diculty lies in the fact that in the isocong.xml, when you tell it which elds to place, you cant mix and
match the component properties with the line group properties. So, for example, setting up a line number
like this Size-Service-Number-Spec, seemed impossible (where size and spec are the component
properties.
However, thanks to some recent insight from the forums thanks to Bernd Gerstenberger, we have a
workable (though complicated) solution.
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
1/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
The key to our scenario is to use a little know feature called calculated properties
(PLANTDEFINECALCPROPERTIES).
Overview
We still have to work with the limitation of placing component elds separately from line group properties,
but by using the Calculated properties option, we can create a new eld/elds that includes our line group
properties in the order we want. We do have to workaround a limitation in that calculated properties
cannot include the size property (from components).
Below is a screenshot of a calculated property called LineDisplay that was created on the P3dLineGroup
class.
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
2/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
The format of the calculated property is important. Typically, everything should be wrapped in the
ToString function. The double bars || is a symbol that indicates concatenation. You use single quotes to
wrap text.
So, the value used for the LineDisplay property is this: ToString(NominalSize) || - || ToString(Service) || -
|| ToString(Number) || - || ToString(NominalSpec)
So, how does this help? Bernds post above shows how to include any component property in an
annotation. So, now we can create a property similar to LineDisplay on our PipeRunComponents class.
The only dierence being that due to limitations in calculated properties, we cant include the Size
property.
So, I created a property called LineSux on the PipeRunComponent class as shown below:
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
3/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
Now, we need to map the property so that we can use it in our isocong.xml.
Open the iso.atr, in the style you want to modify, and add a row that maps the
PipeRunComponent.LineSux property.
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
4/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
Now, in the isocong.xml, navigate to Themes > Theme (default) > Annotations > AnnotationSchemes >
LineNumberScheme.
The attributes we are interested in are the Format, ComponentFormat, and ComponentFields.
In ComponentFields, we indicate that we want to make two properties available (Size and LineSux).
In ComponentFormat, we indicate that the format will that the rst item (Size) and separate it from the
second item (LineSux) with a dash.
By default, the Format property puts the LineFormat items rst (think Line Group properties), so we use
{1} which will only include the ComponentFormat properties. Save that and generate an iso.
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
5/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
Magically, we have the physical size called out with the line number format that matches the LineDisplay
property.
Related Posts:
Share this:
More
AUTOCADPLANT3D, ISOMETRICS
Tags: ISOMETRICS
Previous post
Next post
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
6/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
WELCOME,SRI
Dashboard
Prole
Log Out
SERIES
TOPPOSTS
RECENTPOSTS
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
7/8
6/3/2016
ComplexLineNumbersinIsometrics|ProcessDesign,fromtheOutside
POSTCATEGORIES
AUTODESK
+ AutoCAD Plant 3D 2014 Object Enablers
SelectCategory
ARCHIVES
ECAD
+ ECAD Plugins
SelectMonth
+ ECAD, Inc.
+ MDO Team
+ Plant 3d WishList
2015 ECAD, Inc. CW Magazine powered by WordPress
http://www.pdoteam.com/2013/07/complexlinenumbersinisometrics/
8/8