Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

Unlinking a Document from a Database Element

  • Last UpdatedMay 25, 2022
  • 1 minute read

Once there is an association between an element and a Link Descriptor you can break the assignment by using the DLREMOVE command. The command syntax is:

----------------+

/ |

>--- DLREMove ----*-- <selatt> -----+------>

It is possible to remove an association both by removing a link from a Link Descriptor to a database element or by removing a link from a database element to a Link Descriptor. For example:

If current element is a Hull Panel Element (HPAN) named /PANEL1 the following command removes link to document described by /MYDOC1 from /PANEL1:

> DLREM /MYDOC1

If current element is a Link Descriptor (LNDESC) named /MYDOC1 the following command removes link to document described by this Link Descriptor to /PUMP1:

> DLREM /PUMP1

The following command removes all Link Descriptor associations from the current element:

> DLREM LINks

The following command removes the first five Link Descriptor associations from the current element:

> DLREM LIN 1 TO 5

If the current element is a Link Descriptor you can retrieve or set the URL stored in this descriptor. To link to an external resource you should directly set the URL:

> URL 'file:///Docsys/MyDocument.doc'

The Link Descriptor has a pseudo attribute LNKREF that returns a database reference if the descriptor links internally to Dabacon. If you set the URL to an external resource LNKREF returns a null reference:

> QUERY LNKREF

Url DBRef Nulref

You can use the LNKREF to set link to an internal database reference for example, a drawing:

> LNKREF /DRAWING1

> QUERY LNKREF

Url DBRef / DRAWING1

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in