Find Out an Element from VIEW Limits PDMS Draft

By about Aveva PDMS Software | PDMS Tutorial | PDMS Training | Saturday June 4th, 2016

Here pdmsid share macros are used to find and determine what elements are contained within the VIEW Limits PDMS Draft by the boundary line which is predetermined.

Goto Sitemap to read all Article from PDMSid

Before continue you may be interested in other pdms macro such as PDMS Macro Miter Elbows Primitive.

Sometimes we need the info list of elements, such as pipes, equipment, structure, etc., are included in an VIEW limits. By knowing names of the pipe (for example) you can put the modification of 3D models so that drawing will be faster and ready to be issued.

Work above will be needed on the revision stage from a drawing with comment or redline of as-built not during the design phase.

Here below are macros to determine the elements contained in the VIEW:

Read also PDMS DRAFT Alternative Character.

--------
!ElType = 'PIPE'
VIEW
!Limits = !!CE.:CDLIMITS
!Limit = replace('$!Limits','From','')
var !Sites append collect all $!ElType within $!Limit
handle any
endhandle
var !vol Vvol
!Limit = replace('$!vol','From','')
var !Sites append collect all $!ElType within $!Limit
handle any
endhandle
!uniqSite = !Sites.unique()
!data = !uniqSite.size()
do !s values !uniqSite
var !name fullname of $!s
$P $!name
Enddo
--------

Change the variable !ElType to get a list of the desired element type.

How to use macros Find Out an Element from VIEW Limits PDMS Draft:

  • Copy macro above.
  • Ensure VIEW as CE.
  • Right-click on the command line, Paste as Macro or press Ctrl+M on keyboard.
Find Out an Element from VIEW Limits PDMS Draft Command

Find Out an Element from VIEW Limits PDMS Draft Command

Click here to see all articles from www.pdmsid.com

One thought on “Find Out an Element from VIEW Limits PDMS Draft

  1. Pingback: DRAFT Alternative Character | PDMSid

Leave a Reply

Your email address will not be published. Required fields are marked *