Parameters to specify the target parameter list to change.
typedef struct { API_Guid guid; Int32 libInd; API_ElemType type; Int32 filler_1; } API_ParamOwnerType;
Members
- guid
- element unique ID
- libInd
- library part index
- type
- element type
Remarks
This structure is used to specify the target of which the parameter list should be opened to edit. Possible targets are:
- parameters of a placed element (Library Part instance)
- default parameters of an element (default tool settings)
- default parameters of a Library Part itself
The required parametrization to each case:
API_ParamOwnerType |
|
---|---|
|
ignored |
|
required; set to the Library Part index |
|
ignored |
Element default
API_ParamOwnerType |
|
---|---|
|
required; set to |
|
required; set to zero |
|
required |
Placed element
API_ParamOwnerType |
|
---|---|
|
required; set to the element unique ID |
|
required; set to zero |
|
required |
For the utilization of API_ParamOwnerType
see the APIAny_OpenParametersID function.
From version 26 the typeID and variationID members were merged into an API_ElemType structure.
Requirements
- Version: API 2.1 or later
- Header: APIdefs_Goodies.h