Sha256: 5dedbd497dadf0e32c55ee88ff310e3a46c98c8ceb4d83599d6b5d7f27af2ebf

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

require "autocad"

Autocad.run do |app|
  drawing = app.new_drawing("test_drawing.dwg")
  d = app.active_drawing

  template_path = app.template_dwg_path

  puts template_path

  support_paths = app.support_paths

  puts "support_paths\n#{support_paths}"

  printer_config_paths = app.printer_config_paths
  puts "printer_config_paths: #{printer_config_paths}"
  puts "plot configs"
  app.plot_configs do |pl|
    puts pl
  end

  enum = app.plot_configs

  require "debug"
  binding.break
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autocad-0.4.6 autocad_example.rb