Assembly: VM.API.Pre.Links.dll This class implements APIs for ball placing.
Inheritance
object ← FEFilmAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
AddPath(Obj, Obj, WindingDirection, ExpressionValueVariable)
Add path.Parameters
film Obj
The fe film to add path.
designSubentity Obj
The design subentity.
windingDirection WindingDirection
The winding direction type.
radius ExpressionValueVariable
The radius.
Exceptions
ArgumentNullException Will be thrown if ‘film’, ‘designSubentity’ are null. ArgumentException Will be thrown if item type of ‘film’ is not FEFilm. ArgumentException Will be thrown if item type of ‘designSubentity’ is not IDesignPoint or IDesignFrame. ArgumentOutOfRangeException Will be thrown if the ‘radius’ value is equal to or less than 0.ChangeName(string, string)
Change name.Parameters
oldName string
The old name.
newName string
The new name.
Exceptions
ArgumentNullException Will be thrown if ‘oldName’, ‘newName’ are null.ClearPath(Obj)
Clear path.Parameters
film Obj
The fe film to clear path.
Exceptions
ArgumentNullException Will be thrown if ‘film’ is null. ArgumentException Will be thrown if item type of ‘film’ is not FEFilm.CreateFEFilm(SubSystemDocument, IEnumerable<Obj>, string)
Create fe film FEFilm.Parameters
document SubSystemDocument
The document to create the fe film.
paths IEnumerable<Obj>
The paths to create the fe film.
name string
The name of the FEFilm. If empty, default name starts with ‘FEFilm_’ will be generated and used.
Returns
Obj The new FEFilm object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘paths’ are null.GenerateFEFilm(Obj, string)
Generate FE Film.Parameters
film Obj
The fe film to generate.
feBodyName string
The fe body name.