Documentation de l'API > Drawings and detail > Object ProDwg > Function ProDwgLayerItemInit
Function ProDwgLayerItemInit
Description
Initializes a layer item structure for the singular case when all of the following are true:
The layer owner is a drawing.
The layer item owner is an assembly.
The layer item is a component.
You want to control the display status of this component only in a subassembly specified by the given path (owner).
In all other situations, use the function ProLayerItemInit().
Synopsis
#include <ProLayer.h>
ProDwgLayerItemInit
(
/* (In)
The item type.
*/
int id
/* (In)
The item identifier.
*/
/* (In)
The owner of the item. You can have table_num greater than 0 for type PRO_LAYER_SUB_ASSEMBLY only.
*/
/* (Out)
The layer item.
*/
)
Returns
The function successfully initialized the structure.
One or more of the input arguments are invalid.
See Also
Sample Code References
User Guide References
Est-ce que cela a été utile ?