Share

Generation

C++

enum Generation {
  kSourceAllObjects = (0x1 << 0),
  kSourceSelectedObjects = (0x1 << 1),
  kDestinationNewBlock = (0x1 << 4),
  kDestinationReplaceBlock = (0x1 << 5),
  kDestinationFile = (0x1 << 6)
};

File

DbSection.h

Members

Members Description
kSourceAllObjects The section plane cuts all the objects found in the drawing
kSourceSelectedObjects The section plane cuts only the selected objects
kDestinationNewBlock Creates section as a new block
kDestinationReplaceBlock Replaces an existing block while creating section
kDestinationFile Saves the generated section in an external file.

Description

Generation flags to control section creation. There are three groups of flags: type of section to generate, source, and destination. One value from each group should be OR'd to set the generation options. The options kGenerate2dSection and kGenerate3dSection form the first group to specify the type of section. kSourceAllObjects and kSourceSelectedObjects form the second group to specify the source. kDestinationNewBlock, kDestinationReplaceBlock, and kDestinationFile form the third group to specify destination for the generated geometry.

Was this information helpful?