ENsetlinktype | R Documentation |
Change a link's type
ENsetlinktype(index, type, action = "EN_UNCONDITIONAL")
index |
of link before type change |
type |
the new type to change the link to (see details) |
action |
the action taken if any controls contain the link (see details) |
Link type is one of: EN_CVPIPE, EN_PIPE, EN_PUMP, EN_PRV, EN_PSV, EN_PBV, EN_FCV, EN_TCV, EN_GPV
If actionCode is EN_UNCONDITIONAL then all simple and rule-based controls that contain the link are deleted when the link's type is changed. If set to EN_CONDITIONAL then the type change is cancelled if the link appears in any control and error 261 is returned.
link index after the type change
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.