Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCADReference Class
Syntax
C++
class OdCADReference : public OdObject;

This class implements a reference to a CAD object in .pdf documents created with Publish SDK. The interface of this class sets a visual representation of any two-dimensional CAD object by setting its transformation, scale, rotation angle and translation. The target object is defined with the OdCADDefinition class, and the instance of OdCADReference just refers to it. Any modifications are applied to the visual representation, not to the target object. For example, if you have an object with dimension 10x10 units and create a reference to it through the instance of the OdCADReference class, then call the setScale() method with the input parameter value equal to 2.0, the reference object in the document will have a dimension of 20x20 units.

OdPdfPublish__OdCADReferenceOdPdfPublish__OdCADReferenceOdPdfPublish__OdCADReference

File: PdfPublishCADReference.h 

Namespace: OdPdfPublish 

Module: API Reference 

Show:
No members matching the current filter
Show:
No members matching the current filter
Copyright © 2002-2022. Open Design Alliance All rights reserved.