This is a sample that
demonstrates usage of the C++ API within Streamspace Design. There are two
versions:
· An old style that relies on MFC for dialogs. Download it!
· A new style that uses the new portable dialog
scheme. Download it! [Updated
The old style is published
in case anyone would like to port the FSM functionality to AutoCAD/ObjectARX. If you’re planning that, your work mainly
consists of replacing the AssociateData functions
with their AutoCAD counterparts dwgIn/OutFields.
The command structure is also different. A command in Streamspace Design could
be described as an extension of the AcEdJig class.
The new style sample
contains three changes: the portable dialog scheme, adjustments for the new
property functionality and a minor change to the reference between commands and
the current view.
A word of warning
The
proxy class is just completed. It seems to handle its three responsibilities
well:
-
data holding during document load
-
data writing during document save
-
convert to proper class when application is loaded