DeleteAttachment
delete an attachment from the linked MapleSim model
Calling Sequence
Parameters
Description
Examples
A := MapleSim:-LinkModel();
A:-DeleteAttachment(name)
name
-
string ; the name of the attachment to delete
A:-DeleteAttachment(name) deletes the attachment name from the linked MapleSim model A.
A:-DeleteAttachment cannot be used on models linked to Modelica files.
The A := MapleSim:-LinkModel() statement needs to be run prior to successfully using any of the ModelObject A's export functions.
Linking to a MapleSim model (located in .msim file):
Set an attachment to the linked MapleSim Model:
Check the attachment was set:
Delete the attachment
Check that the deletion was successful:
See Also
MapleSim
MapleSim[LinkModel]
MapleSim[LinkModel][ListAttachments]
MapleSim[LinkModel][SetAttachment]
Download Help Document