module Microstation::Scan::Type

Public Instance Methods

include_cell_header() click to toggle source
# File lib/microstation/scan/type.rb, line 87
def include_cell_header
  self.include_type(::Microstation::MSD::MsdElementTypeCellHeader)
end
include_cells() click to toggle source
# File lib/microstation/scan/type.rb, line 95
def include_cells
  include_cell_header
  include_shared_cell
end
include_dimensions() click to toggle source
# File lib/microstation/scan/type.rb, line 100
def include_dimensions
  self.include_type(::Microstation::MSD::MsdElementTypeDimension)
end
include_lines() click to toggle source
# File lib/microstation/scan/type.rb, line 125
def include_lines
  self.include_type ::Microstation::MSD::MsdElementTypeLine
end
include_shared_cell() click to toggle source
# File lib/microstation/scan/type.rb, line 91
def include_shared_cell
  self.include_type(::Microstation::MSD::MsdElementTypeSharedCell)
end
include_solids() click to toggle source
# File lib/microstation/scan/type.rb, line 121
def include_solids
  self.include_type ::Microstation::MSD::MsdElementTypeSolid
end
include_tags() click to toggle source
# File lib/microstation/scan/type.rb, line 108
def include_tags
  self.include_type ::Microstation::MSD::MsdElementTypeTag
end
include_text() click to toggle source
# File lib/microstation/scan/type.rb, line 104
def include_text
  self.include_type(::Microstation::MSD::MsdElementTypeText)
end
include_text_nodes() click to toggle source
# File lib/microstation/scan/type.rb, line 112
def include_text_nodes
  self.include_type ::Microstation::MSD::MsdElementTypeTextNode
end
include_textual() click to toggle source
# File lib/microstation/scan/type.rb, line 116
def include_textual
  include_text
  include_text_nodes
end
include_type(type) click to toggle source
# File lib/microstation/scan/type.rb, line 75
def include_type(type)
  type_inclusions << type
end
reset_ole_types() click to toggle source
# File lib/microstation/scan/type.rb, line 71
def reset_ole_types
  ole_obj.ExcludeAllTypes
end
reset_types() click to toggle source
# File lib/microstation/scan/type.rb, line 66
def reset_types
  reset_ole_types
  @type_inclusions = []
end
resolve_type_scans() click to toggle source
# File lib/microstation/scan/type.rb, line 79
def resolve_type_scans
  return unless type_inclusions.size > 0
  reset_ole_types
  type_inclusions.each do |type|
    ole_obj.IncludeType(type)
  end
end
type_inclusions() click to toggle source

MsdElementTypeCellLibraryHeader MsdElementTypeCellHeader MsdElementTypeLine MsdElementTypeLineString MsdElementTypeGroupData MsdElementTypeShape MsdElementTypeTextNode MsdElementTypeDigSetData MsdElementTypeDesignFileHeader MsdElementTypeLevelSymbology MsdElementTypeCurve MsdElementTypeComplexString MsdElementTypeConic MsdElementTypeComplexShape MsdElementTypeEllipse MsdElementTypeArc MsdElementTypeText MsdElementTypeSurface MsdElementTypeSolid MsdElementTypeBsplinePole MsdElementTypePointString MsdElementTypeCone MsdElementTypeBsplineSurface MsdElementTypeBsplineBoundary MsdElementTypeBsplineKnot MsdElementTypeBsplineCurve MsdElementTypeBsplineWeight MsdElementTypeDimension MsdElementTypeSharedCellDefinition MsdElementTypeSharedCell MsdElementTypeMultiLine MsdElementTypeTag MsdElementTypeDgnStoreComponent MsdElementTypeDgnStoreHeader MsdElementType44 MsdElementTypeMicroStation MsdElementTypeRasterHeader MsdElementTypeRasterComponent MsdElementTypeRasterReference MsdElementTypeRasterReferenceComponent MsdElementTypeRasterFrame MsdElementTypeTableEntry MsdElementTypeTable MsdElementTypeViewGroup MsdElementTypeView MsdElementTypeLevelMask MsdElementTypeReferenceAttachment MsdElementTypeMatrixHeader MsdElementTypeMatrixIntegerData MsdElementTypeMatrixDoubleData MsdElementTypeMeshHeader MsdElementTypeReferenceOverride MsdElementTypeNamedGroupHeader MsdElementTypeNamedGroupComponent

# File lib/microstation/scan/type.rb, line 62
def type_inclusions
  @type_inclusions ||= []
end