TommyKaneko / Sketchup-API-C-Wrapper

A complete set of C++ Wrapper classes for SketchUp C API objects
MIT License
28 stars 8 forks source link

CW::Axes Inheritance #13

Closed jimfoltz closed 6 years ago

jimfoltz commented 6 years ago

Shouldn't the Axes class inherit from Entity rather than Drawingelement?

Update - apparently the C API has a method to upcast to both Entity and Drawingelement

Eneroth3 commented 6 years ago

I'm not aware of how the C API works but in Ruby it inherits from Entity. However it behaves somewhat like a DrawingElement, e.g. can be picked up with a PickHelper if I'm not mistaking.

jimfoltz commented 6 years ago

Yeah I'm not sure what function from a DrawingElement make sense for the Axes. hidden() maybe but it doen't work for me.