#include <SketchPlugin_Sketch.h>
#include <list>
-#define LINE_LENGHT_BLOCKED
class GeomAPI_Pnt2d;
/**\class SketchPlugin_Line
}
/// Line length.
-#ifndef LINE_LENGHT_BLOCKED
static const std::string& LENGTH_ID()
{
static const std::string MY_LENGTH("LineLength");
return MY_LENGTH;
}
-#endif
+
/// Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind();
/// Returns true is sketch element is under the rigid constraint
SKETCHPLUGIN_EXPORT virtual bool isFixed();
+ /// Request for initialization of data model of the feature: adding all attributes
+ virtual void initAttributes();
+
/// Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();