Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layers 3

Status
Not open for further replies.

Tunalover

Mechanical
Mar 28, 2002
1,179
Does anyone have a comprehensive layer setup file they'd be willing to share? Our company is developing new start files and need to establish a smart layering convention.

Also, I've noticed that some people use numerical prefixes e.g. 02_DATUM for layer names. Why?




Tunalover
 
Replies continue below

Recommended for you

Here is what my company uses

config.pro:
def_layer LAYER_ASSEM_MEMBER COMPONENTS
def_layer LAYER_AXIS AXIS
def_layer layer_chamfer_feat CHAMFERS
def_layer LAYER_COMP_DESIGN_MODEL COMP_DES_MODELS
def_layer LAYER_COMP_FIXTURE COMP_FIXTURES
def_layer LAYER_COMP_WORKPIECE COMP_WORKPIECES
def_layer LAYER_COPY_GEOM_FEAT COPY_GEOMS
def_layer LAYER_COSM_SKETCH COS_SKETCHS
def_layer LAYER_CSYS CSYS
def_layer LAYER_CURVE CURVES
def_layer LAYER_DATUM PLANES
def_layer LAYER_DATUM_POINT DTM_PTS
def_layer LAYER_DWG_TABLE DRW_TABLES
def_layer LAYER_EXT_COPY_GEOM_FEAT COPY_GEOMS
def_layer LAYER_GTOL GTOLS
def_layer LAYER_NOTE NOTES
def_layer LAYER_POINT DTM_PTS
def_layer layer_refdim REF_DIM
def_layer layer_round_feat ROUNDS
def_layer layer_sfin SURF_FINISH
def_layer layer_solid_geom SOLIDS
def_layer layer_snap_line SNAP_LINES
def_layer LAYER_SURFACE SURFACES
def_layer LAYER_SYMBOL SYMBOLS
def_layer LAYER_THREAD_FEAT THREADS
def_layer LAYER_WELD_FEAT WELDS

Here are the setup files one for part and one for assemblies. I think the one for part was saved in WF2 so blanked was replaced with hidden. Prior to WF2 we were using 2001.

lay_asm.pro:
ASM_DEF_CSYS BLANKED

ASM_DEF_PLANES BLANKED

AXIS BLANKED

COMPONENTS SHOWN

COPY_GEOMS BLANKED

COS_SKETCHS BLANKED

CSYS BLANKED

CURVES BLANKED

DTM_PTS BLANKED

GTOLS SHOWN

IMPORT BLANKED

NOTES BLANKED

PIPES BLANKED

PLANES BLANKED

SOLIDS SHOWN

SURFACES BLANKED

THREADS BLANKED

WELDS BLANKED

lay-prt.pro
AXIS HIDDEN

CHAMFERS HIDDEN

COPY_GEOMS HIDDEN

COS_SKETCHS HIDDEN

CSYS HIDDEN

CURVES HIDDEN

DEF_CSYS HIDDEN

DEF_PLANES HIDDEN

DTM_PTS HIDDEN

GTOLS SHOWN

IMPORT HIDDEN

NOTES HIDDEN

PIPES HIDDEN

PLANES HIDDEN

REF_DIM HIDDEN

ROUNDS HIDDEN

SOLIDS SHOWN

SURFACES HIDDEN

SURF_FINISH HIDDEN

THREADS HIDDEN


 
The 01_XXX 02_XXX notation is to get layers alphanumerically sorted in some kind of prefered logical order. We don't use it as it just makes layer names longer and if you use a good naming convention it is unnecessary. We make all feature layer names start with feat_, all datum layer names start with dtm_, all symbol layer names start with sym_, etc.
 
What foxbr says works well when you start a new file

For the old parts you must create manualy al layers structure.

I had the same problems having hundreds of parts wit so many different layers. Some parts had not layers at all, while others had 20-30 layers. No parts had the same structure or even layer names! I made a program in ProToolkit which scans all the parts of the top level assembly, create the desired layer structure and put each datum feature (datum, axis, curves, surfaces etc, etc) in their layer and then hide them all. The program works nice and in few seconds you solved the problems.

So, a solution may be the ProToolkit.

-Hora
 
Hora-
Are you willing to share the program? Is it for WF 2 or 2001?


Tunalover
 
Could this be a possible job for ModelCheck as well? I haven't really used it (on the admin side) that much, so I'm not sure if the options allow to check for layer standards.
 
Tunalover,

I didn't think to share the program. I made it for my purposes. If someone else decide to change for example the datum planes from PLANES layers (as is defined in my program) into DTM, the program will ignore it. I must change the coding and recompile it if you want the datum planes in DTM layers and not in PLANES.

-Hora
 
Hora-
Does the program affect the immediate assembly and all parts and assemblies that report to it? Just wondering. Yes I'd be happy to try your program. I'd be much obliged!


Tunalover
 
You load the top level assembly and just click the button . All components (assembly and parts) will be checked, the old layer structure will be deleted and the new structure will be implemented for each one. Then it will scan all features of each component and sort them in layers. It will ignore the merged parts and other external refernces. Take few seconds for simple assy or few minutes for an assy with hundreds of parts and depends of how mwny feaatures each component has.

Give me your layer structure you want to implement. My program works nice for Proe2001. Can work for wildfire too, but I must change some routines because it will put a button on the left menus of Proe2001 and wildfire has no more left menus.

-Hora
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor