Change driven / driving state of selected dimensions

You need to be logged in to view this content. Please login or become a member.

 Lanny McDonald Womens Jersey

2 Comments

  1. cvoelkel

    Are there any modifications that can be made to this code (or an alternate method) that it works on 3D sketch dimensions?

    • This is a known limitation, see SPR 369252: “IDimension::DrivenState cannot be set for dimension in 3D sketch”. Please email apisupport@solidworks.com and let them know that you would like to be notified when this fix is implemented. Given how long this SPR has existed, it appears that this isn’t a high priority issue for them.

      I am not aware of a reasonable workaround, unfortunately. I tested ISldWorks::RunCommand with swCommands_Dimension_Driven_Toggle but this did not appear to work on any sketch dimension let alone a 3D sketch dimension.

Questions and Comments

You must be logged in to post a comment.