Constructor
new Autocad(opts)
Creates a autocad
Parameters:
Name | Type | Description |
---|---|---|
opts |
object | The configuration options. |
Methods
getXrefs() → {Promise.<any>|Promise.<(*|never)>}
getXrefs
Returns:
- Type
- Promise.<any> | Promise.<(*|never)>
getXrefs() → {Promise.<any>|Promise.<(*|never)>}
getXrefs
Returns:
- Type
- Promise.<any> | Promise.<(*|never)>
refresh(uuid)
refresh
Parameters:
Name | Type | Description |
---|---|---|
uuid |
refresh(uuid)
refresh
Parameters:
Name | Type | Description |
---|---|---|
uuid |
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setToken(token)
Set the token in Autocad variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |
setToken(token)
Set the token in Autocad variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |