Layer class
Leave feedback
On this page
Represents a layer contained in the CAD drawing.
The Layer type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of Layer class. |
| init | Initializes a new Layer instance. |
| init | Initializes a new Layer instance. |
| Method | Description |
|---|---|
| equals | Determines whether the current Layer is the same as the specified Layer object. |
| equals | Determines whether the current Layer is the same as the specified object. |
| get_hash_code | Returns the hash code for the current Layer object. |
| to_string | Returns a string that represents the current object. |
from groupdocs.viewer.results import Layer
# Specify layers to render when viewing a CAD file
layers = [
Layer("WALLS"),
Layer("RACKS")
]
- module
groupdocs.viewer.results
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.