Actions
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
.NET#
public class Actions : SdkNamespaceAPI Namespace for (virtual) file system related calls. These calls allow you to build/query the tree structure used to organize models in BIM.works Repository
Inheritance and interfaces#
System.Object- SdkNamespace
Members#
| Member | Kind | Description |
|---|---|---|
| Actions(BimWorksClient) | Constructor | |
| AddFolder(Guid, string) | Method | Create an action folder under parentUuid (an action folder or the root action) |
| AddQuery(Guid, string, string, bool) | Method | Save a BQL query as an action under parentUuid. Run it with Bim.Query2(versionUuids, queryUuid) |
| DeleteAction(Guid) | Method | Delete an action; deleting a folder also deletes what it holds |
| GetRootAction() | Method | |
| ListActions(Guid) | Method |
Actions(BimWorksClient)#
.NET#
public Actions(BimWorksClient bimWorksClient)Parameters#
| Name | Type | Description |
|---|---|---|
bimWorksClient |
BimWorksClient |
AddFolder(Guid, string)#
.NET#
public Guid AddFolder(Guid parentUuid, string name)Create an action folder under parentUuid (an action folder or the root action)
Parameters#
| Name | Type | Description |
|---|---|---|
parentUuid |
System.Guid |
|
name |
System.String |
Returns#
The UUID of the new folder
AddQuery(Guid, string, string, bool)#
.NET#
public Guid AddQuery(Guid parentUuid, string name, string bql, bool favourite = false)Save a BQL query as an action under parentUuid. Run it with Bim.Query2(versionUuids, queryUuid)
Parameters#
| Name | Type | Description |
|---|---|---|
parentUuid |
System.Guid |
|
name |
System.String |
|
bql |
System.String |
|
favourite |
System.Boolean |
Returns#
The UUID of the new query action
DeleteAction(Guid)#
.NET#
public void DeleteAction(Guid uuid)Delete an action; deleting a folder also deletes what it holds
Parameters#
| Name | Type | Description |
|---|---|---|
uuid |
System.Guid |
GetRootAction()#
.NET#
public Guid GetRootAction()ListActions(Guid)#
.NET#
public List<Action> ListActions(Guid parentUuid)Parameters#
| Name | Type | Description |
|---|---|---|
parentUuid |
System.Guid |
Inherited members#
- BimWorksClient
- Execute(Request)
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString