SYSCAD - CAD for metal construction Start  back  next

change block hatch / layer

Additional functions > Blockedit > change block hatch / layer

 

Toolbar: SYSCAD-Draw -> SYSFLY Blockedit -> kgl_pst

Ribbon: SYSCAD-Tools -> Blockedit -> kgl_pst

 

With this command you can change the layer of the components (lines, polylines etc. and hatches) of blocks  that are already inserted in your drawing. You could also change hach pattern definitions. You manage the configuration files with the command kgl_oeffne_konvert_block_txt from the toolbox SYSCAD 20XX and Config.These configuration files are stored in the SYSCAD subdirectory CFG.

Example: change layers and hatches

SYSCAD layer logic

your layer and hatch logic


kgl_pst_01

kgl_pst_02

 

description file "Konvert_Block_my_settings.txt"

 

 

kgl_pst_03

layer of the aluminium contour = SYS_AL_CONT

layer of the aluminium hatch  = SYS_AL_SOLID

pattern of the aluminium hatch =SOLID

 

layer of the insulation = SYS_IN_CONT

layer of the insulation hatch = SYS_IN_HATCH

pattern of the insulation hatch =ANSI31 / 45 / 0.3

 

layer of the gasket contour = SYS_GA_CONT

layer of the gasket hatch = SYS_GA_HATCH

patttern of the gasket hatch =ANSI37 / 90 / 0.78740158

patttern of the gasket hatch =ANSI37 / 0 / 0.3

 

 

layer of the aluminium contour = AL_CONT

layer of the aluminium hatch  = AL_HATCH

pattern of the aluminium hatch = ANSI32 / 0 / 0.5

 

layer of the insulation = IN_CONT

layer of the insulation hatch = IN_HATCH

pattern of the insulation hatch =ANSI37 / 0 / 1

 

layer of the gasket contour = GA_CONT

layer of the gasket hatch = GA_HATCH

patttern of the gasket hatch =ANSI37 / 0 / 0.5

#SOB,LWPOLYLINE #SLA,SYS_AL_CONT #LAN,AL_CONT

#SOB,HATCH      #SLA,SYS_AL_SOLID #SHA,SOLID  #HAN,ANSI32 #HSK,0.5 #HDW,0.0 #LAN,AL_HATCH

 

#SOB,LWPOLYLINE #SLA,SYS_IN_CONT #LAN,IN_CONT

#SOB,HATCH      #SLA,SYS_IN_HATCH #SHA,ANSI31  #HAN,ANSI37 #HSK,1.0 #HDW,0.0 #LAN,IN_HATCH

 

#SOB,LWPOLYLINE #SLA,SYS_GA_CONT #LAN,GA_CONT

#SOB,HATCH      #SLA,SYS_GA_HATCH #SHA,ANSI37  #HAN,ANSI37 #HSK,0.78740158  #HDW,90.0 #LAN,GA_HATCH

#SOB,HATCH      #SLA,SYS_GA_HATCH #SHA,AR-SAND  #HAN,ANSI37 #HSK,0.3 #HDW,0.0 #LAN,GA_HATCH

 

example: delete objects

current drawing

how it should be


kgl_pst_01

kgl_pst_04

 

description file "Konvert_Block_my_settings.txt"

 

 

kgl_pst_05

layer of the aluminium hatch = SYS_AL_SOLID

 

 

 


#SOB, HATCH #SLA, SYS_AL_SOLID #LOL,1

description of the commands:

#SOB ->  search objects  (LWPOLYLINIE, LINE, CIRCLE , ARC ...)

#SLA -> search objects on a specific layer

#SHA -> search hatches with a specific hatch pattern

#SFN -> search objects with a specific color number

#SLT ->  search objects with a specific line type

 

#LAN  -> new layer

#HAN -> new hatch pattern

#HSK -> new scale factor of the hatch pattern

#HDW -> new angle of the hatch pattern

#LOL -> delete objects from a specific layyer  (command  #LOL,1)

#LIB  -> new line width of the specific objects

 

You could swap with one definition file the layer name and the hatch layer also:

example:

#SOB,LWPOLYLINE #SLA,SYS_AL_CONT #LAN,AL_CONT

#SOB,HATCH #SLA,SYS_AL_SOLID #HAN,ANSI32 #HSK,0.5 #HDW,0.0 #LAN,AL_HATCH

 

#SOB,LWPOLYLINE #SLA,AL_CONT #LAN,SYS_AL_CONT

#SOB,HATCH #SLA,AL_HATCH #HAN,SOLID #LAN,SYS_AL_SOLID