module Microstation::Scan::Subtype

Public Instance Methods

include_subtype(subtype) click to toggle source
# File lib/microstation/scan/subtype.rb, line 11
def include_subtype(subtype)
  subtype_inclusions << subtype
end
reset_ole_subtypes() click to toggle source
# File lib/microstation/scan/subtype.rb, line 20
def reset_ole_subtypes
  ole_obj.ExcludeAllSubtypes
end
reset_subtypes() click to toggle source
# File lib/microstation/scan/subtype.rb, line 15
def reset_subtypes
  reset_ole_subtypes
  @subtype_inclusions = []
end
resolve_subtype_scans() click to toggle source
# File lib/microstation/scan/subtype.rb, line 24
def resolve_subtype_scans
  return unless subtype_inclusions.size > 0
  reset_ole_subtypes
  subtype_inclusions.each do |subtype|
    ole_obj.IncludeSubtype(subtype)
  end
end
subtype_inclusions() click to toggle source
# File lib/microstation/scan/subtype.rb, line 7
def subtype_inclusions
  @subtype_inclusions ||= []
end