SetComponentPropertiesCommand Class

Tool to batch update component data: standard attributes, properties, and internal fields (PartName, location, rotation, mirror). Only standard component attributes (FeatureAttributeEnum from IAttribute.GetAllComponentAttributeEnums) are supported (no user attributes). Deletion is done by passing null as value (attributeValue/propertyValue). Empty string does NOT delete. Location values are provided in locationUnit (mm or mil); rotation normalized to [0..360). FLOAT attributes: If IsUnitDependingINCHMM => input value expected in mm and converted internally to inch; If IsUnitDependingMILSMICRON => value expected in mil (no conversion). OPTION attributes must use one of EnumOptions. BOOLEAN accepts true/false. INTEGER must be numeric. TEXT stored verbatim.

Definition

Namespace: PCBI_AI_Agent.MCP.Implementations
Assembly: PCBI_AI_Agent (in PCBI_AI_Agent.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class SetComponentPropertiesCommand : IMCPTool
Inheritance
Object    SetComponentPropertiesCommand
Implements
IMCPTool

Constructors

SetComponentPropertiesCommandInitializes a new instance of the SetComponentPropertiesCommand class

Properties

Methods

See Also