XCAD.NET
XCAD.NET
Framework for .NET (C# and VB.NET) to create modern application for CAD systems (SOLIDWORKS, SOLIDWORKS Document Manager, Autodesk Inventor, etc.)
Get technical support Connect to xCAD community on Discord server Explore code and application examples xCAD.NET Templates for Visual Studio and VS Code Access source code

Life cycle of SOLIDWORKS macro feature


Macro feature resides in the model and saved together with the document. Macro feature can handle various events during its lifecycle

  • Regeneration. Override OnRebuild method to handle this event.
  • Editing. Override OnEditDefinition method to handle this event.
  • Updating state. Override OnUpdateState method to handle this event.

Macro feature is a singleton service. Do not create any class level variables in the macro feature class.


Powered by Docify