Link Cut List Custom Properties To File With Solidworks Macro Feature Api

Link Cut List Custom Properties To File With Solidworks Macro Feature Api This vba macro inserts the macro feature using solidworks api into the part file which allows to dynamically link specified cut list custom properties to the file generic custom properties. macro feature rebuilds automatically when the parent weldment feature (e.g. structural member feature) is changed. Get solid bodies from cut list folders and get custom properties example (vba) this example shows how to get the solid bodies from cut list folders and how to get the custom properties for the solid bodies.

Link Cut List Custom Properties To File With Solidworks Macro Feature Api I have been working on trying to link the cut list properties to the drawing while keeping the property generic so a macro can easily enter the info without adding a lot of extra lines (not a macro expert). This vba macro example demonstrates how to read all properties from all sources of custom properties using solidworks api. this includes file (general), configuration specific and cut list properties. Search 'get custom property values on weldment cut list folders example (vba)' in the solidworks knowledge base. In this blog article i will go through various applications and code example for managing custom properties using solidworks api. all types of custom properties: file specific (general), configuration specific or cut lists can be managed in unified way via icustompropertymanager interface.

Link Cut List Custom Properties To File With Solidworks Macro Feature Api Search 'get custom property values on weldment cut list folders example (vba)' in the solidworks knowledge base. In this blog article i will go through various applications and code example for managing custom properties using solidworks api. all types of custom properties: file specific (general), configuration specific or cut lists can be managed in unified way via icustompropertymanager interface. The next step is getting all children subfeatures of the solid body folder. all of its children are cut list folders. here’s a full example to get all cut list folders (and their custom property count) in vba:. The macro that i want to write takes a value out of a property from the fileproperties and writes the value into the cutting list attribute. the property is teilenummer, the value of this property is taken into the code. This will clear out any properties already on the file before adding your new ones in. syntax is pretty straightforward, all you need to do is edit the swmodel.addcustominfo2 portions. i left in some stuff we use at my office as an example. set swapp = application.sldworks. set swmodel = swapp.activedoc. dim vconfs as variant. dim i as integer. Vba macro to copy solidworks custom properties from cut list (sheet metal or weldment) to model or configuration.

Link Cut List Custom Properties To File With Solidworks Macro Feature Api The next step is getting all children subfeatures of the solid body folder. all of its children are cut list folders. here’s a full example to get all cut list folders (and their custom property count) in vba:. The macro that i want to write takes a value out of a property from the fileproperties and writes the value into the cutting list attribute. the property is teilenummer, the value of this property is taken into the code. This will clear out any properties already on the file before adding your new ones in. syntax is pretty straightforward, all you need to do is edit the swmodel.addcustominfo2 portions. i left in some stuff we use at my office as an example. set swapp = application.sldworks. set swmodel = swapp.activedoc. dim vconfs as variant. dim i as integer. Vba macro to copy solidworks custom properties from cut list (sheet metal or weldment) to model or configuration.

Custom Properties Macro Trouble Solidworks This will clear out any properties already on the file before adding your new ones in. syntax is pretty straightforward, all you need to do is edit the swmodel.addcustominfo2 portions. i left in some stuff we use at my office as an example. set swapp = application.sldworks. set swmodel = swapp.activedoc. dim vconfs as variant. dim i as integer. Vba macro to copy solidworks custom properties from cut list (sheet metal or weldment) to model or configuration.

Macro To Copy Solidworks Custom Properties From Cut List To Model
Comments are closed.