Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
ESEric Snyder27/10/2021
Still super confused about SketchBlocks and transforms. What I know so far is:
- A sketch block instance has a sketch block definition.
- A sketch block definition has a sketch but that sketch needs to be transformed to be in it's final location in the sketch. I think the transform here is the transform to use. By the way. The docs here are wrong. This transform is just the math transform property - it is not a method that actually transforms the sketch entities like it states.
- A block has an insertion point and a rotation angle.
- Blocks can contain blocks.
Here is where things get downright fuzzy. What should be the procedure here?
- Get the block definition sketch and the math transform property.
- Transform all the entities in the sketch.
- Translate, scale and rotate the entities in the sketch based on the block's insertion point, rotation and scale?
What about a block inside a block?