Fs
Class in BIM.works_SDK.
API catalogue · BIM.works_SDK · Class
public class Fs : 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 |
|---|---|---|
| Fs(BimWorksClient) | Constructor | |
| CreateNode(Guid, string, bool, InputFileType) | Method | Creates a new Node under the provided parent with the given name. You can also indicate whether this is to be a folder node or not. |
| CreateNodeIfNotExists(Guid, string, bool, InputFileType) | Method | Creates a Node but only if it did not already exists. If the Node already existed it's Guid will be returned, otherwise the Guid of the newly created Node is… |
| DeleteNode(Guid) | Method | Delete the given Node |
| DeleteNodeError(Guid, Guid) | Method | Delete the given Error |
| DeleteNodeIfExists(string) | Method | Delete the given Node only if it exists. This will not throw an exception if the Node did not exist. Return true if a Node was found and deleted, or false if… |
| DeleteNodeVersion(Guid, Guid) | Method | Delete the given Version |
| GetNodeByPath(string) | Method | Returns a Node by it's path |
| GetNodeByUuid(Guid) | Method | Return a Node based on it's uuid |
| GetNodeByVersionUuid(Guid) | Method | Get a Node by the given versionUuid. This is a quick way to get information about the Node of a Version without first acquiring the UUID of the Node |
| GetNodeError(Guid) | Method | Get a Error by it's uuid |
| GetNodeVersion(Guid) | Method | Get a NodeVersion by it's uuid |
| GetRootNode() | Method | Returns the root node of the current context. For normal user accounts this will return the TreeNode of your account. For API Tokens this will return the Nod… |
| GetRootNodeUuid() | Method | Get the UUID of your current root Node |
| ListNodeErrors(Guid) | Method | List all the errors on a given node |
| ListNodeVersions(Guid) | Method | List all the Versions on the given Node |
| ListNodes(Guid) | Method | Lists all the nodes that exist under the given Node uuid |
| ListNodesRecursive(Guid) | Method | Lists all the nodes that exist under the given Node uuid. This will recursive into subfolders but the returned list is flattened. |
| NodeExists(string) | Method | Returns whether a Node exists at the given path |
| RenameNode(Guid, string) | Method | Undelete the given Node |
| UndeleteNode(Guid) | Method | Undelete the given Node |
Fs(BimWorksClient)#
public Fs(BimWorksClient bimWorksClient)Parameters#
| Name | Type | Description |
|---|---|---|
bimWorksClient |
BimWorksClient |
CreateNode(Guid, string, bool, InputFileType)#
public Guid CreateNode(Guid parentNodeUuid, string name, bool isFolder, InputFileType inputFileType)Creates a new Node under the provided parent with the given name. You can also indicate whether this is to be a folder node or not.
Parameters#
| Name | Type | Description |
|---|---|---|
parentNodeUuid |
System.Guid |
|
name |
System.String |
|
isFolder |
System.Boolean |
|
inputFileType |
InputFileType |
CreateNodeIfNotExists(Guid, string, bool, InputFileType)#
public Guid CreateNodeIfNotExists(Guid parentNodeUuid, string name, bool isFolder, InputFileType inputFileType)Creates a Node but only if it did not already exists. If the Node already existed it's Guid will be returned, otherwise the Guid of the newly created Node is returned.
Parameters#
| Name | Type | Description |
|---|---|---|
parentNodeUuid |
System.Guid |
|
name |
System.String |
|
isFolder |
System.Boolean |
|
inputFileType |
InputFileType |
DeleteNode(Guid)#
public bool DeleteNode(Guid nodeUuid)Delete the given Node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
DeleteNodeError(Guid, Guid)#
public bool DeleteNodeError(Guid nodeUuid, Guid errorUuid)Delete the given Error
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
|
errorUuid |
System.Guid |
DeleteNodeIfExists(string)#
public bool DeleteNodeIfExists(string path)Delete the given Node only if it exists. This will not throw an exception if the Node did not exist. Return true if a Node was found and deleted, or false if the Node did not exists or could not be deleted.
Parameters#
| Name | Type | Description |
|---|---|---|
path |
System.String |
DeleteNodeVersion(Guid, Guid)#
public bool DeleteNodeVersion(Guid nodeUuid, Guid versionUuid)Delete the given Version
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
|
versionUuid |
System.Guid |
GetNodeByPath(string)#
Returns a Node by it's path
Parameters#
| Name | Type | Description |
|---|---|---|
path |
System.String |
GetNodeByUuid(Guid)#
Return a Node based on it's uuid
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
GetNodeByVersionUuid(Guid)#
Get a Node by the given versionUuid. This is a quick way to get information about the Node of a Version without first acquiring the UUID of the Node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeVersionUuid |
System.Guid |
GetNodeError(Guid)#
public TreeNodeError GetNodeError(Guid nodeErrorUuid)Get a Error by it's uuid
Parameters#
| Name | Type | Description |
|---|---|---|
nodeErrorUuid |
System.Guid |
GetNodeVersion(Guid)#
public TreeNodeVersion GetNodeVersion(Guid nodeVersionUuid)Get a NodeVersion by it's uuid
Parameters#
| Name | Type | Description |
|---|---|---|
nodeVersionUuid |
System.Guid |
GetRootNode()#
Returns the root node of the current context. For normal user accounts this will return the TreeNode of your account. For API Tokens this will return the Node on which the API Token was created.
GetRootNodeUuid()#
public Guid GetRootNodeUuid()Get the UUID of your current root Node
ListNodeErrors(Guid)#
public List<TreeNodeError> ListNodeErrors(Guid nodeUuid)List all the errors on a given node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
ListNodeVersions(Guid)#
public ICollection<TreeNodeVersion> ListNodeVersions(Guid nodeUuid)List all the Versions on the given Node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
ListNodes(Guid)#
Lists all the nodes that exist under the given Node uuid
Parameters#
| Name | Type | Description |
|---|---|---|
parentNodeUuid |
System.Guid |
ListNodesRecursive(Guid)#
Lists all the nodes that exist under the given Node uuid. This will recursive into subfolders but the returned list is flattened.
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
NodeExists(string)#
public bool NodeExists(string path)Returns whether a Node exists at the given path
Parameters#
| Name | Type | Description |
|---|---|---|
path |
System.String |
RenameNode(Guid, string)#
public bool RenameNode(Guid nodeUuid, string newName)Undelete the given Node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
System.Guid |
|
newName |
System.String |
UndeleteNode(Guid)#
public bool UndeleteNode(Guid nodeUuid)Undelete the given Node
Parameters#
| Name | Type | Description |
|---|---|---|
nodeUuid |
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