Book a Demo

Author Topic: Fixing size and shape of Diagram Objects  (Read 2871 times)

trickster60

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Fixing size and shape of Diagram Objects
« on: January 14, 2012, 03:54:03 pm »
I am writing an Add-In and I want to create "part" like elements in that they behave like "parts" in diagrams, ie when they are embedded within another element they cannot be dragged out of the owning element. However I also want them to behave a bit like "ports" in that their shape and size cannot be altered. Can anyone help me?

I have scoured the documentation on how this might be done without success. I was wondering if Element.CustomProperties for Ports or Parts might be a means of achieving this but I have not been able to find any specific information on the CustomProperties of the various types of elements.

Thanks in advance