api
Provide access to Revit API.
Examples:
Functions
get_product_serial_number()
Return serial number of running host instance.
Returns:
Type | Description |
---|---|
str
|
Serial number |
is_product_demo()
Determine if product is using demo license.
Returns:
Type | Description |
---|---|
bool
|
True if product is using demo license |
is_api_object(data_type)
Check if given object belongs to Revit API.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_type |
object
|
Object to check |
required |
Returns:
Type | Description |
---|---|
bool
|
True if object belongs to Revit API |