class Microstation::OLE_CadInputMessage
Attributes
app[R]
lastargs[R]
ole_obj[R]
Public Class Methods
new(ole,app)
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 22 def initialize(ole,app) @ole_obj = ole @app = app end
Public Instance Methods
any?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 43 def any? input_type == InputType::Any end
command?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 31 def command? input_type == InputType::Command end
data_point?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 35 def data_point? input_type == InputType::DataPoint end
get_command_keyin()
click to toggle source
BSTR CommandKeyin
# File lib/microstation/ole_cad_input_message.rb, line 73 def get_command_keyin() ret = ole_obj._getproperty(1610743811, [], []) @lastargs = WIN32OLE::ARGV ret end
get_input_type()
click to toggle source
MsdCadInputType InputType
# File lib/microstation/ole_cad_input_message.rb, line 56 def get_input_type() ole_obj.InputType end
get_keyin()
click to toggle source
BSTR Keyin
# File lib/microstation/ole_cad_input_message.rb, line 61 def get_keyin() ret = ole_obj._getproperty(1610743809, [], []) @lastargs = WIN32OLE::ARGV ret end
get_point()
click to toggle source
Point3d
Point
# File lib/microstation/ole_cad_input_message.rb, line 68 def get_point() app.to_point3d(ole_obj.Point) end
get_screen_point()
click to toggle source
Point3d
ScreenPoint
# File lib/microstation/ole_cad_input_message.rb, line 87 def get_screen_point() ret = ole_obj._getproperty(1610743813, [], []) @lastargs = WIN32OLE::ARGV ret end
get_view()
click to toggle source
_View View
# File lib/microstation/ole_cad_input_message.rb, line 80 def get_view() ret = ole_obj._getproperty(1610743812, [], []) @lastargs = WIN32OLE::ARGV ret end
input_type()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 51 def input_type @input_type ||= get_input_type end
key_in?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 39 def key_in? input_type == InputType::Keyin end
reset?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 27 def reset? input_type == InputType::Reset end
unassigned?()
click to toggle source
# File lib/microstation/ole_cad_input_message.rb, line 47 def unassigned? input_type == InputType::Unassigned end