How to hide extension line and dimension line of a dimension in drawing.?
(see image attached), once these two lines are hiddens, it looks like as shown in image.
You should be able to right click on the extension or dimension line you want to hide, and get a menu with the option to hide the respective line. Sorry I don't have a screen shot handy just at the moment.
I forgot to mention that- I am looking for SolidWorks API to do this.
I have SW 2015 and I don't get all those options on RMB. Just hide extension line. I do that and then there is no "show" option and there are not any options for hide/show dimension line. Probably a setting issue, does anyone know what I need to do to show those options?
Martha,,,, If you are not getting the option of hiding the extension line on "right-click", expand the fly-out menu and click on customize menu. Then check the "hide dimension line" option. It then should show as an option on the right-click.
I'm not getting that option in the customize menu either.
I'm not sure but it may have something to do with the version you are using. It is available in 14&15. I thought it might have something to do with the drafting standards but it is available no matter what standard I use.
I see your are using 2015. Missed that. I'm using professional but I can't imagine that having anything to do with it. I don't have an answer. Couldn't figure out a way to add options to that menu. Hope someone knows since I have wondered about this before.
Sorry for the delay in responding. I am embarrassed. One must hover over the extension or dimension line, before RMB. Then it gives the appropriate option to hide. It doesn't give a choice of which element it will hide, only the one that you are hovering over.
Thanks for your hlep!
Thanks for letting us know (better late than never). It certainly had me scratching my head.
Please see: how to hide the dimension line and extension line in one side of the dimension
Thanks for all your efforts.
I found how this can be done using SolidWorks APIs.
swDisplayDim.LeaderVisibility = swLeaderLineVisibility_e.swLeaderLineSecond
swDisplayDim.WitnessVisibility = swWitnessLineVisibility_e.swWitnessLineSecond
swDisplayDim.CenterText = False
Retrieving data ...