PresentationDocument
类型: 类
领域: Scene 与产物
推荐导入: from cadflow.scene import PresentationDocument
签名
class PresentationDocument(value: 'DocumentValue | Mapping[str, Any]') -> 'None'
功能说明
PresentationDocument 是 CadFlow Scene 与产物领域的公共类。
原始 API 说明
PresentationDocument(value: 'DocumentValue | Mapping[str, Any]') -> 'None'
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
value | 'DocumentValue | Mapping[str, Any]' | 是 | - | 源码 Docstring 未单独说明。 |
返回值
类型: 'None'
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
数据字段
| 名称 | 类型 | 默认值 |
|---|---|---|
_value | 'Mapping[str, Any]' | required |
_canonical_bytes | 'bytes' | required |
_canonical_hash | 'str' | required |
行为与约束
- 实例是不可变 dataclass 值;更新式工作流会返回替代值。
导入检查
from cadflow.scene import PresentationDocument