// Obtain workspace beforehand and open for writing.
Workspace workspace = ...
workspace.Open(false, false);
// Special component definition.
RapidResistorDefinition definition = new RapidResistorDefinition();
definition.Color = Color.Aqua;
// Position of the rapid special component.
TransformProperty<LengthProperty> position = new TransformProperty<LengthProperty>
(
new LengthProperty(-50, Unit.Millimeter),
new LengthProperty(120, Unit.Millimeter),
new LengthProperty(70, Unit.Millimeter)
);
// Place attached part to occurrence.
workspace.PlaceRapidResistor(definition, position);