AnsweredAssumed Answered

How to Check if the Dimension is Linked with Breakline of the Drawing?

Question asked by Akash Bansude on Jul 25, 2019
Latest reply on Jul 26, 2019 by Fifi Riri

I have a UseCase To check If The Display Dimension is Linked with Breakline in code :

 

Drawing : 

 

UseCase :

  1. I have a code that Iterates through the Drawing, Sheets , Views and Dimensions.
  2. I need to get the list of Dimensions in a View with a check if the Given Dimensions are Linked with Breakline.

 

THINGS Tried :

  1. I tried using Annotations-GetAttachedEntityTypes() 
  2. Tried Comparing with swSelectType_e SolidWorks.Interop.swconst.swSelectType_e.swSelBREAKLINES ENUM
  3. But, None of Attached Entities Match with Breakline ENUM.
  4. It comes as swSelEDGES. And checks doesnot work.

  

 

Is there is method by which I can check if the Display Dimension is linked with Breakline with C# Code ?

Outcomes