2 Replies Latest reply on Apr 8, 2018 11:00 PM by Sanket Pundge

    How to add dimension to hole in drawing view using c#?

    Sanket Pundge

      Hello every one .

      I Want to add dimension to Hole by using c# . for that i follow some logic i know its not correct , Can any one please give me correct logic .

      At Run time After Creating hole .

      Select that hole ,

      from feature GetFace

      from faces collect edge / entity .

      find outside Hole edge then give to Name .

      Untitled.png

      in drawing

      open sheet

      Collect all views > in views collect all edge by using Get visible entity .

      check if entity name is equal to EdgeName then Add dimension .

      So please help me . its is possible give dimension without knowing the edge name .

      just check Entity type is circular then add dimension .