DwgMerge 2023 Technical Documentation

Data Parameters

Data Parameters
MERGE Location of file with Merge content
OVER Instruction to overlay content
HYPER Instruction to create hyperlinks
BLOCK_OUTLINE Instruction to outline blocks
BLOCK_COUNT Instruction to count blocks

Merge Content

PARAMETER    MERGE
Purpose This parameter defines an XML or JSON file with the content to be merged into the base drawing.
Example -MERGE=c:\mycontent.xml , alternatively -MERGE = c:\myothercontent.json
Note See the section Supported Entities on allowed entities and their syntax.

Overlay Command

PARAMETER    OVERLAY
Purpose This parameter defines to execute the overlay of content based on the files defined by BASE, MERGE and OUT .
Example -overlay
Note There are no parameter values

Hyper Command

PARAMETER    HYPER
Purpose This parameter defines to execute the creation of hyperlinks based on the Block definitions in block_outline and block_count.
Example -hyper
Note There are no parameter values

Block Outline Command

PARAMETER    BLOCK_OUTLINE
Purpose This parameter will outline all blocks named “a”, “b” or “c”. The outline will be placed on a new layer “a_outline”, “b_outline”, “c_outline” No text will be created.
Example -block_outline=“a;b;c”

Block Count Command

PARAMETER    BLOCK_COUNT
Purpose This parameter will add a unique id to each block instance where the block is named “a”, “b” or “c”. The count will be sequential from 1 and will be placed on a new layer “a_id”, “b_id”, “c_id” No geometry will be created. The id is added to the block definition and then an attribute is added to each instance. That attribute will automatically create the visible text for the block.
Example -block_count=“a;b;c”
Last updated on 3 Apr 2022
Published on 16 Jul 2020