Class GroupAPI
Last update: 09.03.2026Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for Group.
public static class GroupAPI
Inheritance
object ← GroupAPI
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
ApplyGroup(Obj, IEnumerable<Obj>)
Apply a
[NotNull(new string[] { "group" })]
public static void ApplyGroup(this Obj group, IEnumerable<Obj> objs)
Parameters
group Obj
The target
objs IEnumerable<Obj>
The collection of objects.
Exceptions
ArgumentNullException
Will be thrown if 'group' is null.
ArgumentException
Will be thrown if the type of 'group' is not
CreateGroup(SubSystemDocument, IEnumerable<Obj>)
Create
[NotNull(new string[] { "subSystemDocument", "objs" })]
public static Obj CreateGroup(this SubSystemDocument subSystemDocument, IEnumerable<Obj> objs)
Parameters
subSystemDocument SubSystemDocument
The
objs IEnumerable<Obj>
The bodies of a group.
Returns
The new
Exceptions
ArgumentNullException
Will be thrown if 'subSystemDocument', 'objs' is null.
ArgumentException
Will be thrown if the type of 'objs' is not