Description Sets the properties of a specified Conic surface. If the surface being modified is a child of an Element node (Lens, Mirror, Prism, etc.), only the conic term will be applied to the surface since the Element node controls the curvature of its child surfaces. This behavior can be dealt with by: 1.Converting the element to a Custom Element prior to issuing the Set Conic command. This process is not reversible and will force the user to interact with the surfaces directly rather than using the convenience of the element interface. 2.Using SetConic to control the conic parameter of the surface and the corresponding element structure (ex. T_LENS) to control the curvature parameter of the surface.
Syntax SetConic n, entity, curve, conic
Parameters n As Long Node number of the Conic surface.
entity As T_ENTITY The generic entity data for the Conic surface.
curve As Double The new curvature for the Conic surface.
conic As Double The new conic constant for the Conic surface.
See Also Examples
|