vba_pattern_features
Generate VBA macros to create linear, circular, curve, fill, or variable patterns from selected features in SolidWorks.
Instructions
Generate VBA for pattern features
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"patternType": "<patternType>",
"featureNames": "<featureNames>",
"direction1": "<direction1>"
},
"name": "vba_pattern_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patternType | Yes | ||
| featureNames | Yes | Features to pattern | |
| direction1 | Yes | ||
| direction2 | No | ||
| axis | No | Axis for circular pattern | |
| angle | No | Total angle for circular pattern | |
| seedPoint | No | [x, y, z] for fill pattern |