Sie sind auf Seite 1von 1

7/6/13

2011 api - SolidWorks API Object Model Overview

1995-2013 Dassault Systmes. All rights reserved.

SolidWorks API Object Model Overview


The ISldWorks object is the application object; it is the top-level object in the SolidWorks API object hierarchy. All of the other SolidWorks objects are located below the ISldWorks object in the object hierarchy and can be accessed directly or indirectly. If an object can only be accessed indirectly, then you must reference that object from another object higher in the object hierarchy. For example, the ISketchSpline object can only be accessed indirectly; it cannot exist on its own. You must reference the ISketchSpline object from the ISketchSegment object because it exists only within the context of the ISketchSegment object. Most of the SolidWorks API objects correspond to user-interface functionality; however, several SolidWorks API objects provide functionality only accessible through the SolidWorks API. For example, the IFeature object lets you access features in the FeatureManager design tree, but the IAttribute object is a SolidWorks APIonly object because there is no corresponding user-interface functionality. Interface, method, property, and delegate reference topics contain links to their corresponding Visual Basic for Applications (VBA) object, method, property, and event topics. Each Visual Basic for Applications (VBA) object topic contains that object's object model in graphical format, if one exists. If an object model does not exist for that object, then the object's topic is blank.

help.solidworks.com/2011/English/api/sldworksapiprogguide/GettingStarted/SolidWorks_API_Object_Model_Overview.htm?format=P

1/1

Das könnte Ihnen auch gefallen