Class ReplaceFEBodyAPI
Last update: 09.03.2026Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs to replace FE body.
public static class ReplaceFEBodyAPI
Inheritance
object ← ReplaceFEBodyAPI
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
ReplaceFEBody(SubSystemDocument, Obj, string, bool, bool)
Replace FE body.
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "nodalBody" })]
[MatchTypeObj(new object[] { "nodalBody", typeof(NodalBody) })]
[ExistFile(new string[] { "newFilePath" })]
public static void ReplaceFEBody(this SubSystemDocument document, Obj nodalBody, string newFilePath, bool allowMulti = false, bool hideRemoveMessage = true)
Parameters
document SubSystemDocument
The document to replace FE body.
nodalBody Obj
The nodal body.
newFilePath string
The new mesh file path.
allowMulti bool
The multi allow flag. The default value is false.
hideRemoveMessage bool
The remove message show/hide flag. The default value is hide.
Exceptions
ArgumentNullException
Will be thrown if 'document' or 'newFilePath' argument is empty.
ArgumentOutOfRangeException
Will be thrown if 'thickness' value equal to or less than 0.
FileNotFoundException
Will be thrown if newFilePath file is not exist.