Class FEFilmAPI
Last update: 16.07.2025Namespace: VM.API.Pre.Links
Assembly: VM.API.Pre.Links.dll
This class implements APIs for ball placing.
public static class FEFilmAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Methods
AddPath(Obj, Obj, WindingDirection, ExpressionValueVariable)
Add path.
[NotNullObj(new string[] { "film", "designSubentity" })]
[MatchTypeObj(new object[] { "film", typeof(FEFilm) })]
[GreaterThanZero(new string[] { "radius" })]
public static void AddPath(this Obj film, Obj designSubentity, WindingDirection windingDirection, ExpressionValueVariable radius)
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
Will be thrown if 'film', 'designSubentity' are null.
Will be thrown if item type of 'film' is not
Will be thrown if item type of 'designSubentity' is not
Will be thrown if the 'radius' value is equal to or less than 0.
ChangeName(string, string)
Change name.
[NotNullOrEmpty(new string[] { "oldName", "newName" })]
public static void ChangeName(string oldName, string newName)
Parameters
oldName string
The old name.
newName string
The new name.
Exceptions
Will be thrown if 'oldName', 'newName' are null.
ClearPath(Obj)
Clear path.
[NotNullObj(new string[] { "film" })]
[MatchTypeObj(new object[] { "film", typeof(FEFilm) })]
public static void ClearPath(this Obj film)
Parameters
film Obj
The fe film to clear path.
Exceptions
Will be thrown if 'film' is null.
Will be thrown if item type of 'film' is not
CreateFEFilm(SubSystemDocument, IEnumerable, string)
Create fe film
[NotNull(new string[] { "document", "paths" })]
public static Obj CreateFEFilm(this SubSystemDocument document, IEnumerable<obj> paths, string name = "")
Parameters
document SubSystemDocument
The document to create the fe film.
paths IEnumerable
The paths to create the fe film.
name string
The name of the
Returns
Obj
The new
Exceptions
Will be thrown if 'document', 'paths' are null.