ds-blue-logo
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:

  1. A sketch block instance has a sketch block definition.
  2. 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.
  3. A block has an insertion point and a rotation angle.
  4. Blocks can contain blocks.

Here is where things get downright fuzzy. What should be the procedure here?

  1. Get the block definition sketch and the math transform property.
  2. Transform all the entities in the sketch.
  3. 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?