Skip to main content
Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for Group.

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 Group update.

Parameters

group Obj The target Group to apply update. 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 IGroup.

CreateGroup(SubSystemDocument, IEnumerable<Obj>)

Create Group

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create a group. objs IEnumerable<Obj> The bodies of a group.

Returns

Obj The new Group object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘objs’ is null. ArgumentException Will be thrown if the type of ‘objs’ is not IGroup.