Hi,
you can use the GlobalVisibility.ShowPorts property of the drawing view.
Best Regards,Nevron Support Team