Tapir types¶
No types match. Try another name or clear the filter.
A¶
Import from multiconn_archicad.models.tapir.types.
AccessRight ¶
name: str
# Whether the role of the current user has this right.
hasRight: bool
Import from multiconn_archicad.models.tapir.types.
AccuracyType ¶
Methods for rounding decimal values.
OFF = 'Off'
SHOW_SMALL5 = 'ShowSmall5'
SHOW_SMALL25 = 'ShowSmall25'
SHOW_SMALL1 = 'ShowSmall1'
SHOW_SMALL01 = 'ShowSmall01'
INCH_CASE_FRACTIONS = 'InchCaseFractions'
Import from multiconn_archicad.models.tapir.types.
Action ¶
Store saves the current view settings, Restore puts the stored ones back. Call them in pairs: a second Store before a Restore is refused.
STORE = 'Store'
RESTORE = 'Restore'
Import from multiconn_archicad.models.tapir.types.
ActionCenterCheck ¶
HOTLINKS = 'Hotlinks'
ALL = 'All'
LIBRARIES = 'Libraries'
DRAWINGS = 'Drawings'
LICENSES = 'Licenses'
Import from multiconn_archicad.models.tapir.commands.
ActivateDesignOptionsInCombinationsParameters ¶
# The design options to activate, each in the given combination.
designOptionsToActivate: list[DesignOptionActivation]
Import from multiconn_archicad.models.tapir.commands.
ActivateDesignOptionsInCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ActivateLayerCombinationParameters ¶
attributeId: AttributeId
Import from multiconn_archicad.models.tapir.commands.
ActivateLayerCombinationResult ¶
ActivateLayerCombinationResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ActiveDesignOption ¶
setName: str
# The name of the option to activate in the set. An empty string deactivates
# every option of the set.
designOptionName: str
Import from multiconn_archicad.models.tapir.types.
ActiveDesignOptionsInCombination ¶
designOptionCombinationId: DesignOptionCombinationId
# The list of active design options in the combination.
activeDesignOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ActiveGraphicalOverrideCombinationById ¶
Requires combinationId.
# The name of the graphic override combination, as shown in Document > Graphic
# Overrides > Graphic Override Combinations.
name: str | None = None
combinationId: GraphicOverrideCombinationId
Import from multiconn_archicad.models.tapir.types.
ActiveGraphicalOverrideCombinationByName ¶
Requires name.
combinationId: GraphicOverrideCombinationId | None = None
# The name of the graphic override combination, as shown in Document > Graphic
# Overrides > Graphic Override Combinations.
name: str
Import from multiconn_archicad.models.tapir.types.
ActiveRenovationFilterById ¶
Requires renovationFilterId.
# Name of the renovation filter. An exact match wins over a case-insensitive
# one.
name: str | None = None
# Identifier of the renovation filter, as listed by GetRenovationFilters.
# Takes precedence over name when both are given.
renovationFilterId: GuidId
Import from multiconn_archicad.models.tapir.types.
ActiveRenovationFilterByName ¶
Requires name.
# Identifier of the renovation filter, as listed by GetRenovationFilters.
# Takes precedence over name when both are given.
renovationFilterId: GuidId | None = None
# Name of the renovation filter. An exact match wins over a case-insensitive
# one.
name: str
Import from multiconn_archicad.models.tapir.commands.
AddCommentToIssueParameters ¶
issueId: IssueId
# The author of the new comment.
author: str | None = None
status: IssueCommentStatus | None = None
# Comment text to add.
text: str
Import from multiconn_archicad.models.tapir.commands.
AddCommentToIssueResult ¶
AddCommentToIssueResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
AddFilesToEmbeddedLibraryParameters ¶
# A list of library file additions to the embedded library
files: list[LibraryFileAddition]
# Optional. When true, an embedded library item already existing on an
# outputPath is deleted first, so the newly added file replaces the loaded
# library part. By default false: the existing loaded part stays in use.
# Requires Archicad 27 or newer.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
AddFilesToEmbeddedLibraryResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
AddLibrariesParameters ¶
# Local library folders or container files, by absolute path.
libraries: list[LibraryLocation]
Import from multiconn_archicad.models.tapir.commands.
AddLibrariesResult ¶
AddLibrariesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
AddLoadCasesToLoadCombinationParameters ¶
# The identifier of the load combination to add the load cases to.
loadCombinationId: GuidId
# The load cases to add, with their factors.
loadFactors: list[AnalyticalLoadFactor]
Import from multiconn_archicad.models.tapir.commands.
AddLoadCasesToLoadCombinationResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
AddMEPPreferenceTableRowsParameters ¶
# The guid of a preference table, as returned by GetMEPPreferenceTables (the
# branch, elbow and transition tables with includeFittingTables): a pipe or
# circular duct segment table, a branch or elbow table of the Piping or
# Ventilation domain, or, from Archicad 29, a transition table. Rectangular
# duct and cable carrier segment tables are found too, but their rows have no
# key. Archicad 27: any preference table, as returned by
# GetMEPPreferenceTableContainers.
tableId: MEPPreferenceTableId
# The rows to add, with their key and optionally their values. Branch tables
# from Archicad 28, elbow and transition tables from Archicad 29. Segment
# tables have a row for each reference id, so no row can be added to them.
# Archicad 27: the key has the shape only, the table gives the index.
rows: list[MEPPreferenceRowAddition]
Import from multiconn_archicad.models.tapir.commands.
AddMEPPreferenceTableRowsResult ¶
# One result per row, in the order of the rows.
executionResults: list[MEPPreferenceRowAdditionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointData ¶
itemType: AddOnViewpointType
# The root or group to create the item in. Required for a group or a leaf
# node, ignored for a root.
parentViewpointId: AddOnViewpointId | None = None
# The ID shown for the item in the Project Map.
displayId: str | None = None
# The name shown for the item in the Project Map.
displayName: str | None = None
# The view settings flags of a leaf node, as Archicad stores them (a bit
# field). Ignored for a root or a group.
viewSettingsFlags: int | None = None
# Data to attach to the item, base64 encoded.
data: str | None = None
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointDetails ¶
# The identifier of the add-on viewpoint item.
viewpointId: AddOnViewpointId
# The identifier of the root or group the item is in. Missing when Archicad
# reports no parent, as for a root.
parentViewpointId: AddOnViewpointId | None = None
itemType: AddOnViewpointTypeOrUndefined
# The ID shown for the item in the Project Map.
displayId: str
# The name shown for the item in the Project Map.
displayName: str
# The view settings flags of the item, as Archicad stores them (a bit field).
viewSettingsFlags: int
# The data the add-on attached to the item, base64 encoded. Empty when there
# is none.
data: str
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointId ¶
The identifier of an add-on viewpoint item.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointIdArrayItem ¶
A wrapper containing an add-on viewpoint identifier.
# The identifier of an add-on viewpoint item.
viewpointId: AddOnViewpointId
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointModificationData ¶
viewpointId: AddOnViewpointId
# The ID shown for the item in the Project Map.
displayId: str | None = None
# The name shown for the item in the Project Map.
displayName: str | None = None
# The view settings flags of the item, as Archicad stores them (a bit field).
viewSettingsFlags: int | None = None
# Data to attach to the item, base64 encoded. It replaces the attached data;
# an empty string removes it.
data: str | None = None
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointType ¶
Whether to create a root, a group or a leaf node. Roots and groups can't be created in a Teamwork project.
ROOT = 'Root'
GROUP = 'Group'
LEAF = 'Leaf'
Import from multiconn_archicad.models.tapir.types.
AddOnViewpointTypeOrUndefined ¶
Whether the item is a root, a group or a leaf node.
ROOT = 'Root'
GROUP = 'Group'
LEAF = 'Leaf'
UNDEFINED = 'Undefined'
Import from multiconn_archicad.models.tapir.commands.
AddPropertyToAttributesParameters ¶
# An existing custom property. Create it first with CreatePropertyDefinitions
# if needed.
propertyId: PropertyId
# The attributes (for example Building Materials) to make the property
# available for.
attributeIds: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
AddPropertyToAttributesResult ¶
AddPropertyToAttributesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
AffectedAttribute ¶
An attribute affected by an attribute replacement.
attributeType: str
attributeId: AttributeId
name: str
Import from multiconn_archicad.models.tapir.types.
AlertType ¶
The type of the alert dialog.
INFORMATION = 'information'
WARNING = 'warning'
ERROR = 'error'
Import from multiconn_archicad.models.tapir.commands.
AlignElementsParameters ¶
# The elements to align: Wall, Column, Beam, Slab, Roof, Shell, Morph, Mesh,
# Zone, Object, Lamp, Stair, Railing, CurtainWall, Line, PolyLine, Arc,
# Circle, Spline, Hatch, Text or Hotspot, in the current database.
elements: list[ElementIdArrayItem]
# The edge of the plan bounding boxes to align: left (smallest X), right
# (largest X), bottom (smallest Y), top (largest Y), centerX (the middle in X,
# so the elements line up on one vertical line) or centerY (the middle in Y,
# on one horizontal line).
alignTo: AlignTo
# Optional element to align to; it is not moved itself. Without it the
# elements are aligned to the outermost edge of the whole set (its leftmost
# left edge, its topmost top edge, ...), or for centerX and centerY to the
# middle of the bounding box of the whole set.
reference: ElementId | None = None
Import from multiconn_archicad.models.tapir.commands.
AlignElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
AlignTo ¶
The edge of the plan bounding boxes to align: left (smallest X), right (largest X), bottom (smallest Y), top (largest Y), centerX (the middle in X, so the elements line up on one vertical line) or centerY (the middle in Y, on one horizontal line).
LEFT = 'left'
RIGHT = 'right'
TOP = 'top'
BOTTOM = 'bottom'
CENTER_X = 'centerX'
CENTER_Y = 'centerY'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCoordinateSystem ¶
A local coordinate system, given by its X and Y axes.
xVector: Coordinate3D
yVector: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
AnalyticalCoordSysDirection ¶
Whether the values are in the global or in the local coordinate system.
GLOBAL = 'Global'
LOCAL = 'Local'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCrossSection ¶
The cross section of a curve member. The profile image of Archicad 26 and newer is not returned.
crossSectionType: AnalyticalCrossSectionType | None = None
width: float | None = None
height: float | None = None
veneerThickness: float | None = None
# The attribute index of the profile.
profileAttrIndex: int | None = None
# The attribute indices of the materials of the cross section.
materialAttrIndices: list[int] | None = None
# The parameters of the profile.
profileParameters: list[AnalyticalProfileParameter] | None = None
alignment: AnalyticalCrossSectionAlignment | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalCrossSectionAlignment ¶
The alignment of the cross section. Archicad 26 and newer.
TOP_LEFT = 'TopLeft'
TOP = 'Top'
TOP_RIGHT = 'TopRight'
LEFT = 'Left'
CENTER = 'Center'
RIGHT = 'Right'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM = 'Bottom'
BOTTOM_RIGHT = 'BottomRight'
NONE = 'None'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCrossSectionType ¶
RECTANGLE = 'Rectangle'
CIRCLE = 'Circle'
ATTRIBUTE = 'Attribute'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurve ¶
A curve of the Structural Analytical Model.
type: AnalyticalCurveType | None = None
begNode: AnalyticalNode
endNode: AnalyticalNode
# The points between the start and the end of the curve.
midCoords: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurveMember ¶
A curve member (beam, column) of the Structural Analytical Model.
analyticalMemberType: AnalyticalMemberType | None = None
elemGuid: GuidId | None = None
crossSection: AnalyticalCrossSection | None = None
curve: AnalyticalCurve | None = None
internalNodes: list[AnalyticalNode] | None = None
rotationAngle: float | None = None
ey: float | None = None
eyVector: Coordinate3D | None = None
ez: float | None = None
ezVector: Coordinate3D | None = None
# The attribute index of the layer.
layerAttrIndex: int | None = None
FEMType: AnalyticalCurveMemberFEMType | None = None
# The segments of a member with varying cross section. Archicad 26 and newer.
varyingSegmentList: list[AnalyticalVaryingSegment] | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurveMemberDetails ¶
curveMember: AnalyticalCurveMember
# The identifiers of the connections of the analytical member.
connections: list[GuidId]
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurveMemberFEMType ¶
STANDARD = 'Standard'
AXIAL_FORCE_ONLY = 'AxialForceOnly'
COMPRESSION_ONLY = 'CompressionOnly'
TENSION_ONLY = 'TensionOnly'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurveMemberStretch ¶
# The length added to the curve member at its start.
begAdditionalLength: float
# The length added to the curve member at its end.
endAdditionalLength: float
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalCurveType ¶
The type of the curve. Bezier exists from Archicad 26.
LINE = 'Line'
ARC = 'Arc'
SPLINE = 'Spline'
BEZIER = 'Bezier'
ELLIPSE = 'Ellipse'
Import from multiconn_archicad.models.tapir.types.
AnalyticalCustomVertexData ¶
The point of a CustomVertex.
customVertexCoord: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalCylinderSurface ¶
basePoint: Coordinate3D | None = None
axisDirection: Coordinate3D | None = None
referenceRay: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalEdgeLoad ¶
An analytical edge load: its settings and the member part it loads.
loadSettings: AnalyticalEdgeLoadSettings
loadedMemberPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalEdgeLoadCustomData ¶
The curve of an analytical edge load. CreateAnalyticalLoads needs at least one curve.
curve: list[AnalyticalCurve]
Import from multiconn_archicad.models.tapir.types.
AnalyticalEdgeLoadData ¶
edgeLoad: AnalyticalEdgeLoad
customData: AnalyticalEdgeLoadCustomData
Import from multiconn_archicad.models.tapir.types.
AnalyticalEdgeLoadDetails ¶
edgeLoad: AnalyticalEdgeLoad
customData: AnalyticalEdgeLoadCustomData
geometry: AnalyticalEdgeLoadCustomData
Import from multiconn_archicad.models.tapir.types.
AnalyticalEdgeLoadSettings ¶
# The load case the load belongs to.
loadCaseId: GuidId
loadForceType: AnalyticalLoadForceType
loadDistributionType: AnalyticalLoadDistributionType
coordinateSystemType: AnalyticalCoordSysDirection
startValue: Coordinate3D
endValue: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalExportElementPartId ¶
AnalyticalExportElementPartId: TypeAlias = (
AnalyticalElementPartId
)
Import from multiconn_archicad.models.tapir.types.
AnalyticalExportIdMapping ¶
Maps the edges and vertices of a surface member to the parts of the exported members. Archicad 26 and newer.
edges: AnalyticalExportMappingTable
vertices: AnalyticalExportMappingTable
Import from multiconn_archicad.models.tapir.types.
AnalyticalExportMappingItem ¶
partId: AnalyticalInternalMemberPartId
elemPartIds: list[AnalyticalElementPartId]
Import from multiconn_archicad.models.tapir.types.
AnalyticalExportMappingTable ¶
items: list[AnalyticalExportMappingItem]
Import from multiconn_archicad.models.tapir.types.
AnalyticalHoleContour ¶
contour: list[AnalyticalCurve]
Import from multiconn_archicad.models.tapir.types.
AnalyticalImportIdMapping ¶
Maps the edges and vertices of the given surface member to the parts of the new element. Archicad 26 and newer.
edges: AnalyticalImportMappingTable
vertices: AnalyticalImportMappingTable
Import from multiconn_archicad.models.tapir.types.
AnalyticalImportMapping ¶
elemPartId: AnalyticalElementPartId
memberPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalImportMappingTable ¶
items: list[AnalyticalImportMapping]
Import from multiconn_archicad.models.tapir.types.
AnalyticalInternalMemberPartId ¶
Identifies a part of an analytical member by its contour, edge or vertex and edge fragment.
contourIdx: int | None = None
edgeOrVertexIdx: int | None = None
edgeFragmentIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalLayerConnectionClass ¶
# The attribute index of the layer.
layerIndex: int
# The connection class of the layer.
connectionClassId: int
Import from multiconn_archicad.models.tapir.types.
AnalyticalLink ¶
An analytical link: its settings and the member parts it connects. The rigid and the spring settings are both required, whichever type the link has. Every rigidity type is required; a value left out is 0 and a resistance left out is false.
linkSettings: AnalyticalLinkSettings
startElementPartRef: AnalyticalMemberPartRef
endElementPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkConnectionType ¶
The connection type at an end of an analytical rigid link.
RIGID_CONNECTION = 'RigidConnection'
HINGE_CONNECTION = 'HingeConnection'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkDetails ¶
link: AnalyticalLink
geometry: AnalyticalLinkGeometry
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkGeometry ¶
The geometry of an analytical link in a Structural Analytical Model.
coordinates: list[Coordinate3D]
translationStiffnessVector: Coordinate3D
rotationStiffnessVector: Coordinate3D
curves: list[AnalyticalCurve]
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkGeometryType ¶
LINK1_D = 'Link1D'
LINK2_D = 'Link2D'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkSettings ¶
geometry: AnalyticalLinkGeometryType
type: AnalyticalLinkType
rigidSettings: AnalyticalRigidLinkSettings
springSettings: AnalyticalSpringLinkSettings
Import from multiconn_archicad.models.tapir.types.
AnalyticalLinkType ¶
RIGID = 'Rigid'
SPRING = 'Spring'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCase ¶
A structural analysis load case.
loadCaseId: GuidId
name: str
description: str | None = None
actionType: AnalyticalLoadCaseActionType | None = None
# The identifier of the load group the load case belongs to.
loadGroupId: GuidId
loadType: AnalyticalLoadCaseLoadType | None = None
# Left out when it is not set.
duration: AnalyticalLoadCaseDuration | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCaseActionType ¶
The action type of a structural analysis load case.
PERMANENT_ACTION = 'PermanentAction'
VARIABLE_ACTION = 'VariableAction'
ACCIDENTAL_ACTION = 'AccidentalAction'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCaseData ¶
name: str
# Empty when it is omitted.
description: str | None = None
actionType: AnalyticalLoadCaseActionType
# The identifier of the load group the load case belongs to.
loadGroupId: GuidId
loadType: AnalyticalLoadCaseLoadType
duration: AnalyticalLoadCaseDuration | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCaseDuration ¶
The duration of a structural analysis load case.
LONG_DURATION = 'LongDuration'
MEDIUM_DURATION = 'MediumDuration'
SHORT_DURATION = 'ShortDuration'
INSTANTANEOUS_DURATION = 'InstantaneousDuration'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCaseLoadType ¶
The load type of a structural analysis load case.
SELF_WEIGHT_LOAD = 'SelfWeightLoad'
PRESTRESS_LOAD = 'PrestressLoad'
DYNAMIC_LOAD = 'DynamicLoad'
STATIC_LOAD = 'StaticLoad'
TEMPERATURE_LOAD = 'TemperatureLoad'
WIND_LOAD = 'WindLoad'
SNOW_LOAD = 'SnowLoad'
MAINTENANCE_LOAD = 'MaintenanceLoad'
FIRE_LOAD = 'FireLoad'
MOVING_LOAD = 'MovingLoad'
SEISMIC_LOAD = 'SeismicLoad'
STANDARD_LOAD = 'StandardLoad'
OTHERS_LOAD = 'OthersLoad'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCombination ¶
A structural analysis load combination.
loadCombinationId: GuidId
name: str
description: str | None = None
category: AnalyticalLoadCombinationCategory | None = None
# Left out when it is not set.
nationalStandard: AnalyticalLoadCombinationNationalStandard | None = None
# Left out when it is not set. Archicad 27 and newer.
type: AnalyticalLoadCombinationType | None = None
# The load cases of the combination with their factors.
loadFactors: list[AnalyticalLoadFactor]
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCombinationCategory ¶
The category of a structural analysis load combination.
ULS = 'ULS'
SLS = 'SLS'
ALS = 'ALS'
ANS = 'ANS'
NOT_DEFINED = 'NotDefined'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCombinationData ¶
name: str
# Empty when it is omitted.
description: str | None = None
category: AnalyticalLoadCombinationCategory
nationalStandard: AnalyticalLoadCombinationNationalStandard | None = None
type: AnalyticalLoadCombinationType | None = None
# The load cases of the combination with their factors.
loadFactors: list[AnalyticalLoadFactor] | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCombinationNationalStandard ¶
The national standard of a structural analysis load combination.
ENULSSTRGEO_SET_B = 'ENULSSTRGEOSetB'
ENULSSTRGEO_SET_C = 'ENULSSTRGEOSetC'
EN_ACCIDENTAL1 = 'ENAccidental1'
EN_ACCIDENTAL2 = 'ENAccidental2'
EN_SEISMIC = 'ENSeismic'
ENSLS_CHARACTERISTIC = 'ENSLSCharacteristic'
ENSLS_FREQUENT = 'ENSLSFrequent'
ENSLS_QUASIPERMANENT = 'ENSLSQuasipermanent'
IBCLRF_DULTIMATE = 'IBCLRFDultimate'
IBCAS_DULTIMATE = 'IBCASDultimate'
IBCAS_DSERVICEABILITY = 'IBCASDserviceability'
IBCAS_DSEISMIC = 'IBCASDseismic'
IBCLRF_DSEISMIC = 'IBCLRFDseismic'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadCombinationType ¶
The type of a structural analysis load combination. Archicad 27 and newer.
ENVELOPE = 'Envelope'
LINEAR = 'Linear'
NONLINEAR = 'Nonlinear'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadDistributionType ¶
Whether the load is the same along the edge or changes from the start value to the end value.
UNIFORM = 'Uniform'
TRAPEZOID = 'Trapezoid'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadForceType ¶
Whether the load is a force or a moment.
FORCE = 'Force'
MOMENT = 'Moment'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadGroup ¶
A structural analysis load group.
loadGroupId: GuidId
name: str
groupType: AnalyticalLoadGroupType | None = None
relation: AnalyticalLoadGroupRelation | None = None
# The load type of the group as free text.
loadType: str | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadGroupData ¶
name: str
groupType: AnalyticalLoadGroupType
relation: AnalyticalLoadGroupRelation
# The load type of the group as free text. Empty when it is omitted.
loadType: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadGroupRelation ¶
How the load cases of a structural analysis load group are combined.
EXCLUSIVE_RELATION = 'ExclusiveRelation'
STANDARD_RELATION = 'StandardRelation'
TOGETHER_RELATION = 'TogetherRelation'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadGroupType ¶
The type of a structural analysis load group.
PERMANENT_LOAD = 'PermanentLoad'
VARIABLE_LOAD = 'VariableLoad'
ACCIDENTAL_LOAD = 'AccidentalLoad'
SEISMIC_LOAD = 'SeismicLoad'
MOVING_LOAD = 'MovingLoad'
TENSIONING_LOAD = 'TensioningLoad'
FIRE_LOAD = 'FireLoad'
Import from multiconn_archicad.models.tapir.types.
AnalyticalLoadVisibilityMode ¶
Which loads are shown: filtered by the active settings, none or all.
FILTER_BY_ACTIVE = 'FilterByActive'
HIDE_ALL = 'HideAll'
SHOW_ALL = 'ShowAll'
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberCoordinateSystem ¶
localCoordinateSystem: AnalyticalCoordinateSystem
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberCoordinateSystemRequest ¶
memberPartRef: AnalyticalMemberPartRef
# When given, the local coordinate system of memberPartRef in its intersection
# with this member part is returned.
intersectingMemberPartRef: AnalyticalMemberPartRef | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberPartCurve ¶
curve: AnalyticalCurve
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberPartNode ¶
node: AnalyticalNode
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberPartRef ¶
A reference to a part (vertex, edge or surface) of an analytical member. partId, customVertexData and ratioEdgeData are zero when left out.
# The element of the analytical member.
elemGuid: GuidId
partRefType: AnalyticalMemberPartRefType
partId: AnalyticalInternalMemberPartId | None = None
customVertexData: AnalyticalCustomVertexData | None = None
ratioEdgeData: AnalyticalRatioEdgeData | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberPartRefType ¶
BEG_VERTEX = 'BegVertex'
END_VERTEX = 'EndVertex'
CUSTOM_VERTEX = 'CustomVertex'
EDGE = 'Edge'
RATIO_EDGE = 'RatioEdge'
SURFACE = 'Surface'
CUSTOM_SURFACE = 'CustomSurface'
CUSTOM_EDGE = 'CustomEdge'
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberType ¶
The analytical member type of an element.
UNKNOWN = 'Unknown'
BEAM = 'Beam'
COLUMN = 'Column'
ROOF = 'Roof'
SLAB = 'Slab'
WALL = 'Wall'
Import from multiconn_archicad.models.tapir.types.
AnalyticalMemberTypeResult ¶
memberType: AnalyticalMemberType
Import from multiconn_archicad.models.tapir.types.
AnalyticalModelVariation ¶
The variation a Structural Analytical Model is generated for. Its fields depend on the Archicad version: amVariationGuid from Archicad 27, renovationFilterGuid and layerConnectionClassIds before.
# The identifier of the analytical model variation. Archicad 27 and newer.
amVariationGuid: GuidId | None = None
# The identifier of the renovation filter of the variation. Archicad 25 and
# 26.
renovationFilterGuid: GuidId | None = None
# The connection classes of the layers. Archicad 25: a list of integers.
# Archicad 26: one object per layer, with the layer's attribute index and its
# connection class.
layerConnectionClassIds: list[int | AnalyticalLayerConnectionClass] | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalNode ¶
A node of the Structural Analytical Model.
# The identifier of the node.
nodeId: int
coord: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
AnalyticalPlaneSurface ¶
basePoint: Coordinate3D | None = None
normalVector: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalPointLoad ¶
An analytical point load: its settings and the member part it loads.
loadSettings: AnalyticalPointLoadSettings
loadedMemberPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalPointLoadData ¶
pointLoad: AnalyticalPointLoad
Import from multiconn_archicad.models.tapir.types.
AnalyticalPointLoadDetails ¶
pointLoad: AnalyticalPointLoad
geometry: AnalyticalPointLoadGeometry
Import from multiconn_archicad.models.tapir.types.
AnalyticalPointLoadGeometry ¶
coordinate: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
AnalyticalPointLoadSettings ¶
# The load case the load belongs to.
loadCaseId: GuidId
loadForceType: AnalyticalLoadForceType
coordinateSystemType: AnalyticalCoordSysDirection
xValue: float
yValue: float
zValue: float
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AnalyticalRatioEdgeData ¶
The part of the edge of a RatioEdge.
ratioStart: float | None = None
ratioEnd: float | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalRelease ¶
The release of an analytical member.
# The identifier of the release.
guid: GuidId
# The releases of the member parts. Each needs all six rigidities; a stiffness
# left out is 0.
releaseDescriptions: list[AnalyticalReleaseDescription]
Import from multiconn_archicad.models.tapir.types.
AnalyticalReleaseDescription ¶
ux: AnalyticalRigidityType
stiffnessX: float | None = None
uy: AnalyticalRigidityType
stiffnessY: float | None = None
uz: AnalyticalRigidityType
stiffnessZ: float | None = None
fix: AnalyticalRigidityType
stiffnessFix: float | None = None
fiy: AnalyticalRigidityType
stiffnessFiy: float | None = None
fiz: AnalyticalRigidityType
stiffnessFiz: float | None = None
amPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalReleaseResult ¶
release: AnalyticalRelease
Import from multiconn_archicad.models.tapir.types.
AnalyticalRigidityType ¶
The rigidity of a degree of freedom of a release.
FREE = 'Free'
RIGID = 'Rigid'
CUSTOM = 'Custom'
RIGID_COMPRESSION_ONLY = 'RigidCompressionOnly'
RIGID_TENSION_ONLY = 'RigidTensionOnly'
CUSTOM_COMPRESSION_ONLY = 'CustomCompressionOnly'
CUSTOM_TENSION_ONLY = 'CustomTensionOnly'
Import from multiconn_archicad.models.tapir.types.
AnalyticalRigidLinkSettings ¶
startConnectionType: AnalyticalLinkConnectionType
endConnectionType: AnalyticalLinkConnectionType
Import from multiconn_archicad.models.tapir.types.
AnalyticalSegmentedSurfaceMemberDetails ¶
# The segments of the surface member.
segmentedSurfaceMembers: list[AnalyticalSurfaceMember]
idMapping: AnalyticalExportIdMapping | None = None
# The identifiers of the connections of the analytical member.
connections: list[GuidId]
Import from multiconn_archicad.models.tapir.types.
AnalyticalSpringLinkSettings ¶
direction: AnalyticalCoordSysDirection
translation: AnalyticalSpringTranslation
rotation: AnalyticalSpringRotation
Import from multiconn_archicad.models.tapir.types.
AnalyticalSpringRotation ¶
kxxType: AnalyticalRigidityType
kxxValue: float | None = None
kyyType: AnalyticalRigidityType
kyyValue: float | None = None
kzzType: AnalyticalRigidityType
kzzValue: float | None = None
resistanceMx: bool | None = None
mxValue: float | None = None
resistanceMy: bool | None = None
myValue: float | None = None
resistanceMz: bool | None = None
mzValue: float | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalSpringTranslation ¶
kxType: AnalyticalRigidityType
kxValue: float | None = None
kyType: AnalyticalRigidityType
kyValue: float | None = None
kzType: AnalyticalRigidityType
kzValue: float | None = None
resistanceFx: bool | None = None
fxValue: float | None = None
resistanceFy: bool | None = None
fyValue: float | None = None
resistanceFz: bool | None = None
fzValue: float | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupport ¶
An analytical support: its settings and the member part it supports. Every rigidity type is required; a value left out is 0.
supportSettings: AnalyticalSupportSettings
supportedMemberPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupportDetails ¶
support: AnalyticalSupport
geometry: AnalyticalSupportGeometry
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupportGeometry ¶
The geometry of an analytical support in a Structural Analytical Model.
coordinates: list[Coordinate3D]
translationStiffnessVector: Coordinate3D
rotationStiffnessVector: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupportSettings ¶
supportType: AnalyticalSupportType
supportValues: AnalyticalSupportValues
coordinateSystem: AnalyticalCoordSysDirection
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupportType ¶
SIMPLE_POINT = 'SimplePoint'
SINGLE_LINE = 'SingleLine'
SURFACE = 'Surface'
Import from multiconn_archicad.models.tapir.types.
AnalyticalSupportValues ¶
The rigidity and the value of the three translations and the three rotations.
xType: AnalyticalRigidityType
xValue: float | None = None
yType: AnalyticalRigidityType
yValue: float | None = None
zType: AnalyticalRigidityType
zValue: float | None = None
rxType: AnalyticalRigidityType
rxValue: float | None = None
ryType: AnalyticalRigidityType
ryValue: float | None = None
rzType: AnalyticalRigidityType
rzValue: float | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurface ¶
surfaceType: AnalyticalSurfaceType | None = None
planeSurface: AnalyticalPlaneSurface | None = None
cylinderSurface: AnalyticalCylinderSurface | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceLoad ¶
An analytical surface load: its settings and the member part it loads.
loadSettings: AnalyticalSurfaceLoadSettings
loadedMemberPartRef: AnalyticalMemberPartRef
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceLoadCustomData ¶
The contour of an analytical surface load. CreateAnalyticalLoads needs at least one curve.
contour: list[AnalyticalCurve]
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceLoadData ¶
surfaceLoad: AnalyticalSurfaceLoad
customData: AnalyticalSurfaceLoadCustomData
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceLoadDetails ¶
surfaceLoad: AnalyticalSurfaceLoad
customData: AnalyticalSurfaceLoadCustomData
geometry: AnalyticalSurfaceLoadCustomData
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceLoadSettings ¶
# The load case the load belongs to.
loadCaseId: GuidId
coordinateSystemType: AnalyticalCoordSysDirection
xValue: float
yValue: float
zValue: float
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceMember ¶
A surface member (wall, slab, roof) or a segment of one of the Structural Analytical Model.
analyticalMemberType: AnalyticalMemberType | None = None
elemGuid: GuidId | None = None
surface: AnalyticalSurface | None = None
# The curves of the outer contour.
contour: list[AnalyticalCurve] | None = None
# The contours of the holes.
holeContours: list[AnalyticalHoleContour] | None = None
internalNodes: list[AnalyticalNode] | None = None
thickness: float | None = None
# The X axis of the local coordinate system. Archicad 26 and newer.
lcsXVector: Coordinate3D | None = None
ez: float | None = None
ezVector: Coordinate3D | None = None
# The attribute index of the material.
materialAttrIndex: int | None = None
# The attribute index of the layer.
layerAttrIndex: int | None = None
FEMType: AnalyticalSurfaceMemberFEMType | None = None
groupId: GuidId | None = None
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceMemberDetails ¶
surfaceMember: AnalyticalSurfaceMember
idMapping: AnalyticalExportIdMapping | None = None
# The identifiers of the connections of the analytical member.
connections: list[GuidId]
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceMemberFEMType ¶
PLATE = 'Plate'
WALL = 'Wall'
SHELL = 'Shell'
Import from multiconn_archicad.models.tapir.types.
AnalyticalSurfaceType ¶
PLANE = 'Plane'
CYLINDER = 'Cylinder'
Import from multiconn_archicad.models.tapir.types.
AnalyticalVaryingSegment ¶
begProfile: AnalyticalCrossSection
# Only for a tapered segment.
endProfile: AnalyticalCrossSection | None = None
span: float
Import from multiconn_archicad.models.tapir.types.
AnalyticalVisibilityMode ¶
Whether only the analytical model is shown or the analytical model within the entire model.
ANALYTICAL_MODEL_ONLY = 'AnalyticalModelOnly'
ANALYTICAL_MODEL_WITHIN_ENTIRE_MODEL = 'AnalyticalModelWithinEntireModel'
Import from multiconn_archicad.models.tapir.types.
AnalyticalVisibilitySettings ¶
The visibility settings of the Structural Analytical Model. Archicad 26 and newer.
visibilityMode: AnalyticalVisibilityMode | None = None
isAnalyticalModelVisible: bool | None = None
areMembersTransparent: bool | None = None
areSymbolsTransparent: bool | None = None
areNodesVisible: bool | None = None
areReleasesVisible: bool | None = None
areCrossSectionsVisible: bool | None = None
areCoordinationProfilesVisible: bool | None = None
areLocalCoordSystemsVisible: bool | None = None
loadVisibilityMode: AnalyticalLoadVisibilityMode | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AngleDimensionData ¶
The parameters of the new Angle Dimension: the angle between two lines, each given by two points. The dimension is static: it is not associated with the elements the points lie on.
# Optional name of an Angle Dimension favorite to base the new element on. Its
# settings (layer, pens, markers, text style) are applied first, then the
# explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The first measured line.
firstLine: AngleDimensionLine
# The second measured line. It must not be parallel to the first one.
secondLine: AngleDimensionLine
# A point the dimension arc passes through. Its distance from the intersection
# of the two lines is the radius of the arc, and the side it lies on chooses
# which of the angles between the lines is measured, as clicking the arc's
# position does with the Angle Dimension tool.
arcPosition: Coordinate2D
# Measure the smaller angle between the lines (inner dimension) rather than
# the larger one (outer dimension). Optional parameter, by default the
# favorite's or the tool default's setting.
smallArc: bool | None = None
# The index of the floor to place the dimension on, when it is created on the
# floor plan. Optional parameter, by default the current floor is used.
floorIndex: int | None = None
# Layer attribute index to place the dimension on. Optional parameter, by
# default the layer of the favorite or the Angle Dimension tool default is
# used.
layerIndex: int | None = None
# Pen index of the dimension and witness lines. Optional parameter.
pen: int | None = None
# Height of the dimension text in millimeters (paper size). Optional
# parameter.
textHeight: float | None = None
# Pen index of the dimension text. Optional parameter.
textPen: int | None = None
# Show only the dimension text, without the dimension arc and the witness
# lines (API onlyDimensionText). Optional parameter.
onlyDimensionText: bool | None = None
# Where the dimension text is: above, in or below the dimension arc (API
# textPos). Optional parameter.
textPosition: AngleDimensionTextPosition | None = None
textDirection: AngleDimensionTextDirection | None = None
# The witness line form: none, small, large (witnessValue is their length) or
# fixed gap (witnessValue is the gap) (API witnessForm). Optional parameter.
witnessForm: DimensionWitnessForm | None = None
# The gap (witnessForm Fix) or the length (witnessForm Large) of the witness
# lines, as GetDetailsOfElements returns it (API witnessVal). Optional
# parameter.
witnessValue: float | None = None
# The marker at the ends of the dimension arc. Only the fields given change.
# Optional parameter.
marker: DimensionMarker | None = None
# The text box of the dimension text: angle, background, frame, alignment and
# the leader line style. Only the fields given change. Optional parameter.
textBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
AngleDimensionDetails ¶
# The first measured line: its first two reference points.
firstLine: AngleDimensionLine
# The second measured line: its last two reference points.
secondLine: AngleDimensionLine
# The point the dimension arc was fitted to.
arcPosition: Coordinate2D
# The center of the dimension arc, the intersection of the two lines.
arcCenter: Coordinate2D
# The radius of the dimension arc.
radius: float
# The angle the dimension measures, in radians.
measuredAngle: float
# Whether the smaller angle between the lines is measured (inner dimension)
# rather than the larger one.
smallArc: bool
# Pen index of the dimension and witness lines.
pen: int
# Height of the dimension text in millimeters.
textHeight: float
# Pen index of the dimension text.
textPen: int
# Whether only the dimension text is shown, without the dimension arc and the
# witness lines (API onlyDimensionText).
onlyDimensionText: bool
textPosition: AngleDimensionTextPosition
textDirection: AngleDimensionTextDirectionOrUnknown
# The witness line form (API witnessForm). Unknown is only returned, for a
# value the angle dimension commands do not take.
witnessForm: DimensionWitnessFormOrUnknown
# The gap (witnessForm Fix) or the length (witnessForm Large) of the witness
# lines, as Archicad stores it (API witnessVal).
witnessValue: float
# The marker at the ends of the dimension arc, always with its type, pen and
# size.
marker: DimensionMarker
# The text box of the dimension text, always with all of its fields.
textBox: DimensionNote
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AngleDimensionLine ¶
A line measured by an angle dimension, given by two of its points. The angle is measured between the two lines (they are extended to their intersection, the center of the dimension arc).
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
AngleDimensionRecreationData ¶
# The angle dimension to recreate. It has to be in the current database (the
# floor plan, or the section, elevation, interior elevation, worksheet or
# detail whose window is active), where the new one is created.
elementId: ElementId
# The new first measured line, as CreateAngleDimensions takes it.
firstLine: AngleDimensionLine
# The new second measured line, as CreateAngleDimensions takes it. It must not
# be parallel to the first one.
secondLine: AngleDimensionLine
# A point the new dimension arc passes through, as CreateAngleDimensions takes
# it: its distance from the intersection of the two lines is the radius of the
# arc, and the side it lies on chooses which of the angles between the lines
# is measured.
arcPosition: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
AngleDimensionTextDirection ¶
The direction of the dimension text: parallel or perpendicular to the dimension arc, or horizontal (API textWay). Optional parameter.
PARALLEL = 'Parallel'
HORIZONTAL = 'Horizontal'
PERPENDICULAR = 'Perpendicular'
Import from multiconn_archicad.models.tapir.types.
AngleDimensionTextDirectionOrUnknown ¶
The direction of the dimension text (API textWay). Unknown is only returned, for a value the angle dimension commands do not take.
PARALLEL = 'Parallel'
HORIZONTAL = 'Horizontal'
PERPENDICULAR = 'Perpendicular'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
AngleDimensionTextPosition ¶
Where the dimension text of an angle dimension is: above, in or below the dimension arc (API textPos).
ABOVE = 'Above'
IN = 'In'
BELOW = 'Below'
Import from multiconn_archicad.models.tapir.types.
AngleDimensionWithDetails ¶
elementId: ElementId
# Measure the smaller angle between the lines (inner dimension) rather than
# the larger one (outer dimension). Optional parameter.
smallArc: bool | None = None
# Pen index of the dimension and witness lines. Optional parameter.
pen: int | None = None
# Height of the dimension text in millimeters (paper size). Optional
# parameter.
textHeight: float | None = None
# Pen index of the dimension text. Optional parameter.
textPen: int | None = None
# Show only the dimension text, without the dimension arc and the witness
# lines (API onlyDimensionText). Optional parameter.
onlyDimensionText: bool | None = None
# Where the dimension text is: above, in or below the dimension arc (API
# textPos). Optional parameter.
textPosition: AngleDimensionTextPosition | None = None
# The direction of the dimension text: parallel or perpendicular to the
# dimension arc, or horizontal (API textWay). Optional parameter.
textDirection: AngleDimensionTextDirection | None = None
# The witness line form: none, small, large (witnessValue is their length) or
# fixed gap (witnessValue is the gap) (API witnessForm). Optional parameter.
witnessForm: DimensionWitnessForm | None = None
# The gap (witnessForm Fix) or the length (witnessForm Large) of the witness
# lines, as GetDetailsOfElements returns it (API witnessVal). Optional
# parameter.
witnessValue: float | None = None
# The marker at the ends of the dimension arc. Only the fields given change.
# Optional parameter.
marker: DimensionMarker | None = None
# The text box of the dimension text: angle, background, frame, alignment and
# the leader line style. Only the fields given change. Optional parameter.
textBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
AngleType ¶
The type of the angle measurement unit.
DECIMAL_DEGREE = 'DecimalDegree'
DEGREE_MIN_SEC = 'DegreeMinSec'
GRAD = 'Grad'
RADIAN = 'Radian'
SURVEYORS = 'Surveyors'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoritesToElementDefaultsParameters ¶
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoritesToElementDefaultsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoritesToElementsParameters ¶
# The elements and the Favorite to apply to each. Give this or favorite.
favoritesToApply: list[FavoriteToApply] | None = None
# The name of one Favorite to apply to many elements, instead of
# favoritesToApply: to the given elements, or without elements to every
# element of the Favorite's type that matches the filter. The Favorite is read
# only once. Needs elements or filter.
favorite: str | None = None
# The elements to apply the single favorite to, one execution result each, in
# the same order. Only with favorite.
elements: list[ElementIdArrayItem] | None = None
# Server-side element filter for the single favorite. Without elements the
# favorite is applied to every element of its type that matches it; an element
# of elements that does not match it gets a failed execution result. Only with
# favorite.
filter: ElementTypeFloorLayerFilter | None = None
# Whether to apply the Favorite's settings-type parameters (structure,
# materials, pens, etc.). Geometry (position, floor, and dimensions such as a
# Wall's height) is never applied - the element stays on its own home story -
# except that a Window or Door takes the Favorite's library part and
# parameters, size included, while keeping its wall, marker and placement. A
# Stair keeps its own baseline and flight width. For the hierarchical types
# (Stair, Railing, Curtain Wall) the settings of the sub-elements are not
# applied, because they are inseparable from the Favorite's own geometry. A
# Dimension's text size, text pen and text frame are not changed (tested in
# Archicad 28): the dimension creation commands take textHeight, textPen and
# textFrame for them. Default is true.
applySettings: bool | None = None
# Whether to apply the Favorite's classifications. Default is true.
applyClassifications: bool | None = None
# Whether to apply the Favorite's element categories (e.g. IFC categories).
# Default is true.
applyCategories: bool | None = None
# Whether to apply the Favorite's property values. Default is true.
applyProperties: bool | None = None
# Fields of the target element to keep: after the Favorite has been applied,
# they are copied back from the target as it was before, so only the
# Favorite's other settings (e.g. its library part or wall type) take effect.
# 'id' and 'layerIndex' apply to every element type; 'width', 'height' and
# 'sillHeight' to a Window or Door ('width' and 'height' also to a Skylight);
# 'height', 'topOffset' and 'relativeTopStory' to a Wall or Column;
# 'referenceLineLocation' to a Wall; 'width' and 'depth' (the cross section)
# to a Column, and 'width' and 'height' (the cross section) to a Beam. The
# cross section of a Column or Beam is a Favorite setting and is applied
# unless it is kept. A field the target's type does not have is ignored. To
# keep a Wall's or Column's top exactly as it was, keep 'height',
# 'relativeTopStory' and 'topOffset' together - a kept 'height' alone is
# recomputed by Archicad while the Favorite's relativeTopStory links the top
# to a story. Default: nothing is kept.
keepFields: list[FavoriteKeepField] | None = None
# Apply only these panels of the Favorite's settings dialog, and nothing else
# of it - a positive list instead of keepFields. 'FloorPlanAndSection' applies
# the Floor Plan and Section settings: story visibility (Show on Stories),
# floor plan display and projection, the pens and line types of the cut,
# uncut, overhead and hidden lines (a Beam's reference axis too), the cut fill
# pens and the cover fill; geometry, size, cross section, building material,
# profile, layer and the other panels stay the target's. It is supported for
# Column and Beam elements; another element type gets a failed execution
# result and is left unchanged. 'ClassificationAndProperties' applies the
# Favorite's classifications, element categories (e.g. structural function)
# and property values, each still only when its own apply flag is not false;
# without it in the list none of them is applied. applySettings false turns
# 'FloorPlanAndSection' off. keepFields still applies. Default: the whole
# Favorite is applied as described for applySettings.
settingGroups: list[FavoriteSettingGroup] | None = None
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoritesToElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoriteToToolDefaultParameters ¶
# The name of the Favorite whose settings become the settings of its tool.
favoriteName: str
Import from multiconn_archicad.models.tapir.commands.
ApplyFavoriteToToolDefaultResult ¶
# The element type of the tool whose settings changed.
elementType: ElementType
Import from multiconn_archicad.models.tapir.types.
ArcData ¶
The parameters of the new Arc.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new arc. Arcs have no Element ID in Archicad 29:
# Archicad refuses it with error -2130313103 (APIERR_BADELEMENTTYPE, element
# has no info string), and the item then answers with that error and creates
# no arc. Leave it out unless your Archicad version keeps it
# (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the arc on. Optional parameter, by default
# the current layer is used.
layerIndex: int | None = None
origin: Coordinate2D
radius: float
# Beginning angle of the arc in radians.
begAngle: float
# End angle of the arc in radians.
endAngle: float
# Optional angle of the ellipse's 'a' axis in radians. Defaults to 0.0.
angle: float | None = None
# Optional 'a/b' ratio of the ellipse, as GetDetailsOfElements returns it.
# Defaults to 1.0, a circular arc.
ratio: float | None = None
# Optional: is the ellipse reflected onto its smaller axis? By default the
# tool's (or the favorite's) setting is kept.
reflected: bool | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads. By default the tool's (or the favorite's) setting is kept, and
# ends given a different size or pen are unlinked.
linkedArrowAttributes: bool | None = None
# Is this a zone boundary line? Optional, defaults to false.
roomSeparator: bool | None = None
# Optional pen index. By default the current pen is used.
linePenIndex: int | None = None
# Optional line type attribute. By default the current line type is used.
lineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
ArcDetails ¶
Geometry of an Arc or Circle element. begAngle/endAngle and startArrow/endArrow are only present for Arc (a Circle spans the full 0-2*PI range implicitly and has no ends).
origin: Coordinate2D
radius: float
# 0.0, or the angle of the 'a' axis in radians.
angle: float
# 1.0, or 'a/b' of the ellipse.
ratio: float
# Beginning angle of the arc in radians. Only present for Arc, not Circle.
begAngle: float | None = None
# End angle of the arc in radians. Only present for Arc, not Circle.
endAngle: float | None = None
reflected: bool
# Is this a zone boundary line?
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# The arrowhead at the start. Only present for Arc, not Circle.
startArrow: LineArrowhead | None = None
# The arrowhead at the end. Only present for Arc, not Circle.
endArrow: LineArrowhead | None = None
# Are the size and pen of the two arrowheads linked? Only present for Arc, not
# Circle, from Archicad 29.
linkedArrowAttributes: bool | None = None
zCoordinate: float
Import from multiconn_archicad.models.tapir.types.
ArcSettings ¶
Settings for modifying an Arc or Circle. begAngle/endAngle are only applied to Arc, ignored for Circle. startArrow/endArrow are only for Arc: a Circle has no ends and refuses them.
origin: Coordinate2D | None = None
radius: float | None = None
angle: float | None = None
ratio: float | None = None
begAngle: float | None = None
endAngle: float | None = None
reflected: bool | None = None
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# Optional arrowhead at the start of an Arc. Given, it is shown unless its
# visible is false; only the keys given are changed.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end of an Arc. Given, it is shown unless its
# visible is false; only the keys given are changed.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads of an Arc. A Circle refuses it.
linkedArrowAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AreaType ¶
The type of the area measurement unit.
SQUARE_METER = 'SquareMeter'
SQUARE_CENTIMETER = 'SquareCentimeter'
SQUARE_MILLIMETER = 'SquareMillimeter'
SQUARE_FOOT = 'SquareFoot'
SQUARE_INCH = 'SquareInch'
Import from multiconn_archicad.models.tapir.types.
AssemblySegmentLength ¶
How the length of a segment of a beam or column is set (its segment scheme): a fixed length, or a proportion of the length the fixed segments leave. Both values are returned; Archicad uses the one of the lengthType.
lengthType: AssemblySegmentLengthType
# The length of the segment, used when lengthType is Fixed.
fixedLength: float
# The proportion of the segment, used when lengthType is Proportional, as
# Archicad stores it.
lengthProportion: float
Import from multiconn_archicad.models.tapir.types.
AssemblySegmentLengthModification ¶
The length scheme to write to a segment of a beam or column, in the shape of AssemblySegmentLength. Only the given fields change; Archicad uses the value of the lengthType.
lengthType: AssemblySegmentLengthTypeInput | None = None
# The length of the segment, used when lengthType is Fixed; it must then be
# greater than 0.
fixedLength: float | None = None
# The proportion of the segment, used when lengthType is Proportional, as
# Archicad stores it and GetDetailsOfElements returns it; it must then be
# greater than 0.
lengthProportion: float | None = None
Import from multiconn_archicad.models.tapir.types.
AssemblySegmentLengthType ¶
Fixed: the segment is fixedLength long. Proportional: the segment takes lengthProportion of the length the fixed segments leave. Unknown is only returned, for a scheme Archicad reports as neither; the commands that write a length (AssemblySegmentLengthModification) accept only Fixed or Proportional.
FIXED = 'Fixed'
PROPORTIONAL = 'Proportional'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
AssemblySegmentLengthTypeInput ¶
Fixed: the segment is fixedLength long. Proportional: the segment takes lengthProportion of the length the fixed segments leave.
FIXED = 'Fixed'
PROPORTIONAL = 'Proportional'
Import from multiconn_archicad.models.tapir.types.
AssociativeDimensionData ¶
# Optional name of a Dimension favorite to base the new dimension on, e.g. for
# its layer, line pen and markers. Its settings are applied first, then the
# command sets the geometry and its usual text placement. The favorite's text
# size, text pen and text frame are not applied (tested in Archicad 28): use
# textHeight, textPen and textFrame for the texts. The Dimension tool defaults
# are left as they were.
favoriteName: str | None = None
# Optional layer attribute index to place the new dimension on. It must be an
# existing, unlocked layer. When omitted the dimension gets the layer of the
# favorite or of the Dimension tool defaults.
layerIndex: int | None = None
# Optional height of the dimension texts in millimeters (paper size), applied
# to every witness point (on creation after favoriteName).
textHeight: float | None = None
# Optional pen index of the dimension texts, applied to every witness point
# (on creation after favoriteName).
textPen: int | None = None
# Optional frame around the dimension texts (true: framed, false: not framed),
# applied to every witness point. Without it a new dimension gets the
# Dimension tool's setting.
textFrame: bool | None = None
# Optional font and style of the dimension texts (font, bold, italic,
# underline, width factor, spacing factor), applied to every witness point (on
# creation after favoriteName). Only the fields given are changed.
textStyle: DimensionTextStyle | None = None
appearance: DimensionAppearance | None = None
# Optional level an Elevation dimension measures from. A new dimension gets
# the one of favoriteName or the Dimension tool defaults without it.
elevationOrigin: DimensionOrigin | None = None
# Optional marker of an Elevation dimension (Elevation dimension in the
# Dimension Settings); give any of its form, arrowAngle, arrowFilled, arrowUp
# and plusSign. The others stay as they are (on creation: as favoriteName or
# the Dimension tool defaults give them).
elevationMarker: DimensionElevationMarker | None = None
# Optional pen of the dimension and witness lines.
linePen: int | None = None
# Optional marker at the witness points; give any of its type, pen and size.
# The others stay as they are (on creation: as favoriteName or the Dimension
# tool defaults give them).
marker: DimensionMarker | None = None
# Optional text placement method of the dimension texts, as in the Dimension
# Settings; give any of its fields. The others stay as they are (on creation:
# as favoriteName or the Dimension tool defaults give them).
textPlacement: DimensionTextPlacement | None = None
defaultWitnessForm: DimensionWitnessForm | None = None
# Optional value that goes with the witness line form, in meters (for Fix the
# length of the witness lines), applied to every witness point.
defaultWitnessVal: float | None = None
# Optional Static dimension checkbox of the Dimension Settings (API
# defStaticDim). A new dimension is not static without it, whatever
# favoriteName or the Dimension tool defaults say. The witness points are
# written as given either way (by elementId or by coordinate).
staticDimension: bool | None = None
# Optional: show only the dimension texts, without the dimension and witness
# lines (API onlyDimensionText). Without it a new dimension gets the setting
# of favoriteName or of the Dimension tool defaults.
onlyDimensionText: bool | None = None
# Optional opening heights in the dimension chain, from the Dimension Details
# panel of the Dimension Settings (API detailedHoleDim): the heights of the
# doors and windows dimensioned are shown with the chain. Without it a new
# dimension gets the setting of favoriteName or of the Dimension tool
# defaults.
openingHeightsInChain: bool | None = None
# Optional: the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize). Without it a new dimension
# gets the setting of favoriteName or of the Dimension tool defaults.
openingHeightsNominal: bool | None = None
# Optional automatic dimensioning of layered (composite) elements. Give any of
# the three; the others stay as they are. Without it a new dimension gets the
# setting of favoriteName or of the Dimension tool defaults.
layeredElementDimensions: LayeredElementDimensions | None = None
# Optional text box of the dimension texts (API defNote): angle, background,
# frame, alignment and the leader line style, applied to every witness point
# (on creation after favoriteName). Only the fields given change.
# textBox.frame is the same setting as textFrame; giving both with different
# values is an error. The dimension is read back, and a field Archicad did not
# keep fails the item.
textBox: DimensionNote | None = None
textFillOrder: DimensionTextFillOrder | None = None
# Optional: no dimension line part on the other side, opposite to the base
# point (API clipDimensionLine). Available from Archicad 30; older versions
# refuse it.
clipDimensionLine: bool | None = None
# Optional: no witness line part on the other side (API clipWitnessLine).
# Available from Archicad 30; older versions refuse it.
clipWitnessLine: bool | None = None
# Optional witness extension line, applied to every witness point (on creation
# after favoriteName). Give any of its fields; the others stay as they are.
# Available from Archicad 30; older versions refuse it.
witnessExtensionLine: DimensionWitnessExtensionLine | None = None
referencePoint: Coordinate2D
direction: Coordinate2D
floorIndex: float | None = None
witnessPoints: list[AssociativeWitnessPoint]
Import from multiconn_archicad.models.tapir.types.
AssociativeDimensionOnSectionData ¶
# Optional name of a Dimension favorite to base the new dimension on, e.g. for
# its layer, line pen and markers. Its settings are applied first, then the
# command sets the geometry and its usual text placement. The favorite's text
# size, text pen and text frame are not applied (tested in Archicad 28): use
# textHeight, textPen and textFrame for the texts. The Dimension tool defaults
# are left as they were.
favoriteName: str | None = None
# Optional layer attribute index to place the new dimension on. It must be an
# existing, unlocked layer. When omitted the dimension gets the layer of the
# favorite or of the Dimension tool defaults.
layerIndex: int | None = None
# Optional height of the dimension texts in millimeters (paper size), applied
# to every witness point (on creation after favoriteName).
textHeight: float | None = None
# Optional pen index of the dimension texts, applied to every witness point
# (on creation after favoriteName).
textPen: int | None = None
# Optional frame around the dimension texts (true: framed, false: not framed),
# applied to every witness point. Without it a new dimension gets the
# Dimension tool's setting.
textFrame: bool | None = None
# Optional font and style of the dimension texts (font, bold, italic,
# underline, width factor, spacing factor), applied to every witness point (on
# creation after favoriteName). Only the fields given are changed.
textStyle: DimensionTextStyle | None = None
# Optional dimension type, as in the Dimension Settings. A new dimension is
# Linear without it, whatever favoriteName or the Dimension tool defaults say.
# Elevation gives level marks, e.g. on a vertical chain in a section.
appearance: DimensionAppearance | None = None
# Optional level an Elevation dimension measures from. A new dimension gets
# the one of favoriteName or the Dimension tool defaults without it.
elevationOrigin: DimensionOrigin | None = None
# Optional marker of an Elevation dimension (Elevation dimension in the
# Dimension Settings); give any of its form, arrowAngle, arrowFilled, arrowUp
# and plusSign. The others stay as they are (on creation: as favoriteName or
# the Dimension tool defaults give them).
elevationMarker: DimensionElevationMarker | None = None
# Optional pen of the dimension and witness lines.
linePen: int | None = None
# Optional marker at the witness points; give any of its type, pen and size.
# The others stay as they are (on creation: as favoriteName or the Dimension
# tool defaults give them).
marker: DimensionMarker | None = None
# Optional text placement method of the dimension texts, as in the Dimension
# Settings; give any of its fields. The others stay as they are (on creation:
# as favoriteName or the Dimension tool defaults give them).
textPlacement: DimensionTextPlacement | None = None
# Optional witness line form, as in the Dimension Settings, applied to every
# witness point.
defaultWitnessForm: DefaultWitnessForm | None = None
# Optional value that goes with the witness line form, in meters (for Fix the
# length of the witness lines), applied to every witness point.
defaultWitnessVal: float | None = None
# Optional Static dimension checkbox of the Dimension Settings (API
# defStaticDim). A new dimension is not static without it, whatever
# favoriteName or the Dimension tool defaults say. The witness points are
# written as given either way (by elementId or by coordinate).
staticDimension: bool | None = None
# Optional: show only the dimension texts, without the dimension and witness
# lines (API onlyDimensionText). Without it a new dimension gets the setting
# of favoriteName or of the Dimension tool defaults.
onlyDimensionText: bool | None = None
# Optional opening heights in the dimension chain, from the Dimension Details
# panel of the Dimension Settings (API detailedHoleDim): the heights of the
# doors and windows dimensioned are shown with the chain. Without it a new
# dimension gets the setting of favoriteName or of the Dimension tool
# defaults.
openingHeightsInChain: bool | None = None
# Optional: the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize). Without it a new dimension
# gets the setting of favoriteName or of the Dimension tool defaults.
openingHeightsNominal: bool | None = None
# Optional automatic dimensioning of layered (composite) elements. Give any of
# the three; the others stay as they are. Without it a new dimension gets the
# setting of favoriteName or of the Dimension tool defaults.
layeredElementDimensions: LayeredElementDimensions | None = None
# Optional text box of the dimension texts (API defNote): angle, background,
# frame, alignment and the leader line style, applied to every witness point
# (on creation after favoriteName). Only the fields given change.
# textBox.frame is the same setting as textFrame; giving both with different
# values is an error. The dimension is read back, and a field Archicad did not
# keep fails the item.
textBox: DimensionNote | None = None
# Optional drawing order of the texts' fill and contour: under or above the
# dimension line (API textFillOrder). Available from Archicad 27; older
# versions refuse it.
textFillOrder: DimensionTextFillOrder | None = None
# Optional: no dimension line part on the other side, opposite to the base
# point (API clipDimensionLine). Available from Archicad 30; older versions
# refuse it.
clipDimensionLine: bool | None = None
# Optional: no witness line part on the other side (API clipWitnessLine).
# Available from Archicad 30; older versions refuse it.
clipWitnessLine: bool | None = None
# Optional witness extension line, applied to every witness point (on creation
# after favoriteName). Give any of its fields; the others stay as they are.
# Available from Archicad 30; older versions refuse it.
witnessExtensionLine: DimensionWitnessExtensionLine | None = None
# The identifier of a single section element. Only one of sectionElementId and
# sectionElementIds can be given.
sectionElementId: ElementId | None = None
# A list of section elements whose preset points are merged into one
# continuous dimension chain. Only one of sectionElementId and
# sectionElementIds can be given.
sectionElementIds: list[ElementId] | None = None
referencePoint: Coordinate2D
# OpeningEdges puts fixed points, not associated ones, at the edges of an
# Opening tool element as the section draws it: left and right for a
# horizontal direction, bottom and top for a vertical one. Archicad does not
# associate dimensions with openings in sections.
preset: Preset
direction: Coordinate2D | None = None
skinBorderIndices: list[int] | None = None
beginPlane: bool | None = None
totalSizePlane: bool | None = None
placeOnTop: bool | None = None
Import from multiconn_archicad.models.tapir.types.
AssociativeDimensionWithDetails ¶
elementId: ElementId
# Optional texts of single witness points, as the dimension text of a selected
# witness point in Archicad: the measured value or a custom text, superscript,
# and the text's position (moved and fixed, or reset to the automatic
# position). Only the given fields of the given witness points are changed.
# GetDetailsOfElements reads them back for every witness point with the same
# keys (witnessPointTexts), so the list read can be sent back;
# GetDimensionData reads them too.
witnessPointTexts: list[DimensionWitnessPointText] | None = None
# Optional height of the dimension texts in millimeters (paper size), applied
# to every witness point (on creation after favoriteName).
textHeight: float | None = None
# Optional pen index of the dimension texts, applied to every witness point
# (on creation after favoriteName).
textPen: int | None = None
# Optional frame around the dimension texts (true: framed, false: not framed),
# applied to every witness point. Without it a new dimension gets the
# Dimension tool's setting.
textFrame: bool | None = None
# Optional font and style of the dimension texts (font, bold, italic,
# underline, width factor, spacing factor), applied to every witness point (on
# creation after favoriteName). Only the fields given are changed.
textStyle: DimensionTextStyle | None = None
# Optional dimension type, as in the Dimension Settings. A new dimension is
# Linear without it, whatever favoriteName or the Dimension tool defaults say.
# Elevation gives level marks, e.g. on a vertical chain in a section.
appearance: DimensionAppearance | None = None
# Optional level an Elevation dimension measures from. A new dimension gets
# the one of favoriteName or the Dimension tool defaults without it.
elevationOrigin: DimensionOrigin | None = None
# Optional marker of an Elevation dimension (Elevation dimension in the
# Dimension Settings); give any of its form, arrowAngle, arrowFilled, arrowUp
# and plusSign. The others stay as they are (on creation: as favoriteName or
# the Dimension tool defaults give them).
elevationMarker: DimensionElevationMarker | None = None
# Optional pen of the dimension and witness lines.
linePen: int | None = None
# Optional marker at the witness points; give any of its type, pen and size.
# The others stay as they are (on creation: as favoriteName or the Dimension
# tool defaults give them).
marker: DimensionMarker | None = None
# Optional text placement method of the dimension texts, as in the Dimension
# Settings; give any of its fields. The others stay as they are (on creation:
# as favoriteName or the Dimension tool defaults give them).
textPlacement: DimensionTextPlacement | None = None
# Optional witness line form, as in the Dimension Settings, applied to every
# witness point.
defaultWitnessForm: DimensionWitnessForm | None = None
# Optional value that goes with the witness line form, in meters (for Fix the
# length of the witness lines), applied to every witness point.
defaultWitnessVal: float | None = None
# Optional Static dimension checkbox of the Dimension Settings (API
# defStaticDim). A new dimension is not static without it, whatever
# favoriteName or the Dimension tool defaults say. The witness points are
# written as given either way (by elementId or by coordinate).
staticDimension: bool | None = None
# Optional: show only the dimension texts, without the dimension and witness
# lines (API onlyDimensionText). Without it a new dimension gets the setting
# of favoriteName or of the Dimension tool defaults.
onlyDimensionText: bool | None = None
# Optional opening heights in the dimension chain, from the Dimension Details
# panel of the Dimension Settings (API detailedHoleDim): the heights of the
# doors and windows dimensioned are shown with the chain. Without it a new
# dimension gets the setting of favoriteName or of the Dimension tool
# defaults.
openingHeightsInChain: bool | None = None
# Optional: the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize). Without it a new dimension
# gets the setting of favoriteName or of the Dimension tool defaults.
openingHeightsNominal: bool | None = None
# Optional automatic dimensioning of layered (composite) elements. Give any of
# the three; the others stay as they are. Without it a new dimension gets the
# setting of favoriteName or of the Dimension tool defaults.
layeredElementDimensions: LayeredElementDimensions | None = None
# Optional text box of the dimension texts (API defNote): angle, background,
# frame, alignment and the leader line style, applied to every witness point
# (on creation after favoriteName). Only the fields given change.
# textBox.frame is the same setting as textFrame; giving both with different
# values is an error. The dimension is read back, and a field Archicad did not
# keep fails the item.
textBox: DimensionNote | None = None
# Optional drawing order of the texts' fill and contour: under or above the
# dimension line (API textFillOrder). Available from Archicad 27; older
# versions refuse it.
textFillOrder: DimensionTextFillOrder | None = None
# Optional: no dimension line part on the other side, opposite to the base
# point (API clipDimensionLine). Available from Archicad 30; older versions
# refuse it.
clipDimensionLine: bool | None = None
# Optional: no witness line part on the other side (API clipWitnessLine).
# Available from Archicad 30; older versions refuse it.
clipWitnessLine: bool | None = None
# Optional witness extension line, applied to every witness point (on creation
# after favoriteName). Give any of its fields; the others stay as they are.
# Available from Archicad 30; older versions refuse it.
witnessExtensionLine: DimensionWitnessExtensionLine | None = None
Import from multiconn_archicad.models.tapir.types.
AssociativeWitnessPoint ¶
A witness point of a dimension. Give elementId (with line, inIndex, special, nodeType, nodeStatus and nodeId as needed) for a point associated with an element, or only coordinate for a static point that is not associated with any element, like a point added by hand on empty space. elementId together with coordinate gives an associative point at that location on the element. Points on wall faces (line true) only work on a dimension whose direction is perpendicular to the faces: Archicad rejects or removes a dimension that is even slightly oblique to them (#2505).
elementId: ElementId | None = None
# Without elementId: the position of a static (non-associative) witness point;
# the other fields are ignored for a static point. With elementId: the
# location of the associative point on the referenced element (written to its
# base location), e.g. where the dimension line crosses a long or oblique wall
# face; without it Archicad chooses the point, e.g. the middle of a wall edge.
# Archicad does not keep it on wall faces (line true): it moves the point to
# the middle of the face (reported in Archicad 30, #2505). Whether it is kept
# on other kinds of base is not verified.
coordinate: Coordinate2D | None = None
# True for a point on an edge of the element rather than on a node (API_Base
# line), e.g. on a wall face or on an edge of a slab. On a polygon edge (a
# Slab, Zone, Roof, Mesh or Fill) give coordinate too, a point on that edge:
# without it Archicad places the point at (0, 0), and the command reports an
# error instead of creating the dimension (#3004).
line: bool | None = None
# Subindex of the element's node (API_Base inIndex). On a polygon element (a
# Slab, for example) the 1-based index of the vertex among all the coordinates
# of the element's polygon, as GetPolygonVertexIdsOfElements returns it; with
# line true it is the edge from that vertex to the next. Always give it
# together with nodeId there: the vertexId of that vertex, or with line true
# the edgeId of that edge.
inIndex: int | None = None
special: int | None = None
nodeType: int | None = None
nodeStatus: int | None = None
# Polygon vertex or edge ID (API_Base node_id), for elements with a polygon:
# the vertexId of the vertex at inIndex, or with line true the edgeId of the
# edge that starts at inIndex, as GetPolygonVertexIdsOfElements returns them.
# It is the ID Archicad keeps for the vertex or edge, not its position in the
# polygon: on an edited slab it can be any number, and an edge's ID differs
# from the ID of its start vertex (#3034). With a nodeId that is not the ID of
# the vertex or edge at inIndex, or without inIndex, Archicad does not attach
# the point to the element, and the command reports an error instead of
# creating the dimension (#3004).
nodeId: float | None = None
Import from multiconn_archicad.models.tapir.commands.
AttachElementsToIssueParameters ¶
issueId: IssueId
# A list of elements.
elements: list[ElementIdArrayItem]
type: IssueElementType
Import from multiconn_archicad.models.tapir.commands.
AttachElementsToIssueResult ¶
AttachElementsToIssueResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
AttributeBuiltInPropertyValues ¶
attributeId: AttributeId
properties: list[BuiltInPropertyValue]
Import from multiconn_archicad.models.tapir.types.
AttributeClassification ¶
attributeId: AttributeId
# The classification to set. The item replaces the attribute's current item in
# the same classification system. If the classificationItemId field is
# omitted, the attribute becomes unclassified in the given system.
classificationId: ClassificationId
Import from multiconn_archicad.models.tapir.types.
AttributeClassifications ¶
# The classification of the attribute in every classification system it is
# classified in.
classificationIds: list[ClassificationId]
Import from multiconn_archicad.models.tapir.types.
AttributeCreationInfo ¶
How, from where, by whom and when the attribute was created. Available from Archicad 30, and only for an attribute Archicad keeps a creation record of: legacy or imported attributes may have none, and then the field is left out. Any of the texts may be empty.
method: AttributeCreationMethod
# Human-readable description of the creation method.
methodDescription: str
# Human-readable origin, for example the name of the file or Add-On the
# attribute came from.
source: str
# The Teamwork user name, or the OS login name in a solo project, at the time
# of creation.
creatorUserName: str
# The creation time of the attribute, in seconds since 1970-01-01 00:00:00 UTC
# (a GSTime), the same scale as modificationTime.
creationTime: int
Import from multiconn_archicad.models.tapir.types.
AttributeCreationMethod ¶
The creation method or workflow: AddOn (created by an Add-On), Merge (merging files), Paste (pasting from another file), New (created by the user through the UI), Import (an attribute file, IFC, DWG/DXF or another supported format), Explode (exploding a PDF or DWG), Duplicate (duplicating an attribute), Hotlink (a hotlinked file), XRef (a file attached in the Xref manager), Library (a library part), LibraryMaster (generated from GDL) or Unspecified.
ADD_ON = 'AddOn'
MERGE = 'Merge'
PASTE = 'Paste'
NEW = 'New'
IMPORT = 'Import'
EXPLODE = 'Explode'
DUPLICATE = 'Duplicate'
HOTLINK = 'Hotlink'
X_REF = 'XRef'
LIBRARY = 'Library'
LIBRARY_MASTER = 'LibraryMaster'
UNSPECIFIED = 'Unspecified'
Import from multiconn_archicad.models.tapir.types.
AttributeDuplicationData ¶
# The attribute to duplicate. Either attributeId, or attributeType together
# with attributeIndex, must be given.
attributeId: AttributeId | None = None
# The type of the attribute to duplicate, used with attributeIndex when
# attributeId is not given.
attributeType: AttributeType | None = None
# The index of the attribute to duplicate, used with attributeType when
# attributeId is not given.
attributeIndex: int | None = None
# The name of the copy. It must not be empty or the name of another attribute
# of the same type.
newName: str
Import from multiconn_archicad.models.tapir.types.
AttributeFolder ¶
An attribute folder, identified by the type of the attributes it holds and its path from the root folder of that type. Attribute folders exist from Archicad 26.
attributeType: AttributeType
# The names of the folders from the root folder down to this folder, the root
# folder itself not included. An empty array is the root folder.
path: list[str]
Import from multiconn_archicad.models.tapir.types.
AttributeFolderRename ¶
attributeType: AttributeType
# The names of the folders from the root folder down to the folder to rename,
# the root folder itself not included.
path: list[str]
# The new name of the folder.
newName: str
Import from multiconn_archicad.models.tapir.types.
AttributeHeader ¶
attributeId: AttributeId
# Index of the attribute.
index: float
# Name of the attribute.
name: str
# The names of the attribute folders from the root folder of the attribute
# type down to the folder holding the attribute, the root folder itself not
# included. An empty array is the root folder. Attribute folders exist from
# Archicad 26, so before that the array is always empty. GetAttributesByType
# always returns it; GetAttributesFromProject, which reads another file, does
# not.
folderPath: list[str] | None = None
# The last modification time of the attribute, in seconds since 1970-01-01
# 00:00:00 UTC (a GSTime), the same stamp the Attribute Manager writes as
# ModiTime into its XML export.
modificationTime: int
creationInfo: AttributeCreationInfo | None = None
Import from multiconn_archicad.models.tapir.types.
AttributeHeadersOrError ¶
AttributeHeadersOrError: TypeAlias = (
AttributeHeadersWrapper | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
AttributeHeadersWrapper ¶
The response of the GetAttributesByType command.
# Details of attributes.
attributes: list[AttributeHeader]
Import from multiconn_archicad.models.tapir.types.
AttributeId ¶
The identifier of an attribute.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
AttributeIdArrayItem ¶
attributeId: AttributeId
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AttributeImportTypeResult ¶
attributeType: AttributeType
# One item per imported (or, with dryRun, importable) attribute of the source
# file.
attributes: list[ImportedAttribute]
Import from multiconn_archicad.models.tapir.types.
AttributeIndexSummary ¶
# One item per requested attribute type, in the order of attributeTypes.
attributeIndexes: list[AttributeTypeIndexes | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
AttributeOptions ¶
The uniform attributes of cut and uncut surfaces (API_UniformAttributeOptions). Pens and uniformLineType are indices; the enums fillCutSurfacesWith, uncutSurfaceFillType, hiddenEdgeVisibility and onCutPlaneVisibility are their integer values.
shouldUseUniformCutAttributes: bool | None = None
uniformLineType: int | None = None
uniformFillPen: int | None = None
uniformFillBkgPen: int | None = None
shouldUseUncutSurfaceFill: bool | None = None
fillCutSurfacesWith: int | None = None
uncutSurfaceFillType: int | None = None
uncutSurfaceBkgPen: int | None = None
shouldUseElemPen: bool | None = None
elemPen: int | None = None
shadFillPen: int | None = None
# A fill. Missing when there is none.
shadFill: AttributeIdArrayItem | None = None
shadFillBkgPen: int | None = None
shadContPen: int | None = None
hiddenEdgeVisibility: int | None = None
# A line type. Missing when there is none.
hiddenEdgeLineType: AttributeIdArrayItem | None = None
hiddenEdgeLinePen: int | None = None
onCutPlaneVisibility: int | None = None
Import from multiconn_archicad.models.tapir.types.
AttributePropertyDefinitionFilter ¶
Which property definitions to return: the user defined (custom) ones, the fundamental built-in ones, or all of them.
USER_DEFINED = 'UserDefined'
FUNDAMENTAL_BUILT_IN = 'FundamentalBuiltIn'
ALL = 'All'
Import from multiconn_archicad.models.tapir.types.
AttributePropertyIds ¶
# A list of property identifiers.
propertyIds: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
AttributePropertyValue ¶
A property value with the identifiers of the property and its owner attribute.
attributeId: AttributeId
propertyId: PropertyId
propertyValue: PropertyValue
Import from multiconn_archicad.models.tapir.types.
AttributePropertyValuesResult ¶
propertyValues: list[PropertyValueArrayItem | AttributePropertyValueStatus | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
AttributePropertyValueStatus ¶
A property value with its status, returned when includeStatus is true.
# Missing when the value is not available or not evaluated.
propertyValue: PropertyValue | None = None
# Whether the property definition is available for the attribute.
isAvailable: bool
# Whether the value of the property is editable for the attribute.
isEditable: bool
# Whether the property definition is visible for the attribute.
isVisible: bool
Import from multiconn_archicad.models.tapir.types.
AttributeReindexData ¶
An attribute and the index to move it to.
# The attribute to move.
attributeId: AttributeId
# The index the attribute gets. It must not be used by another attribute of
# the type.
newIndex: int
Import from multiconn_archicad.models.tapir.types.
AttributeReindexResult ¶
The result of moving one attribute to another index.
# The attribute at its new index. Archicad cannot renumber an attribute in
# place, so this is a new attribute with a new id; with dryRun it is the
# attribute's current id.
attributeId: AttributeId
oldIndex: int
newIndex: int
# The number of temporary attributes needed for the free indices below
# newIndex.
placeholders: int
# The elements that refer to the attribute, in the floor plan and in every
# section, elevation, interior elevation, detail, worksheet, 3D document,
# layout and master layout: in their own fields, their library part parameters
# or their memo data (side surfaces, roof levels, morph faces, cutting
# planes). Rewritten to the new index unless dryRun is true.
elements: list[ElementIdArrayItem]
# Elements from hotlinked modules that refer to the attribute. They cannot be
# changed and keep the old index until their module file is reindexed.
hotlinkElements: list[ElementIdArrayItem]
# The element types whose tool default refers to the attribute. Rewritten
# unless dryRun is true.
toolDefaults: list[ElementType]
# The names of the Favorites that refer to the attribute. Rewritten unless
# dryRun is true.
favorites: list[str]
# The other attributes that refer to the attribute: composites (skins and
# separators), building materials (cut fill, cut surface), surfaces (hatching
# fill), MEP systems (fill) and profiles (skins and edges). Rewritten unless
# dryRun is true.
attributes: list[AffectedAttribute]
# The names of the graphic override rules that refer to the attribute.
# Rewritten unless dryRun is true.
overrideRules: list[str]
# The hidden or locked layers of the elements that were shown and unlocked for
# the move and put back afterwards. Not present with dryRun.
layersShown: list[AttributeIdArrayItem] | None = None
# What keeps the old index or did not work after the attribute was moved:
# elements from hotlinked modules, a tool default, Favorite, attribute or rule
# that could not be written, the name or the attribute folder.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
AttributeRename ¶
An attribute and its new name.
attributeId: AttributeId
# The new name of the attribute. It must not be empty or the name of another
# attribute of the same type.
newName: str
Import from multiconn_archicad.models.tapir.types.
AttributeReplacementResult ¶
The result of replacing one attribute and its references.
# The deleted attribute (with dryRun, the attribute that would be deleted).
attributeId: AttributeId
# The attribute that took its place.
replacementAttributeId: AttributeId
# Only on a dry run: the attribute and its replacement passed the checks, and
# a real run would delete the attribute and rewrite the references listed here
# to the replacement.
wouldDelete: Literal[True] | None = None
# The elements that referred to the deleted attribute, in the floor plan and
# in every section, elevation, interior elevation, detail, worksheet, 3D
# document, layout and master layout: in their own fields, their library part
# parameters or their memo data (column and beam segments, side surfaces, roof
# levels, morph faces, cutting planes). They refer to the replacement now,
# unless dryRun is true.
elements: list[ElementIdArrayItem]
# Elements from hotlinked modules that refer to the deleted attribute. They
# cannot be changed; replace the attribute in their module file.
hotlinkElements: list[ElementIdArrayItem]
# The element types whose tool default referred to the deleted attribute.
# Rewritten unless dryRun is true.
toolDefaults: list[ElementType]
# The names of the Favorites that referred to the deleted attribute. Rewritten
# unless dryRun is true.
favorites: list[str]
# The other attributes that referred to the deleted attribute: composites
# (skins and separators), building materials (cut fill, cut surface), surfaces
# (hatching fill), MEP systems (fill) and profiles (skins and edges).
# Rewritten unless dryRun is true.
attributes: list[AffectedAttribute]
# The names of the graphic override rules that referred to the deleted
# attribute. Rewritten unless dryRun is true.
overrideRules: list[str]
# The hidden or locked layers of the elements that were shown and unlocked for
# the change and put back afterwards. Not present with dryRun, nor for Layer.
layersShown: list[AttributeIdArrayItem] | None = None
# Only for Layer: the sections, elevations, interior elevations and 3D
# documents that show elements of the deleted layer. The model elements they
# show are deleted with the layer and come back on the replacement layer when
# the view is rebuilt: Archicad does that when the view is opened, unless it
# is set to be rebuilt manually. To rebuild one at once, call ChangeWindow
# with its databaseId and then RebuildCurrentDatabase.
viewsToRebuild: list[DatabaseIdArrayItem] | None = None
# What still refers to the deleted attribute: elements from hotlinked modules,
# a tool default, Favorite, attribute or rule that could not be written. What
# could not be rewritten to the replacement keeps a copy of the deleted
# attribute, whose attribute id the last warning names. For Layer: a tool
# default or Favorite that is still on the deleted layer.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
AttributesToDeleteItem ¶
attributeType: AttributeType
attributeId: AttributeIdArrayItem
Import from multiconn_archicad.models.tapir.types.
AttributeType ¶
The type of an attribute.
LAYER = 'Layer'
LINE = 'Line'
FILL = 'Fill'
COMPOSITE = 'Composite'
SURFACE = 'Surface'
LAYER_COMBINATION = 'LayerCombination'
ZONE_CATEGORY = 'ZoneCategory'
PROFILE = 'Profile'
PEN_TABLE = 'PenTable'
MEP_SYSTEM = 'MEPSystem'
OPERATION_PROFILE = 'OperationProfile'
BUILDING_MATERIAL = 'BuildingMaterial'
Import from multiconn_archicad.models.tapir.types.
AttributeTypeIndexes ¶
attributeType: AttributeType
# The number of attributes of the type.
count: int
# The index of the first valid attribute of the type, as Archicad reports it.
# Left out when the type has no attribute.
firstIndex: int | None = None
# The highest index in use. Left out when the type has no attribute.
lastIndex: int | None = None
# The indexes between firstIndex and lastIndex that no attribute uses, for
# example those of deleted attributes, in ascending order. Archicad 29 gives a
# new Layer the lowest free index.
freeIndexes: list[int]
Import from multiconn_archicad.models.tapir.types.
AttributeUsageType ¶
LAYER = 'layer'
FILL = 'fill'
SURFACE = 'surface'
BUILDING_MATERIAL = 'buildingMaterial'
COMPOSITE = 'composite'
PROFILE = 'profile'
LINE_TYPE = 'lineType'
PEN_TABLE = 'penTable'
ZONE_CATEGORY = 'zoneCategory'
Import from multiconn_archicad.models.tapir.types.
AttributeUserData ¶
# Key-value pairs stored in user data.
pairs: list[UserDataPair]
Import from multiconn_archicad.models.tapir.types.
AutomaticZoneGeometry ¶
Automatic zone placement.
# Reference point to automatically find zone.
referencePosition: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
AutoText ¶
# The autotext's key. To embed it in the content of a Text or Label element,
# surround it with '<' and '>'.
key: str
# The autotext's current value, as Archicad resolves it without an element
# context.
value: str
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AutoTextKey ¶
# The autotext's name, as shown in the Insert Autotext dialog of Archicad.
name: str
# The autotext's key. To embed it in the content of a Text or Label element,
# surround it with '<' and '>', e.g. '<PROJECTNAME>' or
# '<PROPERTY-69A58F6F-DD3B-478D-B5EF-09A16BD0C548>'.
key: str
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AutoTextName ¶
# The autotext's display name, as shown in the Insert Autotext dialog of
# Archicad.
name: str
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
AvailableLibraryPart ¶
guid: str | None = None
index: int | None = None
documentName: str | None = None
fileName: str | None = None
# The type of the library part. For GDL objects it is the type of the tool
# that places it: 'Window', 'Door', 'Skylight', 'Lamp', 'Room', 'Label' or
# 'Object' (wall ends are placed by the Window or Door tool, so they are
# 'Window' or 'Door').
typeId: LibraryPartType | None = None
type: AvailableLibraryPartType | None = None
Import from multiconn_archicad.models.tapir.types.
AvailableLibraryPartType ¶
The kind of the library part file, not its type (see typeId): a GDL object, an image, a text file, a binary list criteria file or other. Available from Archicad 28; missing when Archicad cannot find the file by its fileName.
OBJECT = 'Object'
IMAGE = 'Image'
TEXT = 'Text'
BINARY_LIST_CRIT = 'BinaryListCrit'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
Axono ¶
# The 3x4 transformation matrix, row by row.
tranmat: list[float] | None = None
Import from multiconn_archicad.models.tapir.types.
AxonometricProjectionParameters ¶
The parameters of an axonometric projection. Present only when isPersp is false.
projectionType: AxonometryProjectionType
# The camera azimuth in degrees, the Azimuth of the 3D Projection Settings
# dialog: for a side view the direction from the model to the camera,
# counterclockwise from the X axis (270 looks from the south). A predefined
# axonometry looks from 45 degrees further on.
azimuth: float
# The 3x4 transformation matrix of the axonometric projection, row by row (12
# numbers).
transformationMatrix: list[float]
# The sun position of the axonometry.
sun: ProjectionSunSettings
Import from multiconn_archicad.models.tapir.types.
AxonometricProjectionSettings ¶
Requires axonometry.
perspective: PerspectiveProjectionParameters | None = None
# Makes the projection axonometric. Only the given values change, in sun too;
# the others are kept from the current axonometry, or from the last one when
# the projection is a perspective.
axonometry: Axonometry
Import from multiconn_archicad.models.tapir.types.
Axonometry ¶
Makes the projection axonometric. Only the given values change, in sun too; the others are kept from the current axonometry, or from the last one when the projection is a perspective.
projectionType: AxonometryProjectionType | None = None
# The camera azimuth in degrees, the Azimuth of the 3D Projection Settings
# dialog: for a side view the direction from the model to the camera,
# counterclockwise from the X axis (270 looks from the south). A predefined
# axonometry looks from 45 degrees further on.
azimuth: float | None = None
# The 3x4 transformation matrix of the axonometric projection, row by row (12
# numbers), as Get3DProjectionSettings returns it. Its 3x3 part must be
# invertible.
transformationMatrix: list[float] | None = None
# The sun position of the axonometry. Only the values given change.
sun: ProjectionSunSettings | None = None
Import from multiconn_archicad.models.tapir.types.
AxonometryProjectionType ¶
The projection type of an axonometric 3D projection, the projMod of the Archicad API. Archicad works out the transformation matrix of every type but Custom from the type and the azimuth. XY is the top view and Bottom the view from below. YZ and XZ are both the side view (an elevation), looking from the azimuth. Frontal, Monometric, Isometric and Dimetric are the predefined axonometries, and FrontalBottom, MonometricBottom, IsometricBottom and DimetricBottom the same seen from below; an Isometric at azimuth 270 is the isometric from the south-east (X axis at -30 degrees, Y at 30, Z at 90). Custom keeps the transformation matrix as given. Parallel cannot be set: Archicad makes it Custom.
YZ = 'YZ'
XZ = 'XZ'
XY = 'XY'
FRONTAL = 'Frontal'
MONOMETRIC = 'Monometric'
ISOMETRIC = 'Isometric'
DIMETRIC = 'Dimetric'
BOTTOM = 'Bottom'
FRONTAL_BOTTOM = 'FrontalBottom'
MONOMETRIC_BOTTOM = 'MonometricBottom'
ISOMETRIC_BOTTOM = 'IsometricBottom'
DIMETRIC_BOTTOM = 'DimetricBottom'
PARALLEL = 'Parallel'
CUSTOM = 'Custom'
UNKNOWN = 'Unknown'
B¶
Import from multiconn_archicad.models.tapir.types.
Base ¶
What the cursor snaps to before include and exclude are applied: All = everything, None = nothing, Edges = only the lines and edges of the elements, Nodes = only their points (end points, vertices, hotspots). Default: None when include is given, otherwise All.
ALL = 'All'
NONE = 'None'
EDGES = 'Edges'
NODES = 'Nodes'
Import from multiconn_archicad.models.tapir.types.
BaselinePosition ¶
Optional. Where the baseline runs on the flight, looking from the first point to the last. Left: along the left edge, the flight lies to the right of the baseline. Right: along the right edge, the flight lies to the left of it. Center: along the middle of the flight. Without it the baseline position of the Stair tool defaults (or of favoriteName) is used.
LEFT = 'Left'
RIGHT = 'Right'
CENTER = 'Center'
Import from multiconn_archicad.models.tapir.types.
BasicDefaultValue ¶
Default value of the property in case of a basic property value (ie. not an expression).
# A normal, userUndefined, notAvailable or notEvaluated property value.
basicDefaultValue: NotAvailablePropertyValue | NormalNumberPropertyValue | NormalIntegerPropertyValue | NormalStringPropertyValue | NormalBooleanPropertyValue | NormalLengthPropertyValue | NormalAreaPropertyValue | NormalVolumePropertyValue | NormalAnglePropertyValue | NormalNumberListPropertyValue | NormalIntegerListPropertyValue | NormalStringListPropertyValue | NormalBooleanListPropertyValue | NormalLengthListPropertyValue | NormalAreaListPropertyValue | NormalVolumeListPropertyValue | NormalAngleListPropertyValue | NormalSingleEnumPropertyValue | NormalMultiEnumPropertyValue | UserUndefinedPropertyValue
Import from multiconn_archicad.models.tapir.types.
BeamAnchorPoint ¶
Anchor point of the beam cross section on a 3x3 grid.
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
BeamCrossSectionType ¶
Matches beams whose cross section equals this.
RECTANGULAR = 'Rectangular'
PROFILED = 'Profiled'
CIRCULAR = 'Circular'
Import from multiconn_archicad.models.tapir.types.
BeamData ¶
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
# Optional floor index. If omitted, derived from zCoordinate.
floorIndex: int | None = None
# Absolute Z of the beam's reference line. Which point of the cross section
# lies on the reference line is set by anchorPoint: with a Top anchor the beam
# hangs below zCoordinate, so zCoordinate 10 and height 0.1 span 9.9 to 10;
# MiddleLeft, Center and MiddleRight center it on zCoordinate; Bottom anchors
# stand it on top. The home story is derived from it unless floorIndex is
# given.
zCoordinate: float
# Horizontal distance of the beam from its reference line, in meters; positive
# moves the beam to the left of the line, looking from begCoordinate to
# endCoordinate.
offset: float | None = None
# Slant angle in radians. A non-zero value also switches the beam to slanted,
# unless isSlanted is given explicitly.
slantAngle: float | None = None
# Optional explicit slanted state. By default it is derived from slantAngle.
isSlanted: bool | None = None
# Rotation angle of the profile around the beam's center line, in radians.
profileAngle: float | None = None
# Optional arc angle in radians. A non-zero value makes a horizontally curved
# beam.
arcAngle: float | None = None
# Optional rise of a vertically curved beam. A non-zero value makes a
# vertically curved beam; it wins over arcAngle.
verticalCurveHeight: float | None = None
# Cross section width of the beam. Applied to all segments. A custom profile
# (profileId, or a tool default or favorite that uses one) sets the size
# itself and Archicad ignores the width; give buildingMaterialId to make a
# basic cross section of this size.
width: float | None = None
# Cross section height of the beam. Applied to all segments. A custom profile
# (profileId, or a tool default or favorite that uses one) sets the size
# itself and Archicad ignores the height; give buildingMaterialId to make a
# basic cross section of this size.
height: float | None = None
# The point of the cross section that lies on the reference line
# (begCoordinate to endCoordinate at zCoordinate). Top anchors hang the beam
# below zCoordinate, Bottom anchors stand it on top, MiddleLeft, Center and
# MiddleRight center it. Left and Right anchors put the line on the beam's
# left or right edge, looking from begCoordinate to endCoordinate; TopCenter,
# Center and BottomCenter keep it on the beam's axis.
anchorPoint: BeamAnchorPoint | None = None
# True for a round beam cross section, false for rectangular. Ignored if
# profileId is also given. Applied to all segments.
circleBased: bool | None = None
# When true, width and height are kept equal (a round cross section too): a
# width, or else a height, given alone sets both. A width and a height given
# together with different values make them independent, unless this is given
# too. When omitted, the tool default (or favoriteName) is used. Applied to
# all segments.
isWidthAndHeightLinked: bool | None = None
# Cross section building material (round or rectangular, per circleBased).
# Applied to all segments.
buildingMaterialId: AttributeId | None = None
# Switches the cross section to this custom extruded profile (circleBased
# becomes false). Applied to all segments.
profileId: AttributeId | None = None
# Optional number of segments of the new beam, e.g. one per beam when beams
# with different cross sections are merged into one (segments then gives each
# its cross section and length). Added segments copy the last segment of the
# Beam tool defaults or the favorite, with a Basic structure; the joints
# between segments are vertical cuts. When the number changes, every segment
# gets the same proportional length unless segments sets its length. The beam
# is read back, and when Archicad did not keep the number it is deleted again
# and the item fails. Not taken by ModifyBeams: an existing beam keeps its
# number of segments.
segmentCount: int | None = None
# Optional changes to single segments of the new beam, which has the segments
# of the Beam tool defaults or the favorite, or segmentCount segments: their
# cross section, taper, length and surfaces. Applied after segmentCount and
# the cross section given for all segments, so a segment given here keeps its
# own values. A segmentIndex the beam does not have is an error and the beam
# is not created.
segments: list[BeamSegmentModification] | None = None
# Optional holes of the new beam, in the shape ModifyBeams takes and
# GetDetailsOfElements returns them (centerX along the beam from
# begCoordinate). They are written right after the beam is created; a hole
# Archicad refuses fails the item and the beam is not created. When omitted,
# no holes are written.
holes: list[BeamHoleModification] | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the beam in the floor plan, as GetDetailsOfElements
# returns it.
coverFill: CoverFill | None = None
Import from multiconn_archicad.models.tapir.types.
BeamDetails ¶
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
zCoordinate: float
# base height of the beam relative to the floor level
level: float
# beam ref.line offset from the center
offset: float
# The slant angle of the beam in radians.
slantAngle: float
# The arc angle of the (horizontally) curved beam in radians.
arcAngle: float
# The height of the vertical curve of the beam.
verticalCurveHeight: float
beamShape: BeamShape | None = None
isSlanted: bool | None = None
isFlipped: bool | None = None
profileAngle: float | None = None
anchorPoint: BeamAnchorPoint | None = None
# The stories the beam is shown on (Show On Stories). While
# isAutoOnStoryVisibility is true, Archicad computes it from the beam's
# elevation.
visibility: StoryVisibility | None = None
# True when Archicad recomputes visibility automatically from the actual
# elevation of the beam.
isAutoOnStoryVisibility: bool | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# Projection mode of the uncut part of the beam on the floor plan.
uncutProjectionMode: ElemProjectionMode | None = None
# Projection mode of the overhead part of the beam on the floor plan.
overheadProjectionMode: ElemProjectionMode | None = None
# Whether the contour lines of the beam are shown on the floor plan.
showContourLines: BeamVisibleLines | None = None
# Whether the reference axis of the beam is shown on the floor plan.
showReferenceAxis: BeamVisibleLines | None = None
# Pen of the cut contour lines of the beam.
cutContourLinePen: int | None = None
# Line type of the cut contour lines of the beam.
cutContourLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the beam.
belowViewLinePen: int | None = None
# Line type of the uncut lines of the beam.
belowViewLineTypeId: AttributeId | None = None
# Pen of the overhead lines of the beam.
aboveViewLinePen: int | None = None
# Line type of the overhead lines of the beam.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the hidden lines of the beam (the beam below a slab, usually dashed).
hiddenLinePen: int | None = None
# Line type of the hidden lines of the beam, for example a dashed line.
hiddenLineTypeId: AttributeId | None = None
# Pen of the reference axis of the beam.
referenceLinePen: int | None = None
# Line type of the reference axis of the beam.
referenceLineTypeId: AttributeId | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
coverFill: CoverFill | None = None
holes: list[BeamHole] | None = None
# Cross section width of the beam (all segments).
width: float | None = None
# Cross section height of the beam (all segments).
height: float | None = None
# True for a round beam cross section, false for rectangular.
circleBased: bool | None = None
# When true, Archicad keeps width and height equal - set to false via
# ModifyBeams/CreateBeams to give them independent values.
isWidthAndHeightLinked: bool | None = None
# Present when the cross section uses a building material rather than a custom
# profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section uses a custom extruded profile rather than a
# building material.
profileId: AttributeId | None = None
# The surfaces and the geometry (cross section, taper and length) of each
# segment of the beam, in the order of the beam's segments (segmentIndex of a
# BeamSegment).
segments: list[BeamSegmentSurfaces] | None = None
Import from multiconn_archicad.models.tapir.types.
BeamHole ¶
holeId: float
type: BeamHoleType
showContour: bool | None = None
centerX: float
centerZ: float
width: float
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
BeamHoleModification ¶
type: BeamHoleType
showContour: bool | None = None
centerX: float
centerZ: float
width: float
# Only used for the Rectangular type.
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
BeamHoleType ¶
RECTANGULAR = 'Rectangular'
CIRCULAR = 'Circular'
Import from multiconn_archicad.models.tapir.types.
BeamQuantities ¶
Quantities of a Beam element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the beam.
volume: float
# Conditional net volume of the beam.
volumeConditional: float
# Total volume of the holes in the beam.
holesVolume: float
# Floor plan area of the beam.
area: float
# Length on the left side of the reference line.
leftLength: float
# Length on the right side of the reference line.
rightLength: float
# Surface of the top of the beam.
topSurface: float
# Surface of the bottom of the beam.
bottomSurface: float
# Side surface on the left side of the reference line.
leftSurface: float
# Side surface on the right side of the reference line.
rightSurface: float
# Surface of both ends of the beam.
endSurface: float
# Total surface of the holes in the beam.
holesSurface: float
# Total surface of the hole edges in the beam.
holesEdgeSurface: float
# Number of holes in the beam.
holesNumber: int
# Area of the cross section at the beginning of the beam.
crossSectionAreaCutBegin: float
# Area of the cross section at the end of the beam.
crossSectionAreaCutEnd: float
Import from multiconn_archicad.models.tapir.types.
BeamRelations ¶
Relations of a beam.
beamConnections: EndpointConnections
Import from multiconn_archicad.models.tapir.types.
BeamSegmentDetails ¶
Details of a BeamSegment subelement of a Beam.
# The Beam element the segment belongs to.
ownerElementId: ElementId | None = None
structureType: SegmentStructureType
# Cross section width of the segment.
width: float
# Cross section height of the segment.
height: float
isWidthAndHeightLinked: bool
# True for a round cross section, false for rectangular.
circleBased: bool
# Present when the cross section uses a building material rather than a custom
# profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section uses a custom extruded profile rather than a
# building material.
profileId: AttributeId | None = None
# True when the cross section is the same at both ends of the segment; false
# for a tapered segment, which ends with endWidth and endHeight.
isHomogeneous: bool | None = None
# Cross section width at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endWidth: float | None = None
# Cross section height at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endHeight: float | None = None
# Whether the end width and end height of a tapered segment are linked.
isEndWidthAndHeightLinked: bool | None = None
# The index of the segment in its beam, the same as its position in the beam's
# segments list.
segmentIndex: int | None = None
length: AssemblySegmentLength | None = None
Import from multiconn_archicad.models.tapir.types.
BeamSegmentGeometry ¶
The cross section, taper and length of a segment of a beam.
structureType: SegmentStructureType
# Cross section width of the segment (at its start, for a tapered segment).
width: float
# Cross section height of the segment (at its start, for a tapered segment).
height: float
isWidthAndHeightLinked: bool
# True for a round cross section, false for rectangular.
circleBased: bool
# Present when the cross section uses a building material rather than a custom
# profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section uses a custom extruded profile rather than a
# building material.
profileId: AttributeId | None = None
# True when the cross section is the same at both ends of the segment; false
# for a tapered segment, which ends with endWidth and endHeight.
isHomogeneous: bool
# Cross section width at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endWidth: float
# Cross section height at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endHeight: float
# Whether the end width and end height of a tapered segment are linked.
isEndWidthAndHeightLinked: bool
length: AssemblySegmentLength | None = None
Import from multiconn_archicad.models.tapir.types.
BeamSegmentGeometryModification ¶
The cross section, taper and length of a segment of a beam, in the shape GetDetailsOfElements returns them (BeamSegmentGeometry). Only the keys given are written; the other values of the segment stay as they are.
# Basic: a round or rectangular cross section of a building material
# (buildingMaterialId, or the segment's current one). Profile: a custom
# extruded profile, which needs profileId.
structureType: SegmentStructureType | None = None
# Cross section width of the segment (at its start, for a tapered segment).
width: float | None = None
# Cross section height of the segment (at its start, for a tapered segment).
height: float | None = None
# When true, Archicad keeps width and height equal - set to false to give them
# independent values.
isWidthAndHeightLinked: bool | None = None
# True for a round cross section, false for rectangular. Ignored when
# profileId is given.
circleBased: bool | None = None
# Switches the segment to a basic cross section of this building material. Not
# together with profileId.
buildingMaterialId: AttributeId | None = None
# Switches the segment to this custom extruded profile (circleBased becomes
# false). Not together with buildingMaterialId.
profileId: AttributeId | None = None
# True for the same cross section at both ends of the segment; false for a
# tapered segment, which ends with endWidth and endHeight.
isHomogeneous: bool | None = None
# Cross section width at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endWidth: float | None = None
# Cross section height at the end of a tapered segment. Archicad uses it only
# when isHomogeneous is false.
endHeight: float | None = None
# Whether the end width and end height of a tapered segment are linked.
isEndWidthAndHeightLinked: bool | None = None
length: AssemblySegmentLengthModification | None = None
Import from multiconn_archicad.models.tapir.types.
BeamSegmentModification ¶
Changes one existing segment of a beam: its geometry and its surfaces, which take the shape of BeamSegmentSurfaces, so the segments GetDetailsOfElements returns can be sent back. Only the given fields change. Send overridden false to make a side take its surface from the cross section again.
# The segment to change, 0-based, in the order GetDetailsOfElements lists the
# beam's segments. Without it, the item's position in the segments array is
# used, so an empty item {} leaves its segment as it is.
segmentIndex: int | None = None
geometry: BeamSegmentGeometryModification | None = None
# Overrides the surface of the left side of the segment.
leftMaterial: OverriddenMaterial | None = None
# Overrides the surface of the top of the segment.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the right side of the segment.
rightMaterial: OverriddenMaterial | None = None
# Overrides the surface of the bottom of the segment.
bottomMaterial: OverriddenMaterial | None = None
# Overrides the surface of the beginning and end of the segment.
endsMaterial: OverriddenMaterial | None = None
# Overrides the surface of the extrusion of a profiled segment. Written from
# Archicad 28; before that it gets a failed execution result.
extrusionMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained. Send false with surfaces that
# should differ from each other.
materialsChained: bool | None = None
Import from multiconn_archicad.models.tapir.types.
BeamSegmentQuantities ¶
Quantities of a BeamSegment element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the beam segment.
volume: float
# Total volume of the holes in the beam segment.
holesVolume: float
# Length of the beam segment.
length: float
# Length on the left side.
leftLength: float
# Length on the right side.
rightLength: float
# Surface of the top of the beam segment.
topSurface: float
# Surface of the bottom of the beam segment.
bottomSurface: float
# Surface of the left side of the beam segment.
leftSurface: float
# Surface of the right side of the beam segment.
rightSurface: float
# Surface of the ends of the beam segment.
endSurface: float
# Total surface of the holes in the beam segment.
holesSurface: float
Import from multiconn_archicad.models.tapir.types.
BeamSegmentRelations ¶
Relations of a beam segment.
beamSegmentConnections: EndpointConnections
Import from multiconn_archicad.models.tapir.types.
BeamSegmentSurfaces ¶
The surfaces of a beam segment, and its geometry when read.
# The cross section, taper and length of the segment. CreateBeams and
# ModifyBeams write it with their segments array.
geometry: BeamSegmentGeometry | None = None
leftMaterial: OverriddenMaterial
topMaterial: OverriddenMaterial
rightMaterial: OverriddenMaterial
bottomMaterial: OverriddenMaterial
endsMaterial: OverriddenMaterial
# Available from Archicad 28.
extrusionMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained.
materialsChained: bool
Import from multiconn_archicad.models.tapir.types.
BeamShape ¶
STRAIGHT = 'Straight'
HORIZONTALLY_CURVED = 'HorizontallyCurved'
VERTICALLY_CURVED = 'VerticallyCurved'
Import from multiconn_archicad.models.tapir.types.
BeamVisibleLines ¶
When a line of a beam is shown on the floor plan (API_BeamVisibleLinesID): always, never, or as the Model View Options set it.
SHOW_ALWAYS = 'ShowAlways'
HIDE_ALWAYS = 'HideAlways'
BY_MVO = 'ByMVO'
Import from multiconn_archicad.models.tapir.types.
BeamWithDetails ¶
elementId: ElementId
begCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
# Absolute Z of the beam's reference line, as in CreateBeams. The home story
# is derived from it unless floorIndex is given; level, when given too, is
# applied after it.
zCoordinate: float | None = None
# Optional home story index (as returned by GetStories). With zCoordinate it
# pins the story the Z is resolved against; alone it only changes the home
# story (combine with level to set the offset relative to it).
floorIndex: int | None = None
# Elevation of the reference line relative to the home story.
level: float | None = None
offset: float | None = None
slantAngle: float | None = None
# Arc angle of a horizontally curved beam, in radians.
arcAngle: float | None = None
# Curve height of a vertically curved beam. Applied only when beamShape is
# VerticallyCurved, stored already or given in the same call; otherwise the
# item's result carries a warning.
verticalCurveHeight: float | None = None
# HorizontallyCurved needs a non-zero arcAngle, stored already or given in the
# same call; otherwise the beam stays as it was and the item's result carries
# a warning.
beamShape: BeamShape | None = None
isSlanted: bool | None = None
isFlipped: bool | None = None
profileAngle: float | None = None
anchorPoint: BeamAnchorPoint | None = None
# Cross section width of the beam. Applied to all segments. A custom profile
# (profileId, or the profile the beam already has) sets the size itself and
# Archicad ignores the width: the item then fails with a message naming the
# profile, and the other given fields are still applied. Send
# buildingMaterialId in the same call to switch to a basic cross section
# first.
width: float | None = None
# Cross section height of the beam. Applied to all segments. A custom profile
# (profileId, or the profile the beam already has) sets the size itself and
# Archicad ignores the height: the item then fails with a message naming the
# profile, and the other given fields are still applied. Send
# buildingMaterialId in the same call to switch to a basic cross section
# first.
height: float | None = None
# When true, width and height are kept equal (a round cross section too): a
# width, or else a height, given alone sets both. A width and a height given
# together with different values make them independent, unless this is given
# too. When omitted, the current setting is kept. Applied to all segments. Not
# applied on a beam with a custom profile: the item's result then carries a
# warning.
isWidthAndHeightLinked: bool | None = None
# True for a round beam cross section, false for rectangular. Ignored once
# profileId switches the beam to a custom profile shape, and not applied on a
# beam that has one: the item's result then carries a warning. Applied to all
# segments.
circleBased: bool | None = None
# Cross section building material (round or rectangular, per circleBased).
# Applied to all segments.
buildingMaterialId: AttributeId | None = None
# Switches the cross section to this custom extruded profile (circleBased
# becomes false). Applied to all segments.
profileId: AttributeId | None = None
# Replaces all holes currently placed on the beam.
holes: list[BeamHoleModification] | None = None
# Optional changes to single segments of the beam: their cross section, taper,
# length and surfaces. Only the segments and keys given change, so the
# neighbouring segments stay as they are. Applied after the cross section
# given for all segments. Segments are not added or removed; a segmentIndex
# the beam does not have, or a wrong surface, fails the item before anything
# of it is written.
segments: list[BeamSegmentModification] | None = None
# The stories the beam is shown on (Show On Stories), for example {
# "showOnHome": true } for the home story only. Setting it without
# isAutoOnStoryVisibility turns the automatic story visibility off, which
# Archicad would otherwise recompute it from. The item fails when Archicad
# does not take the given combination.
visibility: StoryVisibility | None = None
# When true, Archicad recomputes visibility automatically from the actual
# elevation of the beam and ignores a visibility given together with it.
isAutoOnStoryVisibility: bool | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# Projection mode of the uncut part of the beam on the floor plan.
uncutProjectionMode: ElemProjectionMode | None = None
# Projection mode of the overhead part of the beam on the floor plan.
overheadProjectionMode: ElemProjectionMode | None = None
# Whether the contour lines of the beam are shown on the floor plan.
showContourLines: BeamVisibleLines | None = None
# Whether the reference axis of the beam is shown on the floor plan.
showReferenceAxis: BeamVisibleLines | None = None
# Pen of the cut contour lines of the beam.
cutContourLinePen: int | None = None
# Line type of the cut contour lines of the beam.
cutContourLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the beam.
belowViewLinePen: int | None = None
# Line type of the uncut lines of the beam.
belowViewLineTypeId: AttributeId | None = None
# Pen of the overhead lines of the beam.
aboveViewLinePen: int | None = None
# Line type of the overhead lines of the beam.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the hidden lines of the beam (the beam below a slab).
hiddenLinePen: int | None = None
# Line type of the hidden lines of the beam, for example a dashed line.
hiddenLineTypeId: AttributeId | None = None
# Pen of the reference axis of the beam.
referenceLinePen: int | None = None
# Line type of the reference axis of the beam.
referenceLineTypeId: AttributeId | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the beam in the floor plan, as GetDetailsOfElements
# returns it.
coverFill: CoverFill | None = None
Import from multiconn_archicad.models.tapir.types.
Body3D ¶
One solid body of an element's 3D model: a flat vertex list in world coordinates and the planar faces referencing it. The faces are not triangulated: a face is a closed loop of vertex indices (counterclockwise seen from outside the body) plus the loops of its holes.
# The vertices of the body in world coordinates (meters, absolute Z).
vertices: list[Coordinate3D]
# The faces of the body.
polygons: list[Body3DPolygon]
Import from multiconn_archicad.models.tapir.types.
Body3DPolygon ¶
A polygon of a three-dimensional body.
# The outer contour of the face: 0-based indices into vertices.
vertexIds: list[int]
# The holes in the face, each a closed loop of 0-based indices into vertices.
holes: list[Body3DPolygonHole] | None = None
# The surface attribute of the face. Left out when the face's material is not
# a project attribute (for example one defined by a GDL script).
surfaceId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
Body3DPolygonHole ¶
A hole contour within a body polygon.
vertexIds: list[int]
Import from multiconn_archicad.models.tapir.types.
BodyCutPolygons ¶
The cutting-plane intersection polygons of one body.
# The index of the body in the element, starting from 0.
bodyIndex: int
# The building material of the body. Left out when it cannot be found among
# the attributes of the project.
buildingMaterialId: AttributeId | None = None
# The name of the building material. Left out together with
# buildingMaterialId.
buildingMaterialName: str | None = None
# The area of the cut surface of the body. 0 when the plane does not cut the
# body.
area: float
# The polygons of the cut surface of the body, in 2D coordinates of the plane
# (basePoint, axisX, axisY). Curved edges are given by their end points. Empty
# when the plane does not cut the body.
polygons: list[CutPolygon]
Import from multiconn_archicad.models.tapir.types.
BodyMaterialDetails ¶
The materials of one body of an element.
# The index of the body in the element, starting from 0.
bodyIndex: int
# The building material of the body. Left out when it cannot be found among
# the attributes of the project.
buildingMaterialId: AttributeId | None = None
# The name of the building material. Left out together with
# buildingMaterialId.
buildingMaterialName: str | None = None
Import from multiconn_archicad.models.tapir.types.
BodyTextureCoordinates ¶
# One item per face of the body, in Archicad's order: the texture coordinates
# at the first vertex of the face, or an error.
polygons: list[TextureCoordinate | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
BodyType ¶
Whether the body is a closed solid or an open surface shell. Reported accurately on Get; on Create/Modify this is set on the element but a confirmed Archicad SDK bug means it may not take effect (bodyType has been observed always coming back Solid regardless of what was requested - see edgeOverrides' note).
SOLID = 'Solid'
SURFACE = 'Surface'
Import from multiconn_archicad.models.tapir.types.
BottomType ¶
The shape of the underside of the structure.
STEPPED = 'Stepped'
FLAT = 'Flat'
SMOOTH = 'Smooth'
Import from multiconn_archicad.models.tapir.types.
BoundaryDisplay ¶
UNCUT_CONTOURS = 'UncutContours'
NO_CONTOURS = 'NoContours'
OVERRIDE_CONTOURS = 'OverrideContours'
Import from multiconn_archicad.models.tapir.types.
BoundaryDisplayMode ¶
Boundary contour display mode.
UNCUT_CONTOURS = 'UncutContours'
NO_CONTOURS = 'NoContours'
OVERRIDE_CONTOURS = 'OverrideContours'
Import from multiconn_archicad.models.tapir.types.
BoundingBox2D ¶
A two-dimensional bounding box defined by its minimum and maximum coordinates.
xMin: float
yMin: float
xMax: float
yMax: float
Import from multiconn_archicad.models.tapir.types.
BoundingBox2DArrayItem ¶
A wrapper containing a 2D bounding box.
boundingBox2D: BoundingBox2D
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
BoundingBox3D ¶
A 3D bounding box of an element.
# The minimum X value of the bounding box.
xMin: float
# The minimum Y value of the bounding box.
yMin: float
# The minimum Z value of the bounding box.
zMin: float
# The maximum X value of the bounding box.
xMax: float
# The maximum Y value of the bounding box.
yMax: float
# The maximum Z value of the bounding box.
zMax: float
Import from multiconn_archicad.models.tapir.types.
BoundingBox3DArrayItem ¶
A wrapper containing a 3D bounding box.
boundingBox3D: BoundingBox3D
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
BreakHotlinkNodesParameters ¶
# The hotlink nodes to break, from GetHotlinks or CreateHotlinkNodes. The
# elements of each node's placed instances stay in the project as ordinary
# elements, no longer tied to the source file, as the Hotlink Manager's Break
# Hotlink does. In Teamwork the Hotlink and XRef management has to be reserved
# first (ReserveHotlinkCacheManagement).
hotlinkNodes: list[HotlinkNodeReference]
Import from multiconn_archicad.models.tapir.commands.
BreakHotlinkNodesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialAttribute ¶
A building material attribute.
attributeId: AttributeId
index: int
name: str
id: str | None = None
manufacturer: str | None = None
description: str | None = None
connPriority: int | None = None
cutFillIndex: int | None = None
cutFillPen: int | None = None
cutFillBackgroundPen: int | None = None
cutSurfaceIndex: int | None = None
cutFillOrientation: CutFillOrientation | None = None
thermalConductivity: float | None = None
density: float | None = None
heatCapacity: float | None = None
embodiedEnergy: float | None = None
embodiedCarbon: float | None = None
showUncutLines: bool | None = None
collisionDetection: bool | None = None
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialAttributeField ¶
ID = 'id'
MANUFACTURER = 'manufacturer'
DESCRIPTION = 'description'
CONN_PRIORITY = 'connPriority'
CUT_FILL_INDEX = 'cutFillIndex'
CUT_FILL_PEN = 'cutFillPen'
CUT_FILL_BACKGROUND_PEN = 'cutFillBackgroundPen'
CUT_SURFACE_INDEX = 'cutSurfaceIndex'
CUT_FILL_ORIENTATION = 'cutFillOrientation'
THERMAL_CONDUCTIVITY = 'thermalConductivity'
DENSITY = 'density'
HEAT_CAPACITY = 'heatCapacity'
EMBODIED_ENERGY = 'embodiedEnergy'
EMBODIED_CARBON = 'embodiedCarbon'
SHOW_UNCUT_LINES = 'showUncutLines'
COLLISION_DETECTION = 'collisionDetection'
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialAttributeOrError ¶
BuildingMaterialAttributeOrError: TypeAlias = (
BuildingMaterialAttribute | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialData ¶
Data to create a Building Material.
# Indentifier of the existing Building Material to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Building Material to overwrite, ignored if
# overwriteExisting is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Building Material with
# the given name will be overwritten. It must not be empty.
name: str
# Identifier.
id: str | None = None
# Manufacturer.
manufacturer: str | None = None
# Decription.
description: str | None = None
# Intersection priority.
connPriority: int | None = None
# Index of the Cut Fill.
cutFillIndex: int | None = None
# Cut Fill Foreground Pen.
cutFillPen: int | None = None
# Cut Fill Background Pen.
cutFillBackgroundPen: int | None = None
# Index of the Cut Surface.
cutSurfaceIndex: int | None = None
# Thermal Conductivity.
thermalConductivity: float | None = None
# Density.
density: float | None = None
# Heat Capacity.
heatCapacity: float | None = None
# Embodied Energy.
embodiedEnergy: float | None = None
# Embodied Carbon.
embodiedCarbon: float | None = None
# Show Contours in Model Views.
showUncutLines: bool | None = None
# Whether the Building Material participates in collision detection.
collisionDetection: bool | None = None
# ProjectOrigin, ElementOrigin, or FitToSkin. Orientation of the cut fill.
cutFillOrientation: str | None = None
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialPhysicalProperties ¶
The physical properties of a single building material.
# Thermal Conductivity.
thermalConductivity: float
# Density.
density: float
# Heat Capacity.
heatCapacity: float
# Embodied Energy.
embodiedEnergy: float
# Embodied Carbon.
embodiedCarbon: float
Import from multiconn_archicad.models.tapir.types.
BuildingMaterialPhysicalPropertiesArrayItem ¶
properties: BuildingMaterialPhysicalProperties
Import from multiconn_archicad.models.tapir.types.
BuiltInPropertyValue ¶
propertyId: PropertyId
propertyValue: PropertyValue
C¶
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
CalculateSunPositionParameters ¶
# The date and time to calculate the sun position for; the fields left out
# keep the project's date and time.
dateTime: SunDateTimeUpdate | None = None
# The location to calculate the sun position at; the fields left out keep the
# project location.
location: ProjectLocationUpdate | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.types.
CalculationRule ¶
propertyType: CalculationRuleQuantity
# The hole size limit: holes smaller than this are ignored in the quantity. In
# SI units, as Archicad stores it.
holeLimit: float
# The element types the rule applies to.
elementTypes: list[CalculationRuleElementType]
Import from multiconn_archicad.models.tapir.types.
CalculationRuleElementType ¶
WALL = 'Wall'
SLAB = 'Slab'
ROOF = 'Roof'
SHELL = 'Shell'
BEAM = 'Beam'
Import from multiconn_archicad.models.tapir.types.
CalculationRulePreferences ¶
The Calculation Rules page: the conditional rules that leave small holes out of element quantities, and the fills counted as insulation and air in walls, roofs and shells. A list given to SetProjectPreferences replaces the whole list on the page.
# The conditional element rules. Each rule ignores the holes smaller than its
# holeLimit in a quantity (propertyType) of the given element types.
elementRules: list[CalculationRule]
# The fills counted as insulation in walls.
wallInsulationFills: list[AttributeIdArrayItem]
# The fills counted as air in walls.
wallAirFills: list[AttributeIdArrayItem]
# The fills counted as insulation in roofs.
roofInsulationFills: list[AttributeIdArrayItem]
# The fills counted as insulation in shells.
shellInsulationFills: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
CalculationRulePreferencesUpdate ¶
The Calculation Rules page: the conditional rules that leave small holes out of element quantities, and the fills counted as insulation and air in walls, roofs and shells. A list given to SetProjectPreferences replaces the whole list on the page.
# The conditional element rules. Each rule ignores the holes smaller than its
# holeLimit in a quantity (propertyType) of the given element types.
elementRules: list[CalculationRule] | None = None
# The fills counted as insulation in walls.
wallInsulationFills: list[AttributeIdArrayItem] | None = None
# The fills counted as air in walls.
wallAirFills: list[AttributeIdArrayItem] | None = None
# The fills counted as insulation in roofs.
roofInsulationFills: list[AttributeIdArrayItem] | None = None
# The fills counted as insulation in shells.
shellInsulationFills: list[AttributeIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.types.
CalculationRuleQuantity ¶
The quantity the rule applies to. Volume rules can apply to walls, slabs, roofs, shells and beams, Surface rules to walls, slabs, roofs and shells, Length rules to walls only.
VOLUME = 'Volume'
SURFACE = 'Surface'
LENGTH = 'Length'
Import from multiconn_archicad.models.tapir.types.
CalculationUnitAreaFormat ¶
unit: AreaType
accuracy: AccuracyType
# Number of decimals to display for area values.
decimals: int
Import from multiconn_archicad.models.tapir.types.
CalculationUnitAreaFormatUpdate ¶
unit: AreaType | None = None
accuracy: AccuracyType | None = None
# Number of decimals to display for area values.
decimals: int | None = None
Import from multiconn_archicad.models.tapir.types.
CalculationUnitLengthFormat ¶
unit: LengthType
accuracy: AccuracyType
# Number of decimals to display for length values.
decimals: int
Import from multiconn_archicad.models.tapir.types.
CalculationUnitLengthFormatUpdate ¶
unit: LengthType | None = None
accuracy: AccuracyType | None = None
# Number of decimals to display for length values.
decimals: int | None = None
Import from multiconn_archicad.models.tapir.types.
CalculationUnitPreferences ¶
The Calculation Units page: the units, the number of decimals and the extra accuracy of the values in element lists and schedules. GetCalculationUnits answers the same page.
length: CalculationUnitLengthFormat
area: CalculationUnitAreaFormat
volume: CalculationUnitVolumeFormat
angle: AngleUnitFormat
Import from multiconn_archicad.models.tapir.types.
CalculationUnitPreferencesUpdate ¶
The Calculation Units page: the units, the number of decimals and the extra accuracy of the values in element lists and schedules. GetCalculationUnits answers the same page.
length: CalculationUnitLengthFormatUpdate | None = None
area: CalculationUnitAreaFormatUpdate | None = None
volume: CalculationUnitVolumeFormatUpdate | None = None
angle: AngleUnitFormatUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
CalculationUnitVolumeFormat ¶
unit: VolumeType
accuracy: AccuracyType
# Number of decimals to display for volume values.
decimals: int
Import from multiconn_archicad.models.tapir.types.
CalculationUnitVolumeFormatUpdate ¶
unit: VolumeType | None = None
accuracy: AccuracyType | None = None
# Number of decimals to display for volume values.
decimals: int | None = None
Import from multiconn_archicad.models.tapir.types.
Camera ¶
cameraElementId: ElementId
# True when the camera is active in the path of its Camera Set.
isActiveInPath: bool
# The pen index of the camera's symbol on the floor plan.
pen: int
# The perspective of the camera, in the shape Set3DProjectionSettings accepts
# as its perspective, so passing it there shows the camera's view in the 3D
# window.
perspective: PerspectiveProjectionParameters
Import from multiconn_archicad.models.tapir.types.
CameraData ¶
# The Camera Set (camera path) the camera is added to, as GetCameras or
# CreateCameraSets returns it.
cameraSetElementId: ElementId
# The position of the camera; z is its height.
cameraPosition: Coordinate3D
# The position of the target point the camera looks at; z is its height.
# Archicad works out the distance and the azimuth of the camera from the two
# positions.
targetPosition: Coordinate3D
# The view cone angle of the camera, in the units GetCameras returns it.
viewCone: float | None = None
# The roll angle of the camera, in the units GetCameras returns it.
rollAngle: float | None = None
# True for a two-point perspective (vertical edges stay vertical).
isTwoPointPersp: bool | None = None
# The sun position of the camera's perspective, by angles or by date and time.
# Only the values given change; the others come from the Camera tool defaults.
sun: ProjectionSunSettings | None = None
# The pen index of the camera's symbol on the floor plan.
pen: int | None = None
Import from multiconn_archicad.models.tapir.types.
CameraModificationData ¶
# The camera, as GetCameras or CreateCameras returns it.
cameraElementId: ElementId
# The new position of the camera; z is its height.
cameraPosition: Coordinate3D | None = None
# The new position of the target point the camera looks at; z is its height.
# Archicad works out the distance and the azimuth of the camera from the two
# positions.
targetPosition: Coordinate3D | None = None
# The view cone angle of the camera, in the units GetCameras returns it.
viewCone: float | None = None
# The roll angle of the camera, in the units GetCameras returns it.
rollAngle: float | None = None
# True for a two-point perspective (vertical edges stay vertical).
isTwoPointPersp: bool | None = None
# The sun position of the camera's perspective, by angles or by date and time.
# Only the values given change; the others are kept.
sun: ProjectionSunSettings | None = None
# The pen index of the camera's symbol on the floor plan.
pen: int | None = None
Import from multiconn_archicad.models.tapir.types.
CameraSet ¶
cameraSetElementId: ElementId
# The name of the Camera Set, as the navigator shows it.
name: str
# True for the active Camera Set.
isActive: bool
# The current camera of the set. Missing when the set has none.
activeCameraElementId: ElementId | None = None
# The cameras of the set, in the order of the path.
cameras: list[Camera]
Import from multiconn_archicad.models.tapir.types.
CameraSetData ¶
# The name of the new Camera Set, as the navigator shows it.
name: str
# If true, the new set becomes the active Camera Set, and the one active
# before is no longer active. Default is false.
isActive: bool | None = None
Import from multiconn_archicad.models.tapir.types.
CameraSetModificationData ¶
# The Camera Set, as GetCameras or CreateCameraSets returns it.
cameraSetElementId: ElementId
# The new name of the Camera Set, as the navigator shows it.
name: str | None = None
# true makes the set the active Camera Set, and the one active before is no
# longer active. false is refused: one set is always the active one, so make
# another set active instead.
isActive: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CanMoveElementsToDesignOptionsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
CanMoveElementsToDesignOptionsResult ¶
# The result for each given element, in the order of the input.
canMoveElements: list[DesignOptionMoveCapability]
Import from multiconn_archicad.models.tapir.commands.
CaptureElementStateParameters ¶
type: ElementStateType | None = None
Import from multiconn_archicad.models.tapir.commands.
CaptureElementStateResult ¶
stateId: ElementStateId
# The type the state was captured with.
type: ElementStateType
Import from multiconn_archicad.models.tapir.types.
CategoryValue ¶
type: ElementCategoryType
categoryId: ElementCategoryId
categoryValueId: ElementCategoryValueId
# The localized name of the value, for display only.
name: str
Import from multiconn_archicad.models.tapir.types.
Change ¶
id: str
Import from multiconn_archicad.models.tapir.commands.
Change3DStylesParameters ¶
# The 3D styles to change, identified by their name. Only the given fields
# change.
styles: list[Style3DDetails]
Import from multiconn_archicad.models.tapir.commands.
Change3DStylesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ChangeAddOnViewpointsParameters ¶
# The add-on viewpoint items to change. Only the given fields are changed.
viewpoints: list[AddOnViewpointModificationData]
Import from multiconn_archicad.models.tapir.commands.
ChangeAddOnViewpointsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ChangedLayoutSubset ¶
A layout subset whose settings were changed.
# The new subset, with the new settings, holding the layouts and subsets of
# the old one in their order, right after the old one in the Layout Book.
navigatorItemId: NavigatorItemId
# The old subset, now empty. The Archicad API cannot delete a subset: delete
# it in Archicad.
oldNavigatorItemId: NavigatorItemId
Import from multiconn_archicad.models.tapir.commands.
ChangeDrawingLinkParameters ¶
drawingsWithNewLinks: list[DrawingsWithNewLink]
Import from multiconn_archicad.models.tapir.commands.
ChangeDrawingLinkResult ¶
# One result per input item. On success, elementId is the NEW Drawing's
# identifier - relinking necessarily replaces the element, it cannot keep the
# original guid.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ChangeExecutionResult ¶
ChangeExecutionResult: TypeAlias = (
SuccessfulExecutionResult
| WouldChangeExecutionResult
| FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ChangeFavoriteParameters ¶
# The name of the Favorite to change.
favoriteName: str
# Where the new settings of the Favorite come from: exactly one of
# favoriteName and toolDefault.
source: FavoriteSettingsSource
Import from multiconn_archicad.models.tapir.commands.
ChangeFavoriteResult ¶
ChangeFavoriteResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ChangeHotlinkInstancesParameters ¶
# The placed hotlink instances to change. Every field but elementId is
# optional; a field that is omitted keeps its current value.
hotlinkInstances: list[HotlinkInstanceChange]
Import from multiconn_archicad.models.tapir.commands.
ChangeHotlinkInstancesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ChangeHotlinkNodesParameters ¶
# The hotlink nodes to repoint at another source file, as the Hotlink
# Manager's Relink button does. The placed instances stay where they are.
# Follow it with UpdateHotlinks on the same nodes to re-read the content from
# the new file.
hotlinkNodes: list[HotlinkNodeChange]
Import from multiconn_archicad.models.tapir.commands.
ChangeHotlinkNodesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ChangeLayoutSubsetSettingsParameters ¶
# The Layout Book subsets to change, each with the settings to change.
subsets: list[LayoutSubsetSettingsChange]
Import from multiconn_archicad.models.tapir.commands.
ChangeLayoutSubsetSettingsResult ¶
# One item per input subset, in the same order: the subset that now has the
# settings and the layouts, and the old subset, left empty, or an error.
subsets: list[ChangedLayoutSubset | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ChangeLibraryPartOfElementsParameters ¶
# The elements with the library part to change them to. Components of stairs
# and railings are not supported, even when they are reported as Objects.
elementsWithLibraryPart: list[ElementLibraryPartChange]
Import from multiconn_archicad.models.tapir.commands.
ChangeLibraryPartOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerComponent ¶
Which parts a Change Marker shows: only the marker head, only the cloud, or both.
HEAD_ONLY = 'HeadOnly'
CLOUD_ONLY = 'CloudOnly'
HEAD_AND_CLOUD = 'HeadAndCloud'
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerData ¶
# The outline of the cloud: at least 3 points, straight edges only. A closing
# point that repeats the first one may be given. Needed for every marker
# component: a head-only marker keeps it as the area it marks, as Archicad's
# own example does.
polygon: list[Coordinate2D]
# Which parts the marker shows. A new marker gets HeadAndCloud when it is left
# out.
markerComponent: ChangeMarkerComponent | None = None
# The ID of the Change the marker is linked to. Without createChange it must
# be the ID of an existing Change (GetRevisionChanges). A new marker created
# without it is not linked to any Change.
changeId: str | None = None
# True: Archicad creates a new Change with changeId and changeDescription, and
# links the marker to it. A Change with the same ID must not exist yet.
# Default: false.
createChange: bool | None = None
# The description (short name) of the new Change. Only with createChange: the
# description of an existing Change cannot be changed.
changeDescription: str | None = None
# The rotation angle of the marker head in radians
# (API_ChangeMarkerType::angle), as GetDetailsOfElements returns it. A new
# marker gets the angle of the Change Marker tool defaults when it is left
# out.
angle: float | None = None
# Whether the marker head is always horizontal
# (API_ChangeMarkerType::horizontalMarker), as GetDetailsOfElements returns
# it. A new marker gets the setting of the Change Marker tool defaults when it
# is left out.
horizontalMarker: bool | None = None
# The point the Change Marker points to. Default: the centre of the polygon's
# bounding box.
position: Coordinate2D | None = None
# The position of the marker head. Default: position.
markerPosition: Coordinate2D | None = None
# Optional layer attribute index to place the marker on. It must be an
# existing, unlocked layer. When omitted the marker gets the layer of the
# Change Marker tool defaults.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerDetails ¶
A Change Marker: the revision Change it is linked to, the parts it shows and its geometry.
linkType: ChangeMarkerLinkType
markerComponent: ChangeMarkerComponent
# The ID of the linked Change (empty when not linked).
changeId: str
# The description (short name) of the linked Change.
changeDescription: str
# The point the Change Marker points to.
position: Coordinate2D
# The outline of the cloud, with the closing point. Present only when the
# marker has a polygon.
polygon: list[Coordinate2D] | None = None
# The curved edges of polygon. Present only when it has any.
polygonArcs: list[PolyArc] | None = None
# The GUID of the marker head's library part element. Present only when the
# marker has one.
markerId: ElementId | None = None
# The rotation angle of the marker head in radians.
angle: float
# Whether the marker head is always horizontal.
horizontalMarker: bool
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerLinkType ¶
Whether the marker is linked to a Change. NewChange is the value a marker is created with to make a new Change.
LINKED = 'Linked'
UNLINKED = 'Unlinked'
NEW_CHANGE = 'NewChange'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerLinkTypeInput ¶
Unlinked removes the link of the marker to its Change (the Change stays in the project); it cannot be given with changeId or createChange. Linked links the marker to the Change of changeId, which it needs; changeId alone does the same.
LINKED = 'Linked'
UNLINKED = 'Unlinked'
Import from multiconn_archicad.models.tapir.types.
ChangeMarkerWithDetails ¶
elementId: ElementId
# Which parts the marker shows. A new marker gets HeadAndCloud when it is left
# out.
markerComponent: ChangeMarkerComponent | None = None
# The ID of the Change the marker is linked to. Without createChange it must
# be the ID of an existing Change (GetRevisionChanges). A new marker created
# without it is not linked to any Change.
changeId: str | None = None
# True: Archicad creates a new Change with changeId and changeDescription, and
# links the marker to it. A Change with the same ID must not exist yet.
# Default: false.
createChange: bool | None = None
# The description (short name) of the new Change. Only with createChange: the
# description of an existing Change cannot be changed.
changeDescription: str | None = None
# The rotation angle of the marker head in radians
# (API_ChangeMarkerType::angle), as GetDetailsOfElements returns it. A new
# marker gets the angle of the Change Marker tool defaults when it is left
# out.
angle: float | None = None
# Whether the marker head is always horizontal
# (API_ChangeMarkerType::horizontalMarker), as GetDetailsOfElements returns
# it. A new marker gets the setting of the Change Marker tool defaults when it
# is left out.
horizontalMarker: bool | None = None
linkType: ChangeMarkerLinkTypeInput | None = None
# The new point the Change Marker points to. Only for a marker without a cloud
# polygon, the only case in which Archicad takes it (ACAPI_Element_Change);
# every marker CreateChangeMarkers makes has a polygon, so it is refused for
# those.
position: Coordinate2D | None = None
# The new position of the marker head, as CreateChangeMarkers takes it.
# Refused for a marker without a head (markerComponent CloudOnly).
markerPosition: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.commands.
ChangeSelectionOfElementsParameters ¶
# A list of elements.
addElementsToSelection: list[ElementIdArrayItem] | None = None
# A list of elements.
removeElementsFromSelection: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
ChangeSelectionOfElementsResult ¶
# A list of execution results.
executionResultsOfAddToSelection: list[SuccessfulExecutionResult | FailedExecutionResult]
# A list of execution results.
executionResultsOfRemoveFromSelection: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ChangeTextContentParameters ¶
# The content changes, applied in order (several changes of one element see
# the content as the previous one left it). Unlike ModifyTexts/ModifyLabels,
# the rest of the content is not rebuilt: the other runs, their styles and any
# autotext in them stay as they are, and the inserted piece takes the style of
# the character at 'from'.
contentChanges: list[TextContentChange]
Import from multiconn_archicad.models.tapir.commands.
ChangeTextContentResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ChangeWindowParameters ¶
ChangeWindowParameters: TypeAlias = (
NavigatorItemIdArrayItem | DatabaseIdAndWindowType
)
Import from multiconn_archicad.models.tapir.commands.
ChangeWindowResult ¶
ChangeWindowResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
CheckLibrariesResult ¶
CheckLibrariesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
CheckMEPPortConnectabilityParameters ¶
# The pairs of ports to check.
portPairs: list[MEPPortPair]
Import from multiconn_archicad.models.tapir.commands.
CheckMEPPortConnectabilityResult ¶
# The result for each pair of ports, in the order of the input.
results: list[MEPPortConnectability | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CheckPropertyValuesParameters ¶
# The values to check, each with the property definition it is checked
# against.
propertyValues: list[PropertyValueCheckInput]
Import from multiconn_archicad.models.tapir.commands.
CheckPropertyValuesResult ¶
# One item for each value, in the order of the input: whether it is
# acceptable, or an error if the property was not found.
results: list[PropertyValueCheck | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
CircleData ¶
The parameters of the new Circle.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new circle. Circles have no Element ID in
# Archicad 29: Archicad refuses it with error -2130313103
# (APIERR_BADELEMENTTYPE, element has no info string), and the item then
# answers with that error and creates no circle. Leave it out unless your
# Archicad version keeps it (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the circle on. Optional parameter, by default
# the current layer is used.
layerIndex: int | None = None
origin: Coordinate2D
radius: float
# Is this a zone boundary line? Optional, defaults to false.
roomSeparator: bool | None = None
# Optional pen index. By default the current pen is used.
linePenIndex: int | None = None
# Optional line type attribute. By default the current line type is used.
lineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationId ¶
The element classification identifier.
classificationSystemId: ClassificationSystemId
# The element's classification in the given system. If no value is specified
# here, the element is Unclassified in this system.
classificationItemId: ClassificationItemId | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationIdArrayItem ¶
A wrapper containing the classification identifier.
classificationId: ClassificationId
Import from multiconn_archicad.models.tapir.types.
ClassificationIdOrError ¶
ClassificationIdOrError: TypeAlias = (
ClassificationIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ClassificationItemConflictPolicy ¶
What to do with an item whose id already exists in a merged system: replace it or keep the existing one.
REPLACE = 'replace'
SKIP = 'skip'
Import from multiconn_archicad.models.tapir.types.
ClassificationItemDetails ¶
The details of a classification item.
# The unique identifier of the classification item as specified by the user.
id: str
# The display name of the classification item.
name: str
# The description of the classification item.
description: str
# A list of classification items.
children: list[ClassificationItemDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationItemElements ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ClassificationItemId ¶
The identifier of a classification item.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ClassificationItemIdArrayItem ¶
classificationItemId: ClassificationItemId
Import from multiconn_archicad.models.tapir.types.
ClassificationItemIdOrError ¶
ClassificationItemIdOrError: TypeAlias = (
ClassificationItemIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ClassificationItemParent ¶
# The classification system the item belongs to.
classificationSystemId: ClassificationSystemId
# The parent item. Missing for a top level item of its system.
parentClassificationItemId: ClassificationItemId | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationItemUpdate ¶
classificationItemId: ClassificationItemId
# The new code of the item, e.g. 21.10.
id: str | None = None
name: str | None = None
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationItemVisibilities ¶
# One entry per classification item, in the order of the input. A non-existing
# classification item is represented by an error object.
visibilities: list[ClassificationItemVisibility | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ClassificationItemVisibility ¶
classificationItemId: ClassificationItemId
# Whether the classification item is visible (offered) for the target, as
# Archicad reports it. It can be true even if a parent item is not visible. It
# does not tell whether the target is classified with the item.
isVisible: bool
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemConflictPolicy ¶
What to do with a system whose name already exists: merge, replace it, or keep the existing one.
MERGE = 'merge'
REPLACE = 'replace'
SKIP = 'skip'
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemDetails ¶
The details of a classification system.
# The display name of the classification system.
name: str
# The description of the classification system.
description: str
# The source of the classification system (e.g. URL to a classification system
# standard).
source: str
# The version of the classification system.
version: str
# The release date of the classification system's current version.
date: str
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemId ¶
The identifier of a classification system.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemIdArrayItem ¶
classificationSystemId: ClassificationSystemId
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemIdOrError ¶
ClassificationSystemIdOrError: TypeAlias = (
ClassificationSystemIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemSummary ¶
classificationSystemId: ClassificationSystemId
# The display name of the classification system.
name: str
# The description of the classification system.
description: str
# The source of the classification system (e.g. URL to a classification system
# standard).
source: str
# The version of the classification system.
version: str
# The release date of the classification system's current version.
date: str
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemsWithItem ¶
classificationSystem: ClassificationSystemDetails
# A list of classification items in the classification system.
classificationItems: list[ClassificationItemDetails]
Import from multiconn_archicad.models.tapir.types.
ClassificationSystemUpdate ¶
classificationSystemId: ClassificationSystemId
name: str | None = None
description: str | None = None
source: str | None = None
version: str | None = None
# A date in its string representation as defined in ISO 8601: YYYY-MM-DD.
date: str | None = None
Import from multiconn_archicad.models.tapir.types.
ClassificationVisibilityAttribute ¶
ClassificationVisibilityAttribute: TypeAlias = (
AttributeIdArrayItem
)
Import from multiconn_archicad.models.tapir.types.
ClassificationVisibilityElement ¶
ClassificationVisibilityElement: TypeAlias = (
ElementIdArrayItem
)
Import from multiconn_archicad.models.tapir.types.
ClassificationVisibilityToolDefault ¶
# The tool default of this element type is checked.
elementType: ElementType
Import from multiconn_archicad.models.tapir.commands.
CloneProjectMapItemToViewMapParameters ¶
# Array of views to clone from the Project Map to the View Map.
viewsData: list[ViewCloneData]
Import from multiconn_archicad.models.tapir.commands.
CloneProjectMapItemToViewMapResult ¶
navigatorItems: list[NavigatorItemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CloseProjectResult ¶
CloseProjectResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
CloseWindowsParameters ¶
# The windows to close.
windows: list[WindowToClose]
Import from multiconn_archicad.models.tapir.commands.
CloseWindowsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
CollectionType ¶
Optional filter by property collection type.
SINGLE = 'Single'
LIST = 'List'
SINGLE_CHOICE_ENUMERATION = 'SingleChoiceEnumeration'
MULTIPLE_CHOICE_ENUMERATION = 'MultipleChoiceEnumeration'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
CollisionCheckSettings ¶
# Intersection body volume greater then this value will be considered as a
# collision. Default value is 0.001.
volumeTolerance: float
# Enables surface collision check. If disabled the surfaceTolerance value will
# be ignored. By default it's false.
performSurfaceCheck: bool
# Intersection body surface area greater then this value will be considered as
# a collision. Default value is 0.001.
surfaceTolerance: float
Import from multiconn_archicad.models.tapir.types.
ColorRGB ¶
RGB color.
# Red value between 0.0 and 1.0
red: float
# Green value between 0.0 and 1.0
green: float
# Blue value between 0.0 and 1.0
blue: float
Import from multiconn_archicad.models.tapir.types.
ColumnCoreAnchor ¶
Anchor point of the column core on a 3x3 grid.
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
ColumnCoreSymbolType ¶
Core symbol of a column in the floor plan (API_ColumnType::coreSymbolType): Plain (no symbol), Slash, X or CrossHair.
PLAIN = 'Plain'
SLASH = 'Slash'
X = 'X'
CROSS_HAIR = 'CrossHair'
Import from multiconn_archicad.models.tapir.types.
ColumnData ¶
The parameters of the new Column.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# 3D coordinate.
coordinates: Coordinates
# Optional explicit column height. Sets relativeTopStory to 0, so it replaces
# the top link of the favorite or of the tool defaults. Cannot be combined
# with a non-zero relativeTopStory.
height: float | None = None
# Optional link of the column's top to another story, relative to its home
# story (1 is the story above); 0 means an explicit height. With a non-zero
# value Archicad computes the height from the story levels and topOffset. The
# linked story must exist. Cannot be combined with height. When omitted, the
# top link of the favorite or of the tool defaults is kept.
relativeTopStory: int | None = None
# Optional offset of the column's top from the level of the linked top story
# (negative is below it). Only has an effect when the top is linked
# (relativeTopStory non-zero, given here or kept from the favorite or the tool
# defaults).
topOffset: float | None = None
# Optional column rotation angle in radians.
axisRotationAngle: float | None = None
# Optional slant angle in radians. A non-zero value also makes the column
# slanted, unless isSlanted is given explicitly.
slantAngle: float | None = None
# Optional explicit slanted state. By default it is derived from slantAngle.
isSlanted: bool | None = None
# Optional rotation angle of the slanted column on the horizontal plane in
# radians.
slantDirectionAngle: float | None = None
# Cross section width of the column, the diameter of a round one. Applied to
# all segments. A custom profile (profileId, or a tool default or favorite
# that uses one) sets the size itself and Archicad ignores the width; give
# buildingMaterialId to make a basic cross section of this size.
width: float | None = None
# Cross section depth (height) of the column. Applied to all segments. Only
# effective for rectangular columns. A custom profile (profileId, or a tool
# default or favorite that uses one) sets the size itself and Archicad ignores
# the depth; give buildingMaterialId to make a basic cross section of this
# size.
depth: float | None = None
coreAnchor: ColumnCoreAnchor | None = None
# True for a round column cross section, false for rectangular. Ignored if
# profileId is also given. Applied to all segments.
circleBased: bool | None = None
# When true, width and depth are kept equal (a round cross section too): a
# width, or else a depth, given alone sets both. A width and a depth given
# together with different values make them independent, unless this is given
# too. When omitted, the tool default (or favoriteName) is used. Applied to
# all segments.
isWidthAndHeightLinked: bool | None = None
# Cross section building material (round or rectangular, per circleBased).
# Applied to all segments.
buildingMaterialId: AttributeId | None = None
# Switches the cross section to this custom extruded profile (circleBased
# becomes false). Applied to all segments.
profileId: AttributeId | None = None
# Veneer of the column (type, thickness, building material); the fields not
# given come from the tool defaults or favoriteName, thickness 0 creates the
# column without veneer. Applied to all segments.
veneer: ColumnVeneer | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the column in the floor plan, as GetDetailsOfElements
# returns it.
coverFill: CoverFill | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnDetails ¶
origin: Coordinate2D
zCoordinate: float
# height relative to bottom
height: float
# base level of the column relative to the floor level
bottomOffset: float
axisRotationAngle: float | None = None
coreAnchor: ColumnCoreAnchor | None = None
isSlanted: bool | None = None
slantAngle: float | None = None
slantDirectionAngle: float | None = None
# Has no visible effect on a circular column (circleBased cross section) -
# Archicad ignores it there.
isFlipped: bool | None = None
wrapping: bool | None = None
topOffset: float | None = None
# Non-zero links the column's top to another story instead of an explicit
# height - do not set together with 'height' via ModifyColumns in the same
# call.
relativeTopStory: float | None = None
# The stories the column is shown on (Show On Stories). While
# isAutoOnStoryVisibility is true, Archicad computes it from the column's
# elevation.
visibility: StoryVisibility | None = None
# True when Archicad recomputes visibility automatically from the actual
# elevation of the column.
isAutoOnStoryVisibility: bool | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# Pen of the cut contour lines of the column core.
contourPen: int | None = None
# Line type of the cut contour lines of the column core.
contourLineTypeId: AttributeId | None = None
# Pen of the veneer lines of the column.
veneerLinePen: int | None = None
# Line type of the veneer lines of the column.
veneerLineTypeId: AttributeId | None = None
# Pen of the core symbol lines (slash, X or crosshair) of the column.
coreSymbolPen: int | None = None
coreSymbolType: ColumnCoreSymbolType | None = None
# Length of the crosshair outside the column's contour line, used by the
# CrossHair core symbol.
coreSymbolPar1: float | None = None
# Distance of the crosshair from the column's centre, used by the CrossHair
# core symbol.
coreSymbolPar2: float | None = None
# Pen of the uncut lines of the column.
belowViewLinePen: int | None = None
# Line type of the uncut lines of the column.
belowViewLineTypeId: AttributeId | None = None
# Pen of the overhead lines of the column.
aboveViewLinePen: int | None = None
# Line type of the overhead lines of the column.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the hidden lines of the column.
hiddenLinePen: int | None = None
# Line type of the hidden lines of the column, for example a dashed line.
hiddenLineTypeId: AttributeId | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
coverFill: CoverFill | None = None
# Cross section width of the column (all segments).
width: float | None = None
# Cross section depth (height) of the column (all segments).
depth: float | None = None
# True for a round column cross section, false for rectangular.
circleBased: bool | None = None
# When true, Archicad keeps width and depth equal - set to false via
# ModifyColumns/CreateColumns to give them independent values.
isWidthAndHeightLinked: bool | None = None
# Present when the cross section uses a building material rather than a custom
# profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section uses a custom extruded profile rather than a
# building material.
profileId: AttributeId | None = None
# The veneer of the first segment, the key ModifyColumns and CreateColumns
# write to all segments, so it can be sent back as it is read. Each segment's
# own veneer is in segments.
veneer: ColumnVeneer | None = None
# The segments of the column, in the order Archicad keeps them: the surfaces,
# the cross section, the taper and the length of each.
segments: list[ColumnSegmentSurfaces] | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnQuantities ¶
Quantities of a Column element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the column core.
coreVolume: float
# Net volume of the column veneer.
veneerVolume: float
# Gross volume of the column core.
coreGrossVolume: float
# Gross volume of the column veneer.
veneerGrossVolume: float
# Net side surface of the column core.
coreSurface: float
# Net side surface of the column veneer.
veneerSurface: float
# Gross side surface of the column core.
coreGrossSurface: float
# Gross side surface of the column veneer.
veneerGrossSurface: float
# Floor plan area of the column.
area: float
# Floor plan perimeter of the column.
perimeter: float
# Minimum height of the column.
minHeight: float
# Maximum height of the column.
maxHeight: float
# Area of the cross section at the beginning of the column.
crossSectionAreaCutBegin: float
# Area of the cross section at the end of the column.
crossSectionAreaCutEnd: float
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentDetails ¶
Details of a ColumnSegment subelement of a Column.
# The Column element the segment belongs to.
ownerElementId: ElementId | None = None
structureType: SegmentStructureType
# Cross section width of the segment.
width: float
# Cross section depth (height) of the segment.
depth: float
isWidthAndHeightLinked: bool
# True for a round cross section, false for rectangular.
circleBased: bool
# Present when the cross section uses a building material rather than a custom
# profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section uses a custom extruded profile rather than a
# building material.
profileId: AttributeId | None = None
veneer: ColumnVeneer | None = None
taper: ColumnSegmentTaper | None = None
# The length scheme of the segment, from its Column. Absent when Archicad does
# not return the Column's segment schemes.
length: AssemblySegmentLength | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentQuantities ¶
Quantities of a ColumnSegment element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the column segment.
volume: float
# Gross volume of the column segment.
grossVolume: float
# Net volume of the segment core.
coreVolume: float
# Gross volume of the segment core.
coreGrossVolume: float
# Net volume of the segment veneer.
veneerVolume: float
# Gross volume of the segment veneer.
veneerGrossVolume: float
# Net surface of the segment core.
coreSurface: float
# Side surface of the segment veneer.
veneerSideSurface: float
# Length of the column segment.
length: float
# Area of the column segment.
area: float
# Height of the column segment.
height: float
# Minimum height of the column segment.
minHeight: float
# Maximum height of the column segment.
maxHeight: float
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentSurfaces ¶
A segment of a column: its surfaces and veneer, its own cross section, its taper and its length.
extrusionSurfaceMaterial: OverriddenMaterial
endsMaterial: OverriddenMaterial
# Whether the surface materials are chained.
materialsChained: bool
veneer: ColumnVeneer | None = None
structureType: SegmentStructureType | None = None
# Cross section width of the segment (at its start when it is tapered).
width: float | None = None
# Cross section depth (height) of the segment (at its start when it is
# tapered).
depth: float | None = None
isWidthAndHeightLinked: bool | None = None
# True for a round cross section, false for rectangular.
circleBased: bool | None = None
# Present when the cross section of the segment uses a building material
# rather than a custom profile.
buildingMaterialId: AttributeId | None = None
# Present when the cross section of the segment uses a custom extruded profile
# rather than a building material.
profileId: AttributeId | None = None
taper: ColumnSegmentTaper | None = None
# The length scheme of the segment. Absent when Archicad does not return the
# column's segment schemes.
length: AssemblySegmentLength | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentSurfacesModification ¶
What to write to one segment of a column, in the shape of ColumnSegmentSurfaces: its surfaces and veneer, its own cross section, its taper and its length. Only the given fields change. Send overridden false to make a surface come from the cross section again.
# The 0-based index of the segment, in the order GetDetailsOfElements lists
# the column's segments. Defaults to the item's position in the segments list.
segmentIndex: int | None = None
# Overrides the surface of the sides (the extrusion) of the segment.
extrusionSurfaceMaterial: OverriddenMaterial | None = None
# Overrides the surface of the top and bottom ends of the segment.
endsMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained. Send false with surfaces that
# should differ from each other.
materialsChained: bool | None = None
# The veneer of this segment only; only the given fields change, thickness 0
# removes it.
veneer: ColumnVeneer | None = None
# Taken so the segments GetDetailsOfElements returns can be sent back. The
# structure follows buildingMaterialId (Basic) or profileId (Profile), so this
# must agree with them, or, when neither is given, with the structure the
# column-wide buildingMaterialId or profileId gives the segment, else its
# current one; otherwise the item is refused.
structureType: SegmentStructureType | None = None
# Cross section width of this segment (at its start when it is tapered).
width: float | None = None
# Cross section depth (height) of this segment (at its start when it is
# tapered).
depth: float | None = None
# When true, Archicad keeps width and depth of this segment equal - set to
# false to give them independent values.
isWidthAndHeightLinked: bool | None = None
# True for a round cross section of this segment, false for rectangular.
# Ignored once profileId switches the segment to a custom profile.
circleBased: bool | None = None
# Makes the cross section of this segment a building material (round or
# rectangular, per circleBased).
buildingMaterialId: AttributeId | None = None
# Switches the cross section of this segment to this custom extruded profile
# (circleBased becomes false).
profileId: AttributeId | None = None
# The taper of this segment.
taper: ColumnSegmentTaperModification | None = None
# The length scheme of this segment. Refused when Archicad returns no scheme
# for the segment.
length: AssemblySegmentLengthModification | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentTaper ¶
The taper of a column segment: a segment that is not homogeneous changes its cross section from width and depth at its start to endWidth and endDepth at its end.
# True when the cross section is the same at both ends of the segment (no
# taper).
isHomogeneous: bool
# Cross section width at the end of the segment. Used only when isHomogeneous
# is false.
endWidth: float
# Cross section depth (height) at the end of the segment. Used only when
# isHomogeneous is false.
endDepth: float
# Whether Archicad keeps endWidth and endDepth linked. Used only when
# isHomogeneous is false.
isEndWidthAndDepthLinked: bool
Import from multiconn_archicad.models.tapir.types.
ColumnSegmentTaperModification ¶
The taper to write to a column segment, in the shape of ColumnSegmentTaper. Only the given fields change.
# True for the same cross section at both ends of the segment (no taper),
# false to taper it to endWidth and endDepth.
isHomogeneous: bool | None = None
# Cross section width at the end of the segment. Used only when isHomogeneous
# is false; it must then be greater than 0.
endWidth: float | None = None
# Cross section depth (height) at the end of the segment. Used only when
# isHomogeneous is false; it must then be greater than 0.
endDepth: float | None = None
# Whether Archicad keeps endWidth and endDepth linked. Set it to false first
# to give them independent values.
isEndWidthAndDepthLinked: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnVeneer ¶
The veneer of a column segment. A thickness of 0 means no veneer. When writing, only the given fields change.
type: ColumnVeneerType | None = None
# Thickness of the veneer; 0 removes it.
thickness: float | None = None
# Building material of the veneer. Archicad uses it only for a segment whose
# cross section is a building material, not a profile; read back only for such
# segments.
buildingMaterialId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
ColumnVeneerType ¶
CORE = 'Core'
FINISH = 'Finish'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
ColumnWithDetails ¶
elementId: ElementId
origin: Coordinate2D | None = None
# Absolute Z of the column's bottom. The home story is derived from it unless
# floorIndex is given; a Z below the lowest story stays on the lowest story
# with a negative bottomOffset.
zCoordinate: float | None = None
# Optional home story index (as returned by GetStories). With zCoordinate it
# pins the story the Z is resolved against; alone it only changes the home
# story (combine with bottomOffset to set the offset relative to it).
floorIndex: int | None = None
# Sets relativeTopStory to 0 (explicit height). Do not combine with
# relativeTopStory in the same call - see the note on relativeTopStory below.
height: float | None = None
# Base level of the column relative to its home story level (zCoordinate sets
# it too). Archicad keeps the column's height when only the base moves, so on
# a column whose top is linked to a story (relativeTopStory non-zero) the top
# moves with the base: the link stays, and topOffset changes by the same
# amount (bottomOffset -0.02 turns topOffset 0.78 into 0.76). To move only the
# base and keep the top where it is, send the column's relativeTopStory and
# topOffset (as GetDetailsOfElements returns them) in the same item.
bottomOffset: float | None = None
axisRotationAngle: float | None = None
coreAnchor: ColumnCoreAnchor | None = None
isSlanted: bool | None = None
# Slant angle in radians. Archicad limits it to pi/2 (90 degrees): a larger
# value is stored as pi/2 and the item's result carries a warning.
slantAngle: float | None = None
slantDirectionAngle: float | None = None
# Archicad does not apply isFlipped to a column (rectangular, circular,
# slanted or with a custom profile): the value stays as it is, and the item's
# result carries a warning whenever isFlipped is given.
isFlipped: bool | None = None
wrapping: bool | None = None
# Offset of the column's top from the level of the linked top story (negative
# is below it). Only has an effect when relativeTopStory is non-zero. See
# bottomOffset for how moving the base changes it.
topOffset: float | None = None
# Non-zero links the column's top to another story instead of an explicit
# height - do not set together with 'height' in the same call, see the note on
# 'height' above.
relativeTopStory: float | None = None
# Cross section width of the column, the diameter of a round one. Applied to
# all segments. A custom profile (profileId, or the profile the column already
# has) sets the size itself and Archicad ignores the width: the item then
# fails with a message naming the profile, and the other given fields are
# still applied. Send buildingMaterialId in the same call to switch to a basic
# cross section first.
width: float | None = None
# Cross section depth (height) of the column. Applied to all segments. A
# custom profile (profileId, or the profile the column already has) sets the
# size itself and Archicad ignores the depth: the item then fails with a
# message naming the profile, and the other given fields are still applied.
# Send buildingMaterialId in the same call to switch to a basic cross section
# first.
depth: float | None = None
# When true, width and depth are kept equal (a round cross section too): a
# width, or else a depth, given alone sets both. A width and a depth given
# together with different values make them independent, unless this is given
# too. When omitted, the current setting is kept. Applied to all segments.
isWidthAndHeightLinked: bool | None = None
# True for a round column cross section, false for rectangular. Ignored once
# profileId switches the column to a custom profile shape. Applied to all
# segments.
circleBased: bool | None = None
# Cross section building material (round or rectangular, per circleBased).
# Applied to all segments.
buildingMaterialId: AttributeId | None = None
# Switches the cross section to this custom extruded profile (circleBased
# becomes false). Applied to all segments.
profileId: AttributeId | None = None
# Veneer of the column (type, thickness, building material); only the given
# fields change, thickness 0 removes it. Applied to all segments.
veneer: ColumnVeneer | None = None
# Writes single segments of the column: their surfaces, veneer, cross section,
# taper and length. Each item writes the segment given by its segmentIndex,
# else the segment at its position in this list, so the segments
# GetDetailsOfElements returns can be sent back as they are; segments not
# listed stay as they are. Applied after the fields above, so a segment's own
# values win over the ones applied to all segments.
segments: list[ColumnSegmentSurfacesModification] | None = None
# The stories the column is shown on (Show On Stories), for example {
# "showOnHome": true } for the home story only. Setting it without
# isAutoOnStoryVisibility turns the automatic story visibility off, which
# Archicad would otherwise recompute it from. The item fails when Archicad
# does not take the given combination.
visibility: StoryVisibility | None = None
# When true, Archicad recomputes visibility automatically from the actual
# elevation of the column and ignores a visibility given together with it.
isAutoOnStoryVisibility: bool | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# Pen of the cut contour lines of the column core.
contourPen: int | None = None
# Line type of the cut contour lines of the column core.
contourLineTypeId: AttributeId | None = None
# Pen of the veneer lines of the column.
veneerLinePen: int | None = None
# Line type of the veneer lines of the column.
veneerLineTypeId: AttributeId | None = None
# Pen of the core symbol lines (slash, X or crosshair) of the column.
coreSymbolPen: int | None = None
coreSymbolType: ColumnCoreSymbolType | None = None
# Length of the crosshair outside the column's contour line, used by the
# CrossHair core symbol. A negative value fails the item and changes nothing.
coreSymbolPar1: float | None = None
# Distance of the crosshair from the column's centre, used by the CrossHair
# core symbol. A negative value fails the item and changes nothing.
coreSymbolPar2: float | None = None
# Pen of the uncut lines of the column.
belowViewLinePen: int | None = None
# Line type of the uncut lines of the column.
belowViewLineTypeId: AttributeId | None = None
# Pen of the overhead lines of the column.
aboveViewLinePen: int | None = None
# Line type of the overhead lines of the column.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the hidden lines of the column.
hiddenLinePen: int | None = None
# Line type of the hidden lines of the column, for example a dashed line.
hiddenLineTypeId: AttributeId | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the column in the floor plan, as GetDetailsOfElements
# returns it.
coverFill: CoverFill | None = None
Import from multiconn_archicad.models.tapir.types.
Comment ¶
# Comment identifier
guid: UUID
# Comment author
author: str
# Comment text
text: str
status: IssueCommentStatus
# Comment creation time
creaTime: int
Import from multiconn_archicad.models.tapir.commands.
CompareLibraryPartUnIdsParameters ¶
# A library part unique ID, '{main GUID}-{revision GUID}', as
# GetLibraryPartIdentities returns it.
unId1: str
# The library part unique ID to compare unId1 with.
unId2: str
Import from multiconn_archicad.models.tapir.commands.
CompareLibraryPartUnIdsResult ¶
# The code ACAPI_LibraryPart_CompareLibPartUnIds returned: 0 (NoError) when
# Archicad reports the two unique IDs as matching, otherwise the API error
# code that tells how they differ.
apiErrorCode: int
# True when the two unique IDs have the same main GUID, that is they are
# revisions of the same library part.
sameMainGuid: bool
# True when the two unique IDs have the same revision GUID.
sameRevisionGuid: bool
Import from multiconn_archicad.models.tapir.types.
ComponentId ¶
The identifier of a component (one building material skin or profile part) of an element. It identifies the component only together with its element.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ComponentPropertyDefinition ¶
propertyId: PropertyId
propertyName: str
propertyType: PropertyDefinitionType
Import from multiconn_archicad.models.tapir.types.
ComponentPropertyDefinitions ¶
propertyDefinitions: list[ComponentPropertyDefinition]
Import from multiconn_archicad.models.tapir.types.
CompositeAttribute ¶
A composite attribute.
attributeId: AttributeId
index: int
name: str
useWith: list[str] | None = None
skins: list[CompositeSkin] | None = None
separators: list[CompositeSeparator] | None = None
Import from multiconn_archicad.models.tapir.types.
CompositeAttributeField ¶
USE_WITH = 'useWith'
SKINS = 'skins'
SEPARATORS = 'separators'
Import from multiconn_archicad.models.tapir.types.
CompositeAttributeOrError ¶
CompositeAttributeOrError: TypeAlias = (
CompositeAttribute | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
CompositeData ¶
Data to create a Composite.
# Indentifier of the existing Composite to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Composite to overwrite, ignored if overwriteExisting
# is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Composite with the
# given name will be overwritten. It must not be empty.
name: str
# Array of types the composite can used with. If omitted when overwriting an
# existing Composite, its current setting is kept.
useWith: list[str] | None = None
# Array of skin data. Required when creating a new Composite. If omitted when
# overwriting an existing Composite, its current skins are kept.
skins: list[Skin] | None = None
# Array of skin separator data. The number of items must be the number of
# skins plus one. Required when creating a new Composite. If omitted when
# overwriting an existing Composite, its current separators are kept (only
# possible if the number of skins does not change).
separators: list[Separator] | None = None
Import from multiconn_archicad.models.tapir.types.
CompositeSeparator ¶
lineTypeId: AttributeIdArrayItem | None = None
linePen: int
Import from multiconn_archicad.models.tapir.types.
CompositeSkin ¶
type: CompositeSkinType
buildingMaterialId: AttributeIdArrayItem | None = None
framePen: int
thickness: float
Import from multiconn_archicad.models.tapir.types.
CompositeSkinType ¶
CORE = 'Core'
FINISH = 'Finish'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ConnectedElement ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ConnectedElementsOrError ¶
ConnectedElementsOrError: TypeAlias = (
ConnectedElementsWrapper | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ConnectedElementsWrapper ¶
The response of the GetConnectedElements command.
connectedElements: list[ConnectedElement]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
ConnectMEPElementsParameters ¶
# Array of connections to create.
connectionsData: list[MEPConnectionData]
Import from multiconn_archicad.models.tapir.commands.
ConnectMEPElementsResult ¶
# A list of MEP connection results or errors.
connectionResults: list[MEPConnectionResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ConnectToElectricalCircuitsParameters ¶
# Array of electrical devices or panels and the circuits to connect them to. A
# panel connected to a circuit becomes a sub-panel of the panel of that
# circuit.
connectionsData: list[ElectricalCircuitConnectionData]
Import from multiconn_archicad.models.tapir.commands.
ConnectToElectricalCircuitsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ConsolidateFillsResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# What Archicad answered for the JSON query, as it came. Present when the
# query ran. The Archicad API does not document its content; it may report a
# failure of the menu command even though the query itself ran.
result: str | None = None
Import from multiconn_archicad.models.tapir.commands.
ConsolidateLinesResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# What Archicad answered for the JSON query, as it came. Present when the
# query ran. The Archicad API does not document its content; it may report a
# failure of the menu command even though the query itself ran.
result: str | None = None
Import from multiconn_archicad.models.tapir.types.
ContainingDatabase ¶
databaseId: DatabaseId
windowType: WindowType
# The name of the database (for example the name of the layout). Empty for
# databases without a name, like the floor plan.
name: str
Import from multiconn_archicad.models.tapir.types.
ContentField ¶
KEY = 'Key'
TITLE = 'Title'
DESCRIPTION = 'Description'
REFERENCE = 'Reference'
Import from multiconn_archicad.models.tapir.types.
Contents ¶
Which sections the library part has.
interfaceScript: bool
forwardMigrationScript: bool
backwardMigrationScript: bool
field_2dVectorImage: bool
previewPicture: bool
gdlPictures: bool
# Archicad 29 or newer.
darkPreviewPicture: bool | None = None
# Archicad 29 or newer.
darkGdlPictures: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ConvertAnalyticalLinksToNonShortestParameters ¶
# The identifier of the Structural Analytical Model. The model of the current
# view is used when it is omitted; in Archicad 26 it is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
ConvertAnalyticalLinksToNonShortestResult ¶
# The link the API returns for each element after the conversion, in the order
# of the input. An element that cannot be converted is represented by an error
# object.
links: list[ConvertedAnalyticalLink | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ConvertedAnalyticalLink ¶
link: AnalyticalLink
Import from multiconn_archicad.models.tapir.types.
ConvertedImage ¶
# The base64 encoded converted image.
image: str
Import from multiconn_archicad.models.tapir.types.
ConvertedUnitValue ¶
# The value as Archicad shows it in the unit of the preference, without the
# extra accuracy decimals. It may contain the unit.
convertedValue: str
# The extra accuracy decimals, if any (at most two). Empty when there are
# none.
extraAccuracy: str
# The unit of the preference. It may be empty.
unit: str
Import from multiconn_archicad.models.tapir.commands.
ConvertImagesParameters ¶
# The images to convert.
images: list[ImageConversionInput]
Import from multiconn_archicad.models.tapir.commands.
ConvertImagesResult ¶
# The converted images in the order of the input, or an error.
images: list[ConvertedImage | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ConvertRevealOffsetsParameters ¶
# Windows and doors placed in walls, each with exactly one of coreOffset or
# sideOffset.
openings: list[OpeningRevealOffsetData]
Import from multiconn_archicad.models.tapir.commands.
ConvertRevealOffsetsResult ¶
# The reveal depth offset of each opening in both references, aligned with the
# input, or an error.
revealOffsets: list[OpeningRevealOffsets | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ConvertUnitValuesParameters ¶
# The values to convert.
values: list[UnitValueConversionData]
Import from multiconn_archicad.models.tapir.commands.
ConvertUnitValuesResult ¶
# The converted values, in the order of the input. A value that cannot be
# converted is an error item.
convertedValues: list[ConvertedUnitValue | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ConvexPolygon ¶
# The 3D world coordinates of the vertices of the convex polygon, in order.
vertices: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.types.
Coordinate2D ¶
2D coordinate.
# X value of the coordinate.
x: float
# Y value of the coordinate.
y: float
Import from multiconn_archicad.models.tapir.types.
Coordinate3D ¶
3D coordinate.
# X value of the coordinate.
x: float
# Y value of the coordinate.
y: float
# Z value of the coordinate.
z: float
Import from multiconn_archicad.models.tapir.types.
Coordinates ¶
3D coordinate.
# X value of the coordinate.
x: float
# Y value of the coordinate.
y: float
# Z value of the coordinate.
z: float
Import from multiconn_archicad.models.tapir.types.
CoordinateSystem3D ¶
A coordinate system in 3D: an origin and three axes. What is left out keeps its default; give all three axes together or none.
# The origin of the coordinate system.
origin: Coordinate3D | None = None
# The X axis of the coordinate system.
xAxis: Coordinate3D | None = None
# The Y axis of the coordinate system.
yAxis: Coordinate3D | None = None
# The Z axis of the coordinate system.
zAxis: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
CoordinateWitnessPoint ¶
coordinate: Coordinate2D | None = None
coordinate3D: Coordinate3D | None = None
dimensionPosition: Coordinate2D | None = None
dimensionValue: float | None = None
witnessForm: WitnessForm | None = None
witnessVal: float | None = None
baseElementId: ElementId | None = None
# True when the witness point lies on an edge of the base element rather than
# at a node (API_Base line).
line: bool | None = None
# Subindex of the base element's node (API_Neig inIndex).
inIndex: int | None = None
# Non-zero for special references such as a wall plane, a beam, window or door
# hole, or a mesh ridge (API_Base special).
special: int | None = None
# Reserved by Archicad for section dimensions (API_Base node_typ).
nodeType: int | None = None
# Reserved by Archicad for section dimensions (API_Base node_status).
nodeStatus: int | None = None
# Polygon vertex id of the base element, from its memo's vertexIDs, for
# elements with a polygon.
nodeId: float | None = None
# Character height of the dimension text in mm, as the creation commands take
# it.
textHeight: float | None = None
# Pen index of the dimension text.
textPen: int | None = None
# Whether the dimension text has a frame.
textFrame: bool | None = None
# The font and style of the dimension text.
textStyle: DimensionTextStyle | None = None
content: DimensionWitnessPointContent | None = None
# The custom text of the witness point (API note contentUStr), with
# {MeasuredValue} where the measured value autotext is (Archicad 26 and
# later). Kept, but not shown, while content is MeasuredValue.
customText: str | None = None
# Whether the text is superscript (API note effectBits,
# APIEffect_SuperScript).
superscript: bool | None = None
# Whether the text was moved by hand from its automatic position (API note
# fixPos); ModifyAssociativeDimensions' resetTextPosition sets it back to
# false, its textPosition to true.
textPositionFixed: bool | None = None
# Where the text is (API note pos, its left bottom as Archicad keeps it), in
# the coordinates of the witness points; ModifyAssociativeDimensions'
# witnessPointTexts[].textPosition takes the same coordinates. Compare them
# across dimensions to find texts that overlap.
textPosition: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
CopiedLibraryPart ¶
# The file name of the copy with its extension.
libraryPartName: str
# The unique ID of the copy, its main and revision GUID.
unID: str | None = None
# The absolute path of the copy.
path: str
Import from multiconn_archicad.models.tapir.types.
Copy ¶
# The new elements made from this element, the first copy first. When the
# element is in a group and Suspend Groups is off, Archicad copies the whole
# group, and the copies of the other members are listed too.
elements: list[ElementIdArrayItem]
# Why the element, or some of its copies, could not be made. The copies made
# before the error are still listed in elements.
error: Error | None = None
Import from multiconn_archicad.models.tapir.commands.
CopyElementsParameters ¶
# The elements to copy.
elements: list[ElementIdArrayItem]
# The vector in meters the first copy is moved by from its element.
offset: Coordinate3D
# Optional number of copies of each element. Copy n is moved by n times the
# offset, so more than one makes a linear array. By default it's 1.
count: int | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CopyElementsToDatabaseParameters ¶
# The 2D elements to copy: Line, PolyLine, Arc, Circle, Spline, Hotspot, Text,
# Hatch or Label (not associated with an element). Drawings are not copied
# yet: created from their own data they lose the link to their source view.
elements: list[ElementIdArrayItem]
# The database the elements are in. Default is the current database.
sourceDatabaseId: DatabaseId | None = None
# The database to copy the elements into, e.g. a worksheet, a detail or a
# layout (see GetDatabases).
targetDatabaseId: DatabaseId
# Optional vector the copies are moved by in the target database. Without it
# they keep the coordinates of the originals.
offset: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.commands.
CopyElementsToDatabaseResult ¶
# The new element of each given element, in the same order, or the reason it
# was not copied.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CopyFilesIntoEmbeddedLibraryParameters ¶
# The files to copy. Each keeps its file name inside the target folder.
files: list[EmbeddedLibraryFile]
# Optional. The folder relative to the embedded library to copy the files
# into, for example 'Office/Doors'. Missing folders are created. By default
# the root of the embedded library.
targetFolder: str | None = None
# Optional. When true, an item with the same name in the target folder is
# replaced. By default false.
overwriteIfExists: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CopyFilesIntoEmbeddedLibraryResult ¶
CopyFilesIntoEmbeddedLibraryResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
CopyLibraryPartsParameters ¶
# The library parts to copy, each given by its name or by an element placed
# from it, with the name of the copy.
libraryParts: list[LibraryPartCopyData]
Import from multiconn_archicad.models.tapir.commands.
CopyLibraryPartsResult ¶
# The copies in the order of the input, or an error for a library part that
# was not copied.
libraryParts: list[CopiedLibraryPart | ErrorItem]
# Whether the libraries were reloaded after copying. False when nothing was
# copied or the reload failed; then the copies are not found by name until the
# libraries are reloaded.
librariesReloaded: bool
Import from multiconn_archicad.models.tapir.types.
CoverFill ¶
Floor plan cover fill settings of a Column or Beam.
# Whether the cover fill is shown on the floor plan.
use: bool
# Whether the fill is taken from the top surface material of the element.
useFromSurface: bool
# Whether the cover fill orientation comes from the 3D view of the element.
orientationComesFrom3D: bool
fillId: AttributeId
foregroundPen: int
backgroundPen: int
transformationType: TransformationType
transformation: CoverFillTransformation
Import from multiconn_archicad.models.tapir.types.
CoverFillOrientation ¶
Orientation/distortion of the floor plan cover fill.
type: HatchOrientationType | None = None
# Origin of the fill relative to the project origin.
origo: Coordinate2D | None = None
# X component of the primary distortion (direction) vector - the cosine of the
# fill angle, if not distorted.
matrix00: float | None = None
# Y component of the primary distortion (direction) vector - the sine of the
# fill angle, if not distorted.
matrix10: float | None = None
# X component of the secondary distortion vector - the cosine of the normal
# vector's angle, if not distorted.
matrix01: float | None = None
# Y component of the secondary distortion vector - the sine of the normal
# vector's angle, if not distorted.
matrix11: float | None = None
# Radius for circular fill distortion (type Centered only).
innerRadius: float | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
CoverFillTransformation ¶
Orientation and distortion parameters of a cover fill.
# The origin of the fill relative to the center of the element.
origin: Coordinate2D
# Primary distortion (direction) vector.
xAxis: Coordinate2D
# Secondary distortion (direction) vector.
yAxis: Coordinate2D
Import from multiconn_archicad.models.tapir.commands.
Create3DDocumentsParameters ¶
# One item per new 3D Document.
documentsData: list[Document3DData]
Import from multiconn_archicad.models.tapir.commands.
Create3DDocumentsResult ¶
# One item per input item, in the same order.
databases: list[CreatedDatabase | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Create3DStylesParameters ¶
# The 3D styles to create. Each starts from the current 3D style; only the
# given fields differ from it.
styles: list[Style3DDetails]
Import from multiconn_archicad.models.tapir.commands.
Create3DStylesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
CreateAddOnViewpointsParameters ¶
# The add-on viewpoint items to create. The identifier of a new root or group
# is only known from the response, so create the parents in an earlier call.
viewpoints: list[AddOnViewpointData]
Import from multiconn_archicad.models.tapir.commands.
CreateAddOnViewpointsResult ¶
# The identifier of each created item, in the order of the input, or an error
# for an item that could not be created.
viewpoints: list[AddOnViewpointIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLinksParameters ¶
# The links to create, as GetAnalyticalLinks returns them. Each is created
# from the defaults of the Analytical Link tool.
links: list[AnalyticalLink]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLinksResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadCasesParameters ¶
# The load cases to create.
loadCases: list[AnalyticalLoadCaseData]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadCasesResult ¶
# The identifiers of the new load cases, in the order of the input. A load
# case that could not be created is represented by an error object.
loadCaseIds: list[AnalyticalLoadCaseIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadCombinationsParameters ¶
# The load combinations to create.
loadCombinations: list[AnalyticalLoadCombinationData]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadCombinationsResult ¶
# The identifiers of the new load combinations, in the order of the input. A
# load combination that could not be created is represented by an error
# object.
loadCombinationIds: list[AnalyticalLoadCombinationIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadGroupsParameters ¶
# The load groups to create.
loadGroups: list[AnalyticalLoadGroupData]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadGroupsResult ¶
# The identifiers of the new load groups, in the order of the input. A load
# group that could not be created is represented by an error object.
loadGroupIds: list[AnalyticalLoadGroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadsParameters ¶
# The loads to create, as GetAnalyticalLoads returns them without their
# geometry. Each is created from the defaults of its tool. An edge load needs
# the curve and a surface load the contour it is applied on, in customData.
loads: list[AnalyticalPointLoadData | AnalyticalEdgeLoadData | AnalyticalSurfaceLoadData]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalLoadsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalSupportsParameters ¶
# The supports to create, as GetAnalyticalSupports returns them. Each is
# created from the defaults of the Analytical Support tool.
supports: list[AnalyticalSupport]
Import from multiconn_archicad.models.tapir.commands.
CreateAnalyticalSupportsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAngleDimensionsParameters ¶
# Array of data to create Angle Dimensions (the Angle Dimension tool). They
# are created in the current database (the floor plan, or the section,
# elevation, interior elevation, worksheet or detail whose window is active),
# or in the one given by databaseId.
angleDimensionsData: list[AngleDimensionData]
# Optional database to create the elements in, e.g. a section, an elevation, a
# worksheet or a detail (see GetDatabases). The front window stays as it is: a
# worksheet or detail whose window was never opened is opened once on Archicad
# 27 and later, and the front window is brought back. Without it the elements
# are created in the current database. If Archicad cannot switch to it,
# nothing is created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateAngleDimensionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateArcsParameters ¶
# Array of data to create Arcs.
arcsData: list[ArcData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateArcsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAssociativeDimensionsOnSectionParameters ¶
dimensionsData: list[AssociativeDimensionOnSectionData]
Import from multiconn_archicad.models.tapir.commands.
CreateAssociativeDimensionsOnSectionResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAssociativeDimensionsParameters ¶
dimensionsData: list[AssociativeDimensionData]
Import from multiconn_archicad.models.tapir.commands.
CreateAssociativeDimensionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateAttributeFoldersParameters ¶
# A list of attribute folders.
attributeFolders: list[AttributeFolder]
Import from multiconn_archicad.models.tapir.commands.
CreateAttributeFoldersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateBeamsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateBuildingMaterialsParameters ¶
# Array of data to create new Building Materials.
buildingMaterialDataArray: list[BuildingMaterialData]
# Overwrite the Building Material if exists with the same name, or if index is
# given with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateBuildingMaterialsResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateCameraSetsParameters ¶
# The Camera Sets (camera paths) to create, each empty: cameras are added to
# them later.
cameraSets: list[CameraSetData]
Import from multiconn_archicad.models.tapir.commands.
CreateCameraSetsResult ¶
# The element ids of the new Camera Sets, in the order of the input, or an
# error for each one that could not be created. GetCameras lists them as
# cameraSetElementId.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateCamerasParameters ¶
# The perspective cameras to create. Each is added at the end of the path of
# its Camera Set, in the order of this list. The values not given come from
# the Camera tool defaults.
cameras: list[CameraData]
Import from multiconn_archicad.models.tapir.commands.
CreateCamerasResult ¶
# The element ids of the new cameras, in the order of the input, or an error
# for each one that could not be created. GetCameras lists them as
# cameraElementId.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateChangeMarkersParameters ¶
# The Change Markers to create, in the database of the active window (the
# floor plan story, a section, a detail, a worksheet or a layout).
changeMarkersData: list[ChangeMarkerData]
Import from multiconn_archicad.models.tapir.commands.
CreateChangeMarkersResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateCirclesParameters ¶
# Array of data to create Circles.
circlesData: list[CircleData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateCirclesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateClassificationItemsParameters ¶
# Classification systems with items.
newClassificationItems: list[NewClassificationItem]
Import from multiconn_archicad.models.tapir.commands.
CreateClassificationItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# The identifiers of the new classification items, in the order of the input.
# An item that could not be created is an error item. An item whose children
# failed is still listed, because it was created; its execution result has the
# error.
classificationItemIds: list[ClassificationItemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateClassificationSystemsParameters ¶
# Classification systems with items.
classificationSystemsWithItems: list[ClassificationSystemsWithItem]
Import from multiconn_archicad.models.tapir.commands.
CreateClassificationSystemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# The identifiers of the new classification systems, in the order of the
# input. A system that could not be created is an error item. A system whose
# items failed is still listed, because it was created; its execution result
# has the error.
classificationSystemIds: list[ClassificationSystemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateColumnsParameters ¶
# Array of data to create Columns.
columnsData: list[ColumnData]
Import from multiconn_archicad.models.tapir.commands.
CreateColumnsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateCompositesParameters ¶
# Array of data to create Composites.
compositeDataArray: list[CompositeData]
# Overwrite the Composite if exists with the same name, or if index is given
# with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateCompositesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateCurtainWallsParameters ¶
# Array of data to create Curtain Walls.
curtainWallsData: list[CurtainWallData]
Import from multiconn_archicad.models.tapir.commands.
CreateCurtainWallsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
CreatedDatabase ¶
databaseId: DatabaseId
# The Project Map item of the new database, for ChangeWindow or
# CreateDrawings. Missing when the item could not be found.
navigatorItemId: NavigatorItemId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionCombinationsParameters ¶
designOptionCombinations: list[DesignOptionCombinationData]
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionCombinationsResult ¶
# A list of design option combination identifiers or errors.
designOptionCombinationIdsOrErrors: list[DesignOptionCombinationIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionSetsParameters ¶
designOptionSets: list[str]
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionSetsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionsParameters ¶
designOptions: list[DesignOptionData]
Import from multiconn_archicad.models.tapir.commands.
CreateDesignOptionsResult ¶
# A list of design option identifiers or errors.
designOptionIdsOrErrors: list[DesignOptionIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateDetailMarkersParameters ¶
detailMarkersData: list[DetailMarkerData]
Import from multiconn_archicad.models.tapir.commands.
CreateDetailMarkersResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateDetailsParameters ¶
detailsData: list[DetailData]
Import from multiconn_archicad.models.tapir.commands.
CreateDetailsResult ¶
# One item per input item, in the same order.
databases: list[CreatedDatabase | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
CreatedLayoutWithPlacementError ¶
The layout was created, but it could not be moved to the place asked for by previousNavigatorItemId or position: it stays where Archicad put it.
databaseId: DatabaseId
error: Error
Import from multiconn_archicad.models.tapir.types.
CreatedLibraryPart ¶
The new library part, in the same form as in GetAvailableLibraryParts.
guid: str
index: int
documentName: str
fileName: str
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateDoorsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
CreatedProjectInfoField ¶
# The id of the project info field: its autotext key, as GetProjectInfoFields
# returns it and SetProjectInfoField takes it. On Archicad 30 it is given only
# when exactly one project info autotext has the name of the new field, and
# omitted otherwise.
projectInfoId: str | None = None
# The id of the field in the Project Info groups, as GetProjectInfoGroups
# returns it. Available from Archicad 30.
projectInfoFieldId: ProjectInfoFieldId | None = None
# The name of the project info field visible on UI.
projectInfoName: str
# The value of the project info field.
projectInfoValue: str
Import from multiconn_archicad.models.tapir.types.
CreatedProjectInfoFieldOrError ¶
CreatedProjectInfoFieldOrError: TypeAlias = (
CreatedProjectInfoField | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
CreateDrawingsParameters ¶
drawingsData: list[DrawingData]
Import from multiconn_archicad.models.tapir.commands.
CreateDrawingsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalCircuitsParameters ¶
# Array of data to create electrical circuits. Each item adds one circuit to
# the given panel.
electricalCircuitsData: list[ElectricalCircuitData]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalCircuitsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalDevicesParameters ¶
# Array of data to create electrical devices. The fields that are not given
# are taken from the default settings of the Electrical Device tool.
electricalDevicesData: list[ElectricalDeviceData]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalDevicesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalPanelsParameters ¶
# Array of data to create electrical panels. The fields that are not given are
# taken from the default settings of the Electrical Panel tool.
electricalPanelsData: list[ElectricalPanelData]
Import from multiconn_archicad.models.tapir.commands.
CreateElectricalPanelsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElementSetsParameters ¶
# The element sets to create.
elementSets: list[ElementSetData]
Import from multiconn_archicad.models.tapir.commands.
CreateElementSetsResult ¶
# The identifier of each created element set, or an error, in the order of the
# input.
elementSets: list[ElementSetIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElementsFromAnalyticalMembersParameters ¶
# The analytical members to create elements from, in the form
# GetAnalyticalMemberDetails returns them, so a member read there can be
# passed on as it is. The elemGuid of a member is ignored. A curve member
# needs analyticalMemberType and curve, a surface member (or segment)
# analyticalMemberType and contour; the other fields are zero when left out.
members: list[ElementFromAnalyticalMemberData]
Import from multiconn_archicad.models.tapir.commands.
CreateElementsFromAnalyticalMembersResult ¶
# The new element of each member, in the order of the input. A member no
# element could be created from is represented by an error object.
elements: list[ElementFromAnalyticalMember | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateElevationsParameters ¶
elevationsData: list[ElevationData]
Import from multiconn_archicad.models.tapir.commands.
CreateElevationsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateFavoriteFolderParameters ¶
# The path of the folder to create the new folder in, in the format
# GetFavoriteFolders returns: the folder names from the root down. Empty for
# the root folder.
parentPath: list[str]
# The name of the new folder.
name: str
Import from multiconn_archicad.models.tapir.commands.
CreateFavoriteFolderResult ¶
folder: FavoriteFolderDetails
Import from multiconn_archicad.models.tapir.commands.
CreateFavoriteParameters ¶
# The name of the new Favorite.
name: str
# The folder of the Favorites palette to create the Favorite in, as the folder
# names from the root down. The folder must exist. Empty or omitted = root.
folder: list[str] | None = None
source: FavoriteSettingsSource
conflictPolicy: FavoriteCreationConflictPolicy | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateFavoriteResult ¶
# The name of the Favorite: the given name, or the new name with RenameNew.
name: str
# The folder of the Favorite, as the folder names from the root down. Empty
# for the root. Missing when Archicad cannot read it.
folder: list[str] | None = None
outcome: FavoriteCreationOutcome
Import from multiconn_archicad.models.tapir.commands.
CreateFavoritesFromElementsParameters ¶
favoritesFromElements: list[FavoriteFromElement]
Import from multiconn_archicad.models.tapir.commands.
CreateFavoritesFromElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateFillsResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateFolderInEmbeddedLibraryParameters ¶
# The path of the folder relative to the embedded library, for example
# 'Office/Doors'. Missing parent folders are created too; folders that already
# exist are kept.
folderPath: str
Import from multiconn_archicad.models.tapir.commands.
CreateFolderInEmbeddedLibraryResult ¶
CreateFolderInEmbeddedLibraryResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicalOverrideCombinationParameters ¶
# Name of the override combination. When a combination with this name exists,
# its rule list is replaced.
name: str
# Names of the override rules in the combination, in order. Rule names are
# unique in the project, whatever the rule group. An empty list makes a
# combination without rules.
ruleNames: list[str]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicalOverrideRuleParameters ¶
# Name of the override rule. Rule names are unique in the project: an existing
# rule with this name is overwritten, in whichever rule group it is.
name: str
# Rule group of a new rule, created when it does not exist. Default: 'Tapir'.
# An overwritten rule stays in its own group.
ruleGroupName: str | None = None
# Optional criterion XML. Archicad only takes XML in its own format: read it
# from a rule made in the GUI with GetGraphicalOverrideRules and change the
# values. XML written from scratch is dropped without an error, and so is an
# empty one: the rule then applies to all elements.
criterionXML: str | None = None
# Optional color override of the cut and uncut surfaces. Components are in the
# 0..1 range.
surfaceRGB: ColorRGB | None = None
# Optional pen index override for lines, markers and texts. Only a positive
# index takes effect.
linePenIndex: int | None = None
# Optional. If true, the contours of the overridden surfaces are recolored
# too.
overrideContours: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideCombinationsParameters ¶
# The graphic override combinations to create.
graphicOverrideCombinations: list[GraphicOverrideCombinationData]
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideCombinationsResult ¶
# The identifiers of the created combinations, or errors, in the order of the
# input.
graphicOverrideCombinationIds: list[GraphicOverrideCombinationIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideRuleGroupsParameters ¶
# The names of the rule groups to create, unique within the project. The
# groups are created empty.
ruleGroupNames: list[str]
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideRuleGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideRulesParameters ¶
# The graphic override rules to create.
graphicOverrideRules: list[GraphicOverrideRuleData]
Import from multiconn_archicad.models.tapir.commands.
CreateGraphicOverrideRulesResult ¶
# The identifiers of the created rules, or errors, in the order of the input.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateGridElementsParameters ¶
gridElements: list[GridElementData]
Import from multiconn_archicad.models.tapir.commands.
CreateGridElementsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
# Parameters that were not set, prefixed with the index of the grid element.
warnings: list[str]
Import from multiconn_archicad.models.tapir.commands.
CreateGroupsParameters ¶
# A list of element groups to create.
elementGroups: list[ElementGroupParameters]
Import from multiconn_archicad.models.tapir.commands.
CreateGroupsResult ¶
# The results of the group creation operations.
groupGuids: list[GroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateHatchesParameters ¶
# Array of data to create Hatches. The settings left out come from the Fill
# tool defaults, or from the favorite given by favoriteName.
hatchesData: list[HatchData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateHatchesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateHotlinkInstancesParameters ¶
# The hotlink instances to place.
hotlinkInstances: list[HotlinkInstanceCreation]
Import from multiconn_archicad.models.tapir.commands.
CreateHotlinkInstancesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateHotlinkNodesParameters ¶
# The hotlink module nodes to create. A node that already points at the same
# source file (compared case-insensitively) is returned as it is, with
# existing: true, and the name and story settings asked for are ignored. On
# Archicad 25 a node that has not been placed yet cannot be found, so a
# repeated request there creates a second node.
hotlinkNodes: list[HotlinkNode]
Import from multiconn_archicad.models.tapir.commands.
CreateHotlinkNodesResult ¶
# One item per requested node, in order: the node guid with its existing flag,
# or an error.
hotlinkNodes: list[HotlinkNodeCreated | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateHotspotsParameters ¶
# Array of data to create Hotspots.
hotspotsData: list[HotspotData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateHotspotsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateInteriorElevationsParameters ¶
# Array of data to create Interior Elevation elements.
interiorElevationsData: list[InteriorElevationData]
Import from multiconn_archicad.models.tapir.commands.
CreateInteriorElevationsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteFoldersParameters ¶
# Array of data to create keynote folders.
foldersData: list[KeynoteFolderData]
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteFoldersResult ¶
# A list of keynote folder identifiers or errors.
keynoteFolderIdsOrErrors: list[KeynoteFolderIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteItemsParameters ¶
# Array of data to create keynote items.
itemsData: list[KeynoteItemData]
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteItemsResult ¶
# A list of keynote item identifiers or errors.
keynoteItemIdsOrErrors: list[KeynoteItemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteLabelsParameters ¶
# Array of data to create keynote labels.
labelsData: list[KeynoteLabelData]
Import from multiconn_archicad.models.tapir.commands.
CreateKeynoteLabelsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLabelsParameters ¶
# Array of data to create Labels.
labelsData: list[LabelData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLabelsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLampsParameters ¶
# Array of data to create Lamps.
lampsData: list[LampData]
# Optional database to place the elements in, e.g. a worksheet or a detail
# (see GetDatabases, or the databaseId CreateWorksheets and CreateDetails
# return), for a legend of symbols. The front window stays as it is: a
# worksheet or detail whose window was never opened is opened once on Archicad
# 27 and later, and the front window is brought back. Without it the elements
# are placed in the current database. If Archicad cannot switch to it, nothing
# is created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLampsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLayerCombinationsParameters ¶
# Array of data to create new Layer Combinations.
layerCombinationDataArray: list[LayerCombinationDataArrayItem]
# Overwrite the Layer Combination if exists with the same guid/index/name. The
# default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLayerCombinationsResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateLayersResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLayoutParameters ¶
layoutsData: list[LayoutData]
Import from multiconn_archicad.models.tapir.commands.
CreateLayoutResult ¶
databases: list[DatabaseIdArrayItem | ErrorItem | CreatedLayoutWithPlacementError]
Import from multiconn_archicad.models.tapir.commands.
CreateLayoutSubsetParameters ¶
subsetsData: list[SubsetData]
Import from multiconn_archicad.models.tapir.commands.
CreateLayoutSubsetResult ¶
navigatorItems: list[NavigatorItemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLevelDimensionsParameters ¶
# Array of data to create Level Dimensions (the Level Dimension tool of the
# floor plan).
levelDimensionsData: list[LevelDimensionData]
Import from multiconn_archicad.models.tapir.commands.
CreateLevelDimensionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartFromElementsParameters ¶
# The name of the new library part, as shown in the library and used by
# CreateObjects as libraryPartName.
name: str
# The 2D drawing elements (lines, polylines, arcs, circles, splines, fills,
# texts and hotspots) whose copies make up the 2D symbol of the new library
# part. They keep their plan coordinates, so the project origin becomes the
# origin of the symbol. The elements themselves are not changed.
elements: list[ElementIdArrayItem]
# The parent subtype of the new library part: its unique ID
# ('{main}-{revision}') or its main GUID, as GetAvailableLibraryParts reports
# it. Either parentId or parentName is required. The General GDL Object (the
# root subtype) cannot be the parent: use the Model Element or one of its
# subtypes.
parentId: str | None = None
# The document name of the parent subtype, e.g. 'General Object' or 'Model
# Element'; used when parentId is not given.
parentName: str | None = None
# Optional. The folder of the new .gsm file, relative to the embedded library
# (or to libraryFolder), created when missing. By default the embedded library
# (or libraryFolder) itself.
folder: str | None = None
# Optional. The absolute path of a local library folder to create the library
# part in instead of the embedded library. A folder that is not one of the
# loaded libraries yet is added to them first, and stays added.
libraryFolder: str | None = None
# Optional. When true, a library part file of the same name in the folder is
# overwritten. By default false: the new library part then gets a unique name,
# which the response returns.
overwrite: bool | None = None
# Optional. Whether the new library part can be placed. True by default.
placeable: bool | None = None
# Optional. The GDL scripts of the new library part.
scripts: Scripts | None = None
# Optional. The comment (description) of the library part.
comment: str | None = None
# Optional. The keywords of the library part.
keywords: str | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartFromElementsResult ¶
# The name of the created library part.
name: str
# The file name of the created library part, with its extension.
fileName: str | None = None
# The unique ID of the created library part ('{main}-{revision}').
unId: str
# The main GUID of the created library part, as GetAvailableLibraryParts
# reports it.
guid: str
# The index of the created library part in the loaded libraries.
index: int
# The default A (X size) of the library part, the width of its 2D symbol.
a: float | None = None
# The default B (Y size) of the library part, the depth of its 2D symbol.
b: float | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartParameters ¶
# The full path of the new library part file. It must end with .gsm, must not
# exist yet, and its folder must exist.
path: str
# The name of a loaded library part that is a subtype, with its extension, as
# returned in the fileName field of GetAvailableLibraryParts. The new object
# is of this subtype and inherits its parameters.
ancestorSubtype: str
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartResult ¶
# Whether the new library part is loaded in the project. It is only loaded
# when its folder is in a loaded library; otherwise only the file was created.
isLoaded: bool
# Left out when it is not loaded.
libraryPart: CreatedLibraryPart | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartsParameters ¶
# The library parts to create in the embedded library.
libraryParts: list[LibraryPartData]
# Optional. When true, an embedded library item already existing on the path
# of a new library part is deleted first, so the new one replaces the loaded
# library part. By default false: creating on an existing path fails. Requires
# Archicad 27 or newer.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLibraryPartsResult ¶
# The created library parts, in the order of the input, or the error of each
# one that could not be created.
libraryParts: list[LibraryPartCreationDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateLineElementsParameters ¶
# Array of data to create Lines.
linesData: list[LineElementData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateLineElementsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateLinesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPElementsParameters ¶
# Array of data to create MEP elements.
elementsData: list[MEPElementData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPElementsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPFlexibleSegmentsParameters ¶
# Array of data to place MEP flexible segments with the current settings of
# the Flexible Segment tool of their domain (see GetMEPToolDefaults).
flexibleSegmentsData: list[MEPFlexibleSegmentCreationData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPFlexibleSegmentsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPPhysicalSystemsParameters ¶
# Array of data to create physical systems.
physicalSystemsData: list[MEPPhysicalSystemData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPPhysicalSystemsResult ¶
physicalSystems: list[MEPPhysicalSystemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPPreferenceTablesParameters ¶
# The MEP domain of a preference table container.
domain: MEPPreferenceTableDomain
# The tables to add, empty, to the preference table container of the domain.
tables: list[MEPPreferenceTableData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPPreferenceTablesResult ¶
# One result per table, in the order of the tables.
executionResults: list[MEPPreferenceTableCreationResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPRoutingElementsParameters ¶
# Array of data to create MEP routing elements.
routingElementsData: list[MEPRoutingElementData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPRoutingElementsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPSystemGroupsParameters ¶
# Array of data to create system groups.
systemGroupsData: list[MEPSystemGroupData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPSystemGroupsResult ¶
systemGroups: list[MEPSystemGroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPSystemsParameters ¶
# Array of data to create new MEP Systems.
mepSystemDataArray: list[MEPSystemData]
# Overwrite the MEP System if exists with the same name, or if index is given
# with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateMEPSystemsResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPTakeOffsParameters ¶
# Array of data to create MEP take-offs on routing segments with the current
# settings of the Take-Off tool of their domain.
takeOffsData: list[MEPTakeOffCreationData]
Import from multiconn_archicad.models.tapir.commands.
CreateMEPTakeOffsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateMeshesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateMorphsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateObjectsParameters ¶
# Array of data to create Objects.
objectsData: list[ObjectData]
# Optional database to place the elements in, e.g. a worksheet or a detail
# (see GetDatabases, or the databaseId CreateWorksheets and CreateDetails
# return), for a legend of symbols. The front window stays as it is: a
# worksheet or detail whose window was never opened is opened once on Archicad
# 27 and later, and the front window is brought back. Without it the elements
# are placed in the current database. If Archicad cannot switch to it, nothing
# is created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateObjectsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateOpeningsParameters ¶
openingsData: list[OpeningData]
Import from multiconn_archicad.models.tapir.commands.
CreateOpeningsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePenTablesParameters ¶
# Array of data to create new Pen Tables.
penTableDataArray: list[PenTableData]
# Overwrite the Pen Table if exists with the same name, or if index is given
# with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreatePenTablesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePicturesParameters ¶
# Array of data to create Pictures.
picturesData: list[PictureData]
# Optional database to create the pictures in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the pictures are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreatePicturesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePolylinesParameters ¶
# Array of data to create Polylines. The settings left out come from the
# Polyline tool defaults, or from the favorite given by favoriteName.
polylinesData: list[PolylineData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreatePolylinesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateProfilesParameters ¶
# Array of data to create new Profiles.
profileDataArray: list[ProfileData]
# Overwrite the Profile if exists with the same name, or if index is given
# with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateProfilesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateProjectInfoFieldsParameters ¶
# Array of custom project info fields to create.
projectInfoFields: list[ProjectInfoFieldData]
Import from multiconn_archicad.models.tapir.commands.
CreateProjectInfoFieldsResult ¶
# A list of created project info fields or errors, one per requested field.
fields: list[CreatedProjectInfoField | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateProjectInfoGroupsParameters ¶
# The Project Info groups to create, in order. Each is added to the end of the
# group list.
projectInfoGroups: list[ProjectInfoGroupData]
Import from multiconn_archicad.models.tapir.commands.
CreateProjectInfoGroupsResult ¶
# A list of Project Info group identifiers or errors.
projectInfoGroupIdsOrErrors: list[ProjectInfoGroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePropertyDefinitionsParameters ¶
# The parameters of the new properties.
propertyDefinitions: list[PropertyDefinitionArrayItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePropertyDefinitionsResult ¶
# A list of property identifiers.
propertyIds: list[PropertyIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePropertyGroupsParameters ¶
# The parameters of the new property groups.
propertyGroups: list[PropertyGroupArrayItem]
Import from multiconn_archicad.models.tapir.commands.
CreatePropertyGroupsResult ¶
# The identifiers of the created property groups.
propertyGroupIds: list[PropertyGroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
CreateRadialDimensionsParameters ¶
# Array of data to create Radial Dimensions (the Radial Dimension tool), each
# measuring the radius of an arc, a circle or a curved wall. They are created
# in the current database (the floor plan, or the worksheet or detail whose
# window is active), or in the one given by databaseId, which must hold the
# measured element.
radialDimensionsData: list[RadialDimensionData]
# Optional database to create the elements in, e.g. a worksheet or a detail
# (see GetDatabases), which must hold the measured elements. The front window
# stays as it is: a worksheet or detail whose window was never opened is
# opened once on Archicad 27 and later, and the front window is brought back.
# Without it the elements are created in the current database. If Archicad
# cannot switch to it, nothing is created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateRadialDimensionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateRailingsFromPolylineParameters ¶
# Array of data to create Railings.
railingsData: list[RailingFromPolylineData]
Import from multiconn_archicad.models.tapir.commands.
CreateRailingsFromPolylineResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateRailingsParameters ¶
# Array of data to create Railings.
railingsData: list[RailingData]
Import from multiconn_archicad.models.tapir.commands.
CreateRailingsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateRoofsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateSectionsParameters ¶
sectionsData: list[SectionData]
Import from multiconn_archicad.models.tapir.commands.
CreateSectionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateShellsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateSkylightsParameters ¶
# Array of data to create Skylights.
skylightsData: list[SkylightData]
Import from multiconn_archicad.models.tapir.commands.
CreateSkylightsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateSlabsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateSolidElementLinksParameters ¶
# List of solid element operation links to create.
solidLinks: list[SolidLinkData]
Import from multiconn_archicad.models.tapir.commands.
CreateSolidElementLinksResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
CreateSolidOperationsParameters ¶
# The solid operations to run, each on two morphs. The target and the operator
# morph are replaced by the resulting morph.
operations: list[SolidOperationData]
Import from multiconn_archicad.models.tapir.commands.
CreateSolidOperationsResult ¶
# One item per operation, in the order of the input: the resulting morphs, or
# an error.
results: list[SolidOperationResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateSplinesParameters ¶
# Array of data to create Splines. Only auto-smoothed curves are supported
# (bezier handle positions are calculated automatically by Archicad from the
# point positions).
splinesData: list[SplineData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateSplinesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateStairsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateSurfacesParameters ¶
# Array of data to create new surfaces.
surfaceDataArray: list[SurfaceData]
# Overwrite the Surface if exists with the same name, or if index is given
# with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateSurfacesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateTextsParameters ¶
# Array of data to create Texts.
textsData: list[TextData]
# Optional database to create the elements in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the elements are
# created in the current database. If Archicad cannot switch to it, nothing is
# created and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateTextsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateViewMapFolderParameters ¶
# Name of the new folder to create in the View Map.
folderName: str
# Navigator item ID of the parent View Map folder. Optional; defaults to the
# View Map root.
parentNavigatorItemId: NavigatorItemId | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateViewMapFolderResult ¶
navigatorItemId: NavigatorItemId
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateViewsInViewMapResult ¶
navigatorItems: list[NavigatorItemIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateWallsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateWallThicknessDimensionsParameters ¶
dimensionsData: list[WallThicknessDimensionData]
Import from multiconn_archicad.models.tapir.commands.
CreateWallThicknessDimensionsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateWindowsParameters ¶
windowsData: list[WindowData]
Import from multiconn_archicad.models.tapir.commands.
CreateWindowsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateWorksheetMarkersParameters ¶
worksheetMarkersData: list[WorksheetMarkerData]
Import from multiconn_archicad.models.tapir.commands.
CreateWorksheetMarkersResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateWorksheetsParameters ¶
worksheetsData: list[WorksheetData]
Import from multiconn_archicad.models.tapir.commands.
CreateWorksheetsResult ¶
# One item per input item, in the same order.
databases: list[CreatedDatabase | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
CreateZoneCategoriesParameters ¶
# Array of data to create new Zone Categories.
zoneCategoryDataArray: list[ZoneCategoryData]
# Overwrite the Zone Category if exists with the same name, or if index is
# given with the same index. The default is false.
overwriteExisting: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
CreateZoneCategoriesResult ¶
# A list of attribute identifiers or errors.
attributeIds: list[AttributeIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
CreateZonesResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
CriteriaPropertyObject ¶
# The index of the property object's library part, the same as the index
# returned by GetAvailableLibraryParts.
libraryPartIndex: int
# The name of the library part. Absent when the library part cannot be read.
name: str | None = None
# The guid of the library part, the same as the guid returned by
# GetAvailableLibraryParts. Absent when the library part cannot be read.
guid: str | None = None
Import from multiconn_archicad.models.tapir.types.
CrossSection ¶
The cross section of the risers.
SIMPLE = 'Simple'
SLANTED = 'Slanted'
Import from multiconn_archicad.models.tapir.types.
CurrentPlanConnectivity ¶
Read-only: current plan connectivity state of the open Section/Elevation window.
ONLINE = 'Online'
OFFLINE = 'Offline'
DRAWING = 'Drawing'
Import from multiconn_archicad.models.tapir.types.
CurrentTool ¶
The tool active in the Toolbox, as GetCurrentTool returns it. Empty for the Arrow and the Marquee.
# The element type of the tool. Unknown for the tools of add-ons, which
# classId identifies.
elementType: ElementType | None = None
# The four-character subtype of the tool, e.g. DOOR, SKYL, CRWD, or the
# signature of a library part subtype registered by an add-on. Missing for the
# generic tool of the element type.
variation: str | None = None
# The class id (a guid) of the tool of an add-on, whose elementType is
# Unknown. Archicad 26 and later.
classId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
CurrPlanConn ¶
ONLINE = 'Online'
OFFLINE = 'Offline'
DRAWING = 'Drawing'
Import from multiconn_archicad.models.tapir.types.
CurtainWallAbsoluteBottom ¶
# The absolute bottom level of the curtain wall or its subelement: the level
# of its home story plus bottomFromHomeStory.
absoluteBottom: float
# The bottom of the curtain wall or its subelement relative to its home story,
# as ACAPI_CurtainWall_GetCWAbsoluteBottom returns it despite its name.
# Earlier versions of GetCurtainWallAbsoluteBottoms returned this value as
# absoluteBottom, which was only right on a story at level 0.
bottomFromHomeStory: float
Import from multiconn_archicad.models.tapir.types.
CurtainWallAccessoryCategory ¶
Whether the accessory is a system accessory or a custom one (API_CWAccessoryType::category).
SYSTEM = 'System'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
CurtainWallAccessoryDetails ¶
An accessory of a curtain wall: a GDL object Archicad joins to a frame (API_CWAccessoryType). Its parameters are read by GetGDLParametersOfElements and its library part by the libraryPartUnId field.
category: CurtainWallAccessoryCategory
# Whether the accessory is flipped.
flipped: bool
# The frame the accessory is joined to (API_CWAccessoryType::refFrame).
referenceFrameId: ElementId
# The curtain wall the accessory belongs to.
curtainWallId: ElementId
Import from multiconn_archicad.models.tapir.types.
CurtainWallCrossingFrameType ¶
The diagonal frame of a pattern cell: none, or from the bottom left to the top right corner, or from the top left to the bottom right corner.
NONE = 'None'
FROM_BOTTOM_LEFT_TO_TOP_RIGHT = 'FromBottomLeftToTopRight'
FROM_TOP_LEFT_TO_BOTTOM_RIGHT = 'FromTopLeftToBottomRight'
Import from multiconn_archicad.models.tapir.types.
CurtainWallData ¶
The parameters of the new Curtain Wall. Everything not given here - the frame and panel classes, the surfaces, the boundary and corner frames, the pattern - comes from the favorite or from the Curtain Wall tool defaults of the open project.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional existing Curtain Wall whose settings the new curtain wall takes
# instead of the tool defaults (or the favorite): its frame and panel classes,
# pattern, surfaces, boundary and corner frames, height, home story and base,
# layer, renovation status and slant angle. The fields given here override
# them. With itself as template, a curtain wall is given a reference line with
# more or fewer segments by creating it again and deleting the old one (see
# RecreateCurtainWalls).
templateElementId: ElementId | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The 2D coordinates of the reference line of the curtain wall on the floor
# plan. Each pair of consecutive coordinates becomes one straight segment, so
# two coordinates give a single-segment curtain wall.
coordinates: list[Coordinate2D]
# Optional Z coordinate (absolute elevation) of the bottom of the curtain
# wall. When omitted, the base level of the favorite (or of the Curtain Wall
# tool defaults) relative to the floor is kept.
zCoordinate: float | None = None
# Optional floor index. When omitted, derived from zCoordinate if that is
# given, otherwise the current story.
floorIndex: int | None = None
# Optional height of the curtain wall. When omitted, the height of the
# favorite (or of the Curtain Wall tool defaults) is kept.
height: float | None = None
# Optional slant angle of the curtain wall plane in degrees, measured from the
# horizontal: 90 is vertical, less than 90 leans to the left of the reference
# line (seen from its first coordinate), more than 90 to the right. It is the
# value GetDetailsOfElements returns as angle. A slanted curtain wall needs a
# straight reference line (exactly 2 coordinates); height stays its vertical
# height, and zCoordinate the elevation of its reference line (Archicad raises
# the bottom of the panels by offset times the cosine of the angle). Give it
# even with a slanted favorite: Archicad does not take the slant of a favorite
# or of the tool defaults on creation, so without angle the curtain wall comes
# out vertical (seen in Archicad 29).
angle: float | None = None
# Optional column pattern: the sizes of the columns along the segment (the
# primary grid). When omitted, the pattern of the favorite (or of the tool
# defaults) is kept.
primaryPattern: CurtainWallPattern | None = None
# Optional row pattern: the sizes of the rows from the bottom up (the
# secondary grid). When omitted, the pattern of the favorite (or of the tool
# defaults) is kept.
secondaryPattern: CurtainWallPattern | None = None
# Optional assignment of panel and frame classes to the cells of the pattern
# unit. The unit repeats along and up the segment, so an assignment applies to
# every repetition of that cell. A cell not listed here keeps the assignment
# of the favorite (or of the tool defaults) when the pattern is unchanged,
# otherwise the assignment of the first default cell.
cells: list[CurtainWallPatternCell] | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallDetails ¶
# The height setting stored on the curtain wall element.
height: float
# The height of the curtain wall as calculated by Archicad
# (ACAPI_CurtainWall_GetCWHeight). Omitted when Archicad cannot calculate it.
actualHeight: float | None = None
# The absolute elevation of the bottom of the curtain wall's reference line:
# its home story's level plus its base level from it
# (API_CurtainWallType::storyRelLevel, which follows a change of the base
# offset in Archicad; less offset * cos (angle) on a slanted curtain wall,
# whose panels the offset lifts), as CreateCurtainWalls and ModifyCurtainWalls
# take it.
zCoordinate: float
# The 2D coordinates of the reference line of the curtain wall on the floor
# plan, one more than its segments (each pair of consecutive coordinates is
# one segment), as CreateCurtainWalls and ModifyCurtainWalls take them in
# coordinates. Empty when Archicad cannot return it.
referenceLine: list[Coordinate2D]
# The side of the reference line the curtain wall is on
# (API_CurtainWallType::flipped), as ModifyCurtainWalls takes it.
flipped: bool
# The offset of the panels from the reference line
# (API_CurtainWallType::offset), as ModifyCurtainWalls takes it.
offset: float | None = None
# The nominal width (thickness) of the curtain wall
# (API_CurtainWallType::nominalWidth), as ModifyCurtainWalls takes it.
nominalWidth: float | None = None
# The column pattern of the curtain wall (the primary grid), as
# CreateCurtainWalls and ModifyCurtainWalls take it in primaryPattern, so it
# can be written back as it is. It is the curtain wall's own pattern
# (API_ElementMemo::cWSegPrimaryPattern of the curtain wall): those commands
# write one pattern for the whole curtain wall, and Archicad builds every
# segment from it. A segment whose scheme was changed on its own in Archicad
# may differ, and writing this pattern back applies it to every segment again.
# flexibleIndices is always given, because those commands rewrite it each
# time. Omitted when the pattern has no sizes or uses the number-of-divisions
# logic, which those commands cannot write; writing the details back without
# it keeps the pattern.
primaryPattern: CurtainWallPattern | None = None
# The row pattern of the curtain wall (the secondary grid, from the bottom
# up), as CreateCurtainWalls and ModifyCurtainWalls take it in
# secondaryPattern, so it can be written back as it is. It is the curtain
# wall's own pattern (API_ElementMemo::cWSegSecondaryPattern of the curtain
# wall): those commands write one pattern for the whole curtain wall, and
# Archicad builds every segment from it. A segment whose scheme was changed on
# its own in Archicad may differ, and writing this pattern back applies it to
# every segment again. flexibleIndices is always given, because those commands
# rewrite it each time. Omitted when the pattern has no sizes or uses the
# number-of-divisions logic, which those commands cannot write; writing the
# details back without it keeps the pattern.
secondaryPattern: CurtainWallPattern | None = None
# The panel and frame classes of every cell of the pattern unit, as
# CreateCurtainWalls and ModifyCurtainWalls take them in cells, so they can be
# written back as they are: one item per cell (the columns of the primary
# pattern times the rows of the secondary pattern), row by row from the bottom
# row, each row from the start of the segment. Read from the curtain wall's
# own cells (API_ElementMemo::cWSegPatternCells of the curtain wall), like the
# patterns. A class index those commands would refuse (outside the panel and
# frame classes of the curtain wall, e.g. a customized cell) is left out of
# its item, so writing the cell back keeps it. Omitted when Archicad returns
# fewer cells than the pattern unit has.
cells: list[CurtainWallPatternCell] | None = None
# The slant angle of the curtain wall plane in degrees, measured from the
# horizontal (API_CurtainWallType::angle): 90 is vertical, less than 90 leans
# to the left of the reference line, more than 90 to the right, as
# CreateCurtainWalls takes it.
angle: float
displayOption: DisplayOption
viewDepthLimitation: ViewDepthLimitation
visibility: StoryVisibility
# When true, Archicad recomputes 'visibility' automatically from the curtain
# wall's vertical extent.
isAutoOnStoryVisibility: bool
# Projection mode of the cut part of the curtain wall on the floor plan
# (API_CurtainWallType::cutProjectionMode).
cutProjectionMode: ElemProjectionMode
# Projection mode of the uncut part (below the cut plane) of the curtain wall
# on the floor plan (API_CurtainWallType::uncutProjectionMode).
uncutProjectionMode: ElemProjectionMode
# Projection mode of the overhead part (above the cut plane) of the curtain
# wall on the floor plan (API_CurtainWallType::overheadProjectionMode).
overheadProjectionMode: ElemProjectionMode
# Cut fill foreground pen; the building material's pen can be overridden on
# the element level. Before Archicad 27 always reported as not overridden.
cutFillPen: OverriddenPen
# Cut fill background pen; the building material's pen can be overridden on
# the element level. Before Archicad 27 always reported as not overridden.
cutFillBackgroundPen: OverriddenPen
# Pen index of the cut part of the frames on the floor plan
# (API_CurtainWallType::frameCutLinePen).
frameCutLinePen: int
# Line type of the cut part of the frames on the floor plan
# (API_CurtainWallType::frameCutLineType). Omitted when not set.
frameCutLineTypeId: AttributeId | None = None
# Pen index of the cut part of the panels on the floor plan
# (API_CurtainWallType::panelCutLinePen).
panelCutLinePen: int
# Line type of the cut part of the panels on the floor plan
# (API_CurtainWallType::panelCutLineType). Omitted when not set.
panelCutLineTypeId: AttributeId | None = None
# The frames use the attributes of their frame types instead of
# frameCutLinePen/frameCutLineTypeId.
useFrameTypesAttributes: bool
# The panels use the attributes of their panel types instead of
# panelCutLinePen/panelCutLineTypeId.
usePanelTypesAttributes: bool
# The pen index of the curtain wall (API_CurtainWallType::pen).
pen: int
# Pen index of the curtain wall's view below the cut plane on the floor plan,
# the uncut lines (API_CurtainWallType::uncutLinePen).
belowViewLinePen: int
# Line type of the curtain wall's view below the cut plane on the floor plan,
# the uncut lines (API_CurtainWallType::uncutLineType). Omitted when not set.
belowViewLineTypeId: AttributeId | None = None
# Pen index of the curtain wall's view above the cut plane on the floor plan,
# the overhead lines (API_CurtainWallType::overheadLinePen).
aboveViewLinePen: int
# Line type of the curtain wall's view above the cut plane on the floor plan,
# the overhead lines (API_CurtainWallType::overheadLineType). Omitted when not
# set.
aboveViewLineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
CurtainWallFrameContourUpdate ¶
The contour of the frame, as GetDetailsOfElements returns it. Only the given keys are changed.
# Contour width inside.
a1: float | None = None
# Contour width outside.
a2: float | None = None
# Contour length inside.
b1: float | None = None
# Contour length outside.
b2: float | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallFrameDetails ¶
# The absolute level of the curtain wall's home story: the z the other z
# values of this item are measured from. Add it to them for absolute
# coordinates.
homeStoryLevel: float | None = None
# The start of the frame. Its z is measured from the curtain wall's home story
# (see homeStoryLevel), not from project zero.
begCoordinate: Coordinate3D
# The end of the frame. Its z is measured from the curtain wall's home story
# (see homeStoryLevel), not from project zero.
endCoordinate: Coordinate3D
orientationVector: Coordinate3D
# The parameters of the panel connection hole.
panelConnectionHole: PanelConnectionHole
# The parameters of the frame contour.
frameContour: FrameContour
# The index of the curtain wall segment to which this frame belongs.
segmentIndex: float
className: str
# The class of the frame. ModifyCurtainWallFrames takes it as classIndex, and
# its own type is objectType.
type: CurtainWallFrameType
# The frame class (API_CWFrameType::classID) as ModifyCurtainWallFrames takes
# it: 0 to 3 for the built-in classes (0 Deleted, 1 Division, 2 Corner, 3
# Boundary), 4 and up for the frame classes of the curtain wall, -1 for a
# customized frame.
classIndex: int
# The object type of the frame, as ModifyCurtainWallFrames takes it in type.
objectType: CurtainWallFrameObjectType
Import from multiconn_archicad.models.tapir.types.
CurtainWallFrameObjectType ¶
The object type of a curtain wall frame (API_CWFrameType::objectType, API_CWFrameObjectTypeID): how the frame is drawn.
INVISIBLE = 'Invisible'
GDL = 'GDL'
INVISIBLE_CONNECTED_TURNING = 'InvisibleConnectedTurning'
INVISIBLE_CONNECTED_STILL = 'InvisibleConnectedStill'
Import from multiconn_archicad.models.tapir.types.
CurtainWallFrameType ¶
The class of a curtain wall frame (API_CWFrameType::classID): Deleted, Division, Corner, Boundary, or Custom for a frame class of the curtain wall or a customized frame. Not the object type that ModifyCurtainWallFrames takes as type: that one is CurtainWallFrameObjectType.
DELETED = 'Deleted'
DIVISION = 'Division'
CORNER = 'Corner'
BOUNDARY = 'Boundary'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
CurtainWallFrameWithDetails ¶
frameId: ElementId
frameContour: CurtainWallFrameContourUpdate | None = None
# The frame class (classID) of the frame: 0 to 3 for the built-in classes, 4
# and up for the frame classes of the owner curtain wall.
classIndex: int | None = None
# The object type of the frame (API_CWFrameObjectTypeID), which
# GetDetailsOfElements reads as objectType. Not the frame class that
# GetDetailsOfElements reads as type: that one is classIndex here.
type: CurtainWallFrameObjectType | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallJunctionCategory ¶
Whether the junction is a system junction or a custom one (API_CWJunctionType::category).
SYSTEM = 'System'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
CurtainWallJunctionDetails ¶
A junction of a curtain wall: a GDL object Archicad places where frames and panels meet (API_CWJunctionType). Its parameters are read by GetGDLParametersOfElements and its library part by the libraryPartUnId field.
category: CurtainWallJunctionCategory
# Whether the junction is flipped.
flipped: bool
# The number of frames the junction clamps
# (API_CWJunctionType::clampFramesNum).
clampingFrameCount: int
# The number of panels the junction clamps
# (API_CWJunctionType::clampPanelsNum).
clampingPanelCount: int
# The curtain wall the junction belongs to.
curtainWallId: ElementId
Import from multiconn_archicad.models.tapir.types.
CurtainWallPanelDetails ¶
# The absolute level of the curtain wall's home story: the z the other z
# values of this item are measured from. Add it to them for absolute
# coordinates.
homeStoryLevel: float | None = None
# The 3D coordinates of the panel polygon. Their z is measured from the
# curtain wall's home story (see homeStoryLevel), not from project zero.
polygonCoordinates: list[Coordinate3D]
# Indicates if the panel is hidden (deleted panels remain in the database).
isHidden: bool
# Indicates if the panel is degenerate. Omitted when Archicad cannot tell.
isDegenerate: bool | None = None
# The index of the curtain wall segment to which this panel belongs.
segmentIndex: float
className: str
# The panel class of the panel, numbered as in the cells of CreateCurtainWalls
# and in ModifyCurtainWallPanels: 0 is a deleted panel, 1 the first panel
# class of the curtain wall, 2 the second and so on. -1 is a panel whose
# settings were customized apart from its class.
classIndex: int | None = None
# The surrounding frames.
frames: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
CurtainWallPanelWithDetails ¶
panelId: ElementId
# The panel class to assign, numbered as Archicad numbers them (as in the
# cells of CreateCurtainWalls): 1 is the first panel class of the owner
# curtain wall (as listed in its Curtain Wall Settings), 2 the second and so
# on. The panel takes the settings of the class: its thickness, surfaces,
# building material, cut line and panel type (generic or GDL object).
# GetDetailsOfElements returns the classIndex and className of a panel.
classIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallPattern ¶
The column (primary) or row (secondary) pattern of a curtain wall segment: the sizes of the columns/rows of one pattern unit and how the unit is repeated along the segment.
# The sizes (widths of the columns or heights of the rows) of the pattern unit
# in meters, in order from the start of the segment or from the bottom. The
# unit is repeated to fill the segment.
sizes: list[CurtainWallPatternSize]
logic: CurtainWallPatternLogic | None = None
origin: CurtainWallPatternOrigin | None = None
# Zero-based indices of the columns/rows of the pattern unit that
# 'BestDivision' may stretch. When omitted, all of them are flexible. Ignored
# by 'FixedSizes'.
flexibleIndices: list[CurtainWallFlexibleIndex] | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallPatternCell ¶
The panel and frame classes of one cell of the pattern unit of a curtain wall segment. Panel classes are numbered as Archicad numbers them: 0 is no panel (the cell is left empty), 1 is the first panel class of the curtain wall (as listed in the Curtain Wall Settings, from the favorite or the tool defaults), 2 the second and so on. Frame classes: 0 is no frame (the cell is merged with its neighbour), 1 the Division frame, 2 the Corner frame, 3 the Boundary frame, 4 the first custom frame class of the curtain wall, 5 the second and so on. Fields not given keep the default assignment of the cell.
# Zero-based column of the cell within the pattern unit, counted from the
# start of the segment.
columnIndex: int
# Zero-based row of the cell within the pattern unit, counted from the bottom.
rowIndex: int
# The panel class of the cell. 0 leaves the cell without a panel (Archicad
# keeps a hidden 'deleted panel' subelement there). With a crossing frame it
# is the class of the left (or lower) half; see rightPanelClassIndex for the
# other half.
panelClassIndex: int | None = None
# The panel class of the right (or upper) half of a cell with a crossing
# frame. Defaults to panelClassIndex.
rightPanelClassIndex: int | None = None
# The frame class of the frame on the left edge of the cell (the grid line at
# the start of the column).
leftFrameClassIndex: int | None = None
# The frame class of the frame on the bottom edge of the cell (the grid line
# at the bottom of the row).
bottomFrameClassIndex: int | None = None
crossingFrameType: CurtainWallCrossingFrameType | None = None
# The frame class of the diagonal frame of the cell. Only used when
# crossingFrameType is not 'None'.
crossingFrameClassIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallPatternLogic ¶
How the pattern unit fills the segment: 'FixedSizes' keeps the given sizes and repeats the unit, which may leave a partial unit at the end (Archicad: Fixed Size); 'BestDivision' stretches the flexible columns/rows so that whole units fill the segment with the least stretching (Archicad: Best Division).
FIXED_SIZES = 'FixedSizes'
BEST_DIVISION = 'BestDivision'
Import from multiconn_archicad.models.tapir.types.
CurtainWallPatternOrigin ¶
Where the pattern unit is anchored on the segment: at its start, centered with a unit starting at the center, centered with a unit centered on the center, or at its end.
START_WITH_PATTERN = 'StartWithPattern'
START_FROM_CENTER = 'StartFromCenter'
ALIGN_TO_CENTER = 'AlignToCenter'
END_WITH_PATTERN = 'EndWithPattern'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
CurtainWallRecreationData ¶
# The curtain wall to recreate.
elementId: ElementId
# Optional new reference line on the floor plan, as CreateCurtainWalls takes
# it: one segment per pair of consecutive points, so more or fewer points than
# the old curtain wall has add or remove segments. A slanted curtain wall
# needs exactly 2 points. When omitted, the old curtain wall's reference line
# is kept, the points GetDetailsOfElements returns as its referenceLine.
coordinates: list[Coordinate2D] | None = None
# Optional new height, as CreateCurtainWalls takes it: the vertical height,
# also of a slanted curtain wall. When omitted, the old curtain wall's height
# is kept. Archicad does not apply a new height to a slanted curtain wall
# through ACAPI_Element_Change (seen in Archicad 29), so it is given here.
height: float | None = None
# Optional new slant angle in degrees, as CreateCurtainWalls takes it and
# GetDetailsOfElements returns it: 90 is vertical, less than 90 leans to the
# left of the reference line (seen from its first point), more than 90 to the
# right. The vertical height and the elevation of the reference line are kept.
# A slanted curtain wall needs a reference line of exactly 2 points. When
# omitted, the old curtain wall's slant is kept. Archicad does not change the
# slant of an existing curtain wall through ACAPI_Element_Change, so it is
# given here.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallSegmentDetails ¶
# The start of the segment's reference line. Its z is measured from the
# curtain wall's home story (see homeStoryLevel), not from project zero.
begCoordinate: Coordinate3D
# The end of the segment's reference line. Its z is measured from the curtain
# wall's home story (see homeStoryLevel), not from project zero.
endCoordinate: Coordinate3D
extrusionVector: Coordinate3D
# The origin of the segment's grid. Its z is measured from the curtain wall's
# home story (see homeStoryLevel), not from project zero.
gridOrigin: Coordinate3D
# The angle of the grid in radians.
gridAngle: float
# The absolute level of the curtain wall's home story: the z the other z
# values of this item are measured from. Add it to them for absolute
# coordinates.
homeStoryLevel: float | None = None
arcOrigin: Coordinate3D | None = None
# Indicates if the arc is negative.
isNegativeArc: bool | None = None
Import from multiconn_archicad.models.tapir.types.
CurtainWallWithDetails ¶
elementId: ElementId
# The new 2D coordinates of the reference line of the curtain wall on the
# floor plan. Each pair of consecutive coordinates is one straight segment, so
# the number of coordinates must be the current number of segments plus one:
# the segments can be moved and resized, but not added or removed (a curved
# segment becomes straight). Only for a vertical curtain wall (angle 90): on a
# slanted or horizontal one the item fails and nothing is changed, because
# Archicad takes its reference line in the plane of the curtain wall; use
# RecreateCurtainWalls for a slanted one.
coordinates: list[Coordinate2D] | None = None
# The new Z coordinate (absolute elevation) of the bottom of the curtain wall.
# The home story is derived from it unless floorIndex is given too. Only for a
# vertical curtain wall (angle 90): on a slanted or horizontal one Archicad
# moves the plane by the base offset along the plane itself, so the item fails
# and nothing is changed; give a slanted one a new elevation with
# CreateCurtainWalls and it as templateElementId.
zCoordinate: float | None = None
# The new home story index. On its own it moves the curtain wall to that
# story, keeping its bottom offset from the story; with zCoordinate it pins
# the story the bottom elevation is measured from.
floorIndex: int | None = None
# The new height of the curtain wall. It is applied before the other fields
# and read back. When Archicad ignores it (Archicad 29 does), the top edges of
# the contours of the segments are moved to the new height instead. When
# neither applies it, the item fails and no other field is changed. Only for a
# vertical curtain wall (angle 90): on a slanted or horizontal one the item
# fails and nothing is changed; use RecreateCurtainWalls for a slanted one.
height: float | None = None
# The new side of the reference line the curtain wall is on
# (API_CurtainWallType::flipped, the flipped value GetDetailsOfElements
# returns). Changing it mirrors the curtain wall to the other side of its
# reference line; the reference line itself stays where it is.
flipped: bool | None = None
# The new offset of the panels from the reference line
# (API_CurtainWallType::offset, the offset value GetDetailsOfElements
# returns), e.g. 0.1 for 10 cm.
offset: float | None = None
# The new nominal width (thickness) of the curtain wall
# (API_CurtainWallType::nominalWidth, the nominalWidth value
# GetDetailsOfElements returns).
nominalWidth: float | None = None
# The new column pattern: the sizes of the columns along the segments (the
# primary grid). Applied to every segment of the curtain wall; the frames and
# panels are regenerated from it.
primaryPattern: CurtainWallPattern | None = None
# The new row pattern: the sizes of the rows from the bottom up (the secondary
# grid). Applied to every segment of the curtain wall; the frames and panels
# are regenerated from it.
secondaryPattern: CurtainWallPattern | None = None
# Assignment of panel and frame classes to the cells of the pattern unit of
# every segment, as in CreateCurtainWalls. Without a pattern change, a cell
# not listed here keeps its current assignment; with one, it takes the
# assignment of the first current cell.
cells: list[CurtainWallPatternCell] | None = None
# The stories the curtain wall is shown on (API_CurtainWallType::visibility),
# as GetDetailsOfElements returns it; for example only showOnHome true shows
# it on its home story only. Archicad only keeps it while
# isAutoOnStoryVisibility is false, so setting it without
# isAutoOnStoryVisibility also turns that off. The fields not given are false
# or 0. Confirmed live on Archicad 26 and 28 (#2529): showRelAbove 1 on a
# curtain wall in an empty project read back as 0, and the command then fails
# and names the visibility Archicad kept.
visibility: StoryVisibility | None = None
# When true, Archicad recomputes 'visibility' automatically from the vertical
# extent of the curtain wall and ignores a visibility given together with it.
isAutoOnStoryVisibility: bool | None = None
# The floor plan display of the curtain wall
# (API_CurtainWallType::displayOption).
displayOption: DisplayOption | None = None
# How far the curtain wall is shown on the floor plan
# (API_CurtainWallType::viewDepthLimitation).
viewDepthLimitation: ViewDepthLimitation | None = None
# Projection mode of the cut part of the curtain wall on the floor plan
# (API_CurtainWallType::cutProjectionMode).
cutProjectionMode: ElemProjectionMode | None = None
# Projection mode of the uncut part (below the cut plane) of the curtain wall
# on the floor plan (API_CurtainWallType::uncutProjectionMode).
uncutProjectionMode: ElemProjectionMode | None = None
# Projection mode of the overhead part (above the cut plane) of the curtain
# wall on the floor plan (API_CurtainWallType::overheadProjectionMode).
overheadProjectionMode: ElemProjectionMode | None = None
# The pen index of the curtain wall (API_CurtainWallType::pen).
pen: int | None = None
# Pen index of the cut part of the frames on the floor plan
# (API_CurtainWallType::frameCutLinePen). The frames only use it while
# useFrameTypesAttributes is false.
frameCutLinePen: int | None = None
# Line type of the cut part of the frames on the floor plan
# (API_CurtainWallType::frameCutLineType). The frames only use it while
# useFrameTypesAttributes is false.
frameCutLineTypeId: AttributeId | None = None
# Pen index of the cut part of the panels on the floor plan
# (API_CurtainWallType::panelCutLinePen). The panels only use it while
# usePanelTypesAttributes is false.
panelCutLinePen: int | None = None
# Line type of the cut part of the panels on the floor plan
# (API_CurtainWallType::panelCutLineType). The panels only use it while
# usePanelTypesAttributes is false.
panelCutLineTypeId: AttributeId | None = None
# True makes the frames use the attributes of their frame types instead of
# frameCutLinePen and frameCutLineTypeId. Confirmed live on Archicad 26 and 28
# (#2529): false written on a new curtain wall read back as true, and the
# command then fails with useFrameTypesAttributes not applied.
useFrameTypesAttributes: bool | None = None
# True makes the panels use the attributes of their panel types instead of
# panelCutLinePen and panelCutLineTypeId.
usePanelTypesAttributes: bool | None = None
# Pen index of the uncut lines, the curtain wall's view below the cut plane on
# the floor plan (API_CurtainWallType::uncutLinePen).
belowViewLinePen: int | None = None
# Line type of the uncut lines, the curtain wall's view below the cut plane on
# the floor plan (API_CurtainWallType::uncutLineType).
belowViewLineTypeId: AttributeId | None = None
# Pen index of the overhead lines, the curtain wall's view above the cut plane
# on the floor plan (API_CurtainWallType::overheadLinePen).
aboveViewLinePen: int | None = None
# Line type of the overhead lines, the curtain wall's view above the cut plane
# on the floor plan (API_CurtainWallType::overheadLineType), for example a
# dashed one.
aboveViewLineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
CurveApproximation ¶
How the Magic Wand approximates curves with straight segments: a fixed number of segments along arcs or along full circles (segmentCount), segments that deviate from the curve by at most maxDeviation, or segments of segmentLength. Unknown for a mode this version of Tapir does not know.
SEGMENTS_ALONG_ARCS = 'SegmentsAlongArcs'
SEGMENTS_ALONG_CIRCLES = 'SegmentsAlongCircles'
DEVIATION_FROM_CURVES = 'DeviationFromCurves'
SEGMENT_LENGTH = 'SegmentLength'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
CustomSchemeItem ¶
customSchemeKey: str
customSchemeName: str
Import from multiconn_archicad.models.tapir.types.
CutFillOrientation ¶
PROJECT_ORIGIN = 'ProjectOrigin'
ELEMENT_ORIGIN = 'ElementOrigin'
FIT_TO_SKIN = 'FitToSkin'
Import from multiconn_archicad.models.tapir.types.
CutPlane ¶
A 3D cut plane: the points where pax + pby + pc*z = pd. The side its normal vector (pa, pb, pc) points to is cut away.
# Coefficient of x in the plane equation. The x coordinate of the normal
# vector of the plane.
pa: float
# Coefficient of y in the plane equation. The y coordinate of the normal
# vector of the plane.
pb: float
# Coefficient of z in the plane equation. The z coordinate of the normal
# vector of the plane.
pc: float
# The right-hand side of the plane equation, in meters: with a unit normal
# vector, the distance of the plane from the origin along the normal vector. A
# plane at y = 2 cutting away y > 2 is pa 0, pb 1, pc 0, pd 2.
pd: float
# The pen of the edges cut by this plane, from 1 to 255. Get3DCutPlanes leaves
# it out when the plane has no valid pen (pen 0, set by earlier versions of
# Set3DCutPlanes).
cutPen: int | None = None
# The surface the 3D window draws the faces cut by this plane with.
# Get3DCutPlanes leaves it out when the plane has no surface attribute
# (surface 0 draws them black).
cutSurfaceId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
CutPolygon ¶
A polygon produced by intersecting a body with a cutting plane.
polygonOutline: list[Coordinate2D]
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D]
Import from multiconn_archicad.models.tapir.types.
CutSetting ¶
The 3D cut of the 3D Document (API_3DCutPlanesInfo). The cut planes themselves are not included.
isCutPlanes: bool | None = None
useCustom: bool | None = None
customPen: int | None = None
# The surface of the cut. Missing when there is none.
customMater: AttributeIdArrayItem | None = None
D¶
Import from multiconn_archicad.models.tapir.types.
DatabaseById ¶
Requires databaseId.
windowType: WindowType | None = None
# Story index to activate. Only valid when windowType is 'FloorPlan'. As
# returned by GetStories.
storyIndex: int | None = None
# The database to activate. When windowType is omitted, the window type is
# taken from the database; when both are given, they must match.
databaseId: DatabaseId
Import from multiconn_archicad.models.tapir.types.
DatabaseByWindowType ¶
Requires windowType.
# The database to activate. When windowType is omitted, the window type is
# taken from the database; when both are given, they must match.
databaseId: DatabaseId | None = None
# Story index to activate. Only valid when windowType is 'FloorPlan'. As
# returned by GetStories.
storyIndex: int | None = None
windowType: WindowType
Import from multiconn_archicad.models.tapir.types.
DatabaseDetails ¶
# The type of the database.
type: str
databaseId: DatabaseId
# The name of the database. Missing when the database info cannot be read.
name: str | None = None
# The reference id of the database. Missing when the database info cannot be
# read.
referenceId: str | None = None
Import from multiconn_archicad.models.tapir.types.
DatabaseId ¶
The identifier of a database
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
DatabaseIdAndWindowType ¶
Selects a database by window type; a database ID may also be supplied.
windowType: WindowType | None = None
# The database to activate. When windowType is omitted, the window type is
# taken from the database; when both are given, they must match.
databaseId: DatabaseId | None = None
# Story index to activate. Only valid when windowType is 'FloorPlan'. As
# returned by GetStories.
storyIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
DatabaseIdArrayItem ¶
databaseId: DatabaseId
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
DatabaseType ¶
SECTION = 'Section'
ELEVATION = 'Elevation'
INTERIOR_ELEVATION = 'InteriorElevation'
DETAIL = 'Detail'
WORKSHEET = 'Worksheet'
DOCUMENT_FROM3_D = 'DocumentFrom3D'
LAYOUT = 'Layout'
MASTER_LAYOUT = 'MasterLayout'
Import from multiconn_archicad.models.tapir.types.
DataSafetyPreferences ¶
The Data Safety page. Read only: Archicad does not let add-ons change it, so SetProjectPreferences has no dataSafety page.
# The path of the folder Archicad keeps its temporary files in; empty when
# Archicad gives none.
temporaryFolder: str
Import from multiconn_archicad.models.tapir.commands.
DeactivateDesignOptionsInCombinationsParameters ¶
deactivatedDesignOptionsInCombinations: list[DesignOptionDeactivation]
Import from multiconn_archicad.models.tapir.commands.
DeactivateDesignOptionsInCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
DefaultCategoryValue ¶
type: ElementCategoryType
categoryId: ElementCategoryId
# Left out when the default has no value in this category.
categoryValueId: ElementCategoryValueId | None = None
# The localized name of the value, for display only. Left out when the default
# has no value in this category.
name: str | None = None
Import from multiconn_archicad.models.tapir.types.
DefaultCategoryValueData ¶
type: ElementCategoryType
# A value of the category given by type, as GetElementCategories lists them.
categoryValueId: ElementCategoryValueId
Import from multiconn_archicad.models.tapir.types.
DefaultCategoryValues ¶
categoryValues: list[DefaultCategoryValue]
Import from multiconn_archicad.models.tapir.types.
DefaultPropertyAvailability ¶
# Whether the property is available for the tool default of the element type.
available: bool
# Whether the property is visible for the tool default of the element type.
visible: bool
Import from multiconn_archicad.models.tapir.types.
Defaults ¶
Optional changes to the settings of the Take-Off tool before the take-off is placed. Only what is placed changes, not the tool's settings. A value that cannot be set gives an error for the item, and nothing is placed. The insulation thickness of a take-off cannot be set (Archicad stops with a fatal error).
# If true, the take-off is placed without insulation.
removeInsulation: bool | None = None
Import from multiconn_archicad.models.tapir.types.
DefaultWitnessForm ¶
Optional witness line form, as in the Dimension Settings, applied to every witness point.
NONE = 'None'
SMALL = 'Small'
LARGE = 'Large'
FIX = 'Fix'
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadCasesParameters ¶
# The load cases to delete.
loadCaseIds: list[AnalyticalLoadCaseIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadCasesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadCombinationsParameters ¶
# The load combinations to delete.
loadCombinationIds: list[AnalyticalLoadCombinationIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadGroupsParameters ¶
# The load groups to delete.
loadGroupIds: list[AnalyticalLoadGroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteAnalyticalLoadGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
DeleteAndReplaceAttributeData ¶
An attribute to delete and its replacement.
# The attribute to delete.
attributeId: AttributeId
# The attribute of the same type that replaces it wherever it is used. It must
# be another attribute than the one to delete.
replacementAttributeId: AttributeId
Import from multiconn_archicad.models.tapir.commands.
DeleteAndReplaceAttributesParameters ¶
attributeType: ReplaceableAttributeType
# The attributes to delete, each with the attribute that takes its place,
# handled in the given order.
attributes: list[DeleteAndReplaceAttributeData]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteAndReplaceAttributesResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One item per requested attribute, in the same order.
attributes: list[AttributeReplacementResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteAttributeFoldersParameters ¶
# A list of attribute folders.
attributeFolders: list[AttributeFolder]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteAttributeFoldersResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input folder, in the order of the input. On a dry run a
# folder that is not the root folder and exists gets wouldDelete; Archicad can
# still refuse to delete a folder that passes these checks.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteAttributesParameters ¶
# Array of attributes to delete.
attributesToDelete: list[AttributesToDeleteItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteAttributesResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input attribute, in the order of the input. On a dry run
# an attribute that passes the checks made before deleting (valid
# attributeType, attribute found) gets wouldDelete; Archicad can still refuse
# to delete an attribute that passes them.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteClassificationItemsParameters ¶
# A list of classification item identifiers.
classificationItemIds: list[ClassificationItemIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteClassificationItemsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input classification item, in the order of the input. On
# a dry run a classification item that exists gets wouldDelete; Archicad can
# still refuse to delete one that exists.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteClassificationSystemsParameters ¶
# A list of classification system identifiers.
classificationSystemIds: list[ClassificationSystemIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteClassificationSystemsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input classification system, in the order of the input.
# On a dry run a classification system that exists gets wouldDelete; Archicad
# can still refuse to delete one that exists.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionCombinationsParameters ¶
# The design option combinations to delete.
designOptionCombinations: list[DesignOptionCombinationIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionSetsParameters ¶
# The design option sets to delete.
designOptionSets: list[DesignOptionSetIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionSetsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionsParameters ¶
# The design options to delete.
designOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteDesignOptionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteElectricalCircuitsParameters ¶
# The circuits to remove from their panels.
electricalCircuits: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteElectricalCircuitsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteElementSetsParameters ¶
# The element sets to delete, as returned by CreateElementSets or
# GetElementSetsOfElements. Only element sets created by the Tapir Add-On can
# be deleted. The elements of a deleted set are not deleted.
elementSets: list[ElementSetIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteElementSetsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input element set, in the order of the input. On a dry
# run an element set that exists and was created by the Tapir Add-On gets
# wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteElementsParameters ¶
# The elements to delete, of any database (the floor plan, a section, a
# worksheet, a layout, ...): each is deleted in the database that contains it,
# whichever window is the current one, and the current window stays. The zones
# among them are deleted before all the others, so an automatic zone deleted
# together with its bounding elements is gone before its boundary is. Deleting
# the boundary of an automatic zone without the zone itself can open
# Archicad's modal 'No closed polygon found around the clicked point' dialog,
# which blocks the command until someone clicks it in Archicad.
elements: list[ElementIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input element, in the order of the input. On a dry run
# an element that passes every check made before deleting (it exists, its
# layer is not locked, it is editable) gets wouldDelete; Archicad can still
# refuse an element that passes them.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteEmbeddedLibraryItemsParameters ¶
# A list of embedded library items to delete.
embeddedLibraryItems: list[EmbeddedLibraryItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteEmbeddedLibraryItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoriteFolderParameters ¶
# The path of the folder to delete, in the format GetFavoriteFolders returns:
# the folder names from the root down. The root folder cannot be deleted.
path: list[str]
# Archicad deletes a folder together with everything in it: its Favorites and
# its subfolders with their Favorites. A folder that is not empty is deleted
# only if this is true. Default: false.
recursive: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoriteFolderResult ¶
deletedFolder: FavoriteFolderDetails
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoritesParameters ¶
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoritesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoritesWithManagerParameters ¶
# The Favorites to delete.
favorites: list[FavoriteNameAndFolder]
Import from multiconn_archicad.models.tapir.commands.
DeleteFavoritesWithManagerResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteGhostRecordsParameters ¶
# The parent databases whose trace (ghost) record is deleted, as returned by
# GetDatabaseIdFromNavigatorItemId or GetContainingDatabases.
databases: list[DatabaseIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteGhostRecordsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideCombinationsParameters ¶
# The graphic override combinations to delete. Their rules are kept.
graphicOverrideCombinationIds: list[GraphicOverrideCombinationIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideRuleGroupsParameters ¶
# The names of the rule groups to delete.
ruleGroupNames: list[str]
# The name of the rule group the rules of the deleted groups are moved to, so
# they are kept. Created when no rule group has this name.
moveRulesToGroup: str | None = None
# Delete the rules of the deleted groups too. Without this or
# moveRulesToGroup, a group that still contains rules is not deleted.
deleteRules: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideRuleGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideRulesParameters ¶
# The graphic override rules to delete.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteGraphicOverrideRulesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteHotlinkNodesParameters ¶
# The hotlink nodes to delete, from GetHotlinks or CreateHotlinkNodes. Each
# node is removed together with its placed instances and their elements, as
# the Hotlink Manager's Delete does; use BreakHotlinkNodes instead to keep the
# elements. In Teamwork the Hotlink and XRef management has to be reserved
# first (ReserveHotlinkCacheManagement).
hotlinkNodes: list[HotlinkNodeReference]
Import from multiconn_archicad.models.tapir.commands.
DeleteHotlinkNodesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteIssueParameters ¶
issueId: IssueId
# Accept all creation/deletion/modification of the deleted issue. By default
# false.
acceptAllElements: bool | None = None
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteIssueResult ¶
The result of the execution: success, with error when it failed. A dry run also answers dryRun, and wouldDelete when the issue exists.
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
success: bool
error: Error | None = None
wouldDelete: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteKeynoteFoldersParameters ¶
# The keynote folders to delete.
keynoteFolderIds: list[KeynoteFolderIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteKeynoteFoldersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteKeynoteItemsParameters ¶
# The keynote items to delete.
keynoteItemIds: list[KeynoteItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteKeynoteItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteMEPPhysicalSystemsParameters ¶
# The physical systems to remove from their system groups. Their member
# elements are not deleted.
physicalSystems: list[MEPPhysicalSystemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteMEPPhysicalSystemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteMEPPreferenceTableRowsParameters ¶
# The guid of a preference table, as returned by GetMEPPreferenceTables (the
# branch, elbow and transition tables with includeFittingTables): a pipe or
# circular duct segment table, a branch or elbow table of the Piping or
# Ventilation domain, or, from Archicad 29, a transition table. Rectangular
# duct and cable carrier segment tables are found too, but their rows have no
# key. Archicad 27: any preference table, as returned by
# GetMEPPreferenceTableContainers.
tableId: MEPPreferenceTableId
# The keys of the rows to delete. Segment tables, and the elbow tables of
# Archicad 28, have a row for each reference id, which is emptied instead.
# Archicad 27: the indices are those before the call; the rows are deleted
# from the highest index down.
keys: list[MEPPreferenceRowKey]
Import from multiconn_archicad.models.tapir.commands.
DeleteMEPPreferenceTableRowsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteModulDataParameters ¶
# The names of the module data to delete; the empty name is the default
# section.
names: list[str]
Import from multiconn_archicad.models.tapir.commands.
DeleteModulDataResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteNavigatorItemsParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem]
# If true, nothing is deleted: each execution result says what the deletion
# would do for that item, from the checks made before deleting (corrupt id,
# item not found, layout subset, View Map folder that is not empty). Archicad
# can still refuse an item that passes them: a Project Map item other than an
# independent worksheet, detail or viewpoint created by the Tapir Add-On, a
# marker-linked worksheet or detail, or in a Teamwork project an item that is
# not reserved. Default is false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteNavigatorItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectDataParameters ¶
# The names of the project data to delete.
names: list[ProjectDataName]
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectDataResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectInfoFieldsParameters ¶
# List of project info field ids (autotext keys, as GetProjectInfoFields
# returns them) to delete. Only custom fields can be deleted. On Archicad 30 a
# key is matched to the field by its name, so it fails when more than one
# field has the name; delete such a field by its projectInfoFieldId instead.
projectInfoIds: list[str] | None = None
# List of fields of the Project Info groups to delete, by the ids
# GetProjectInfoGroups returns. Available from Archicad 30. Their results
# follow the results of projectInfoIds.
projectInfoFieldIds: list[ProjectInfoFieldIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectInfoFieldsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectInfoGroupsParameters ¶
# The Project Info groups to delete. A group that contains fixed (built-in)
# fields cannot be deleted.
projectInfoGroups: list[ProjectInfoGroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DeleteProjectInfoGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeletePropertyDefinitionsParameters ¶
# The identifiers of properties to delete.
propertyIds: list[PropertyIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeletePropertyDefinitionsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input property, in the order of the input. On a dry run
# a property that exists gets wouldDelete; Archicad can still refuse to delete
# one that exists (for example a built-in property).
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeletePropertyGroupsParameters ¶
# The identifiers of property groups to delete.
propertyGroupIds: list[PropertyGroupIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeletePropertyGroupsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input property group, in the order of the input. On a
# dry run a property group that exists gets wouldDelete; Archicad can still
# refuse to delete one that exists (for example a built-in group).
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteSelectedElementsParameters ¶
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteSelectedElementsResult ¶
The result of the execution. A real run answers success, with error when it failed; a dry run also answers dryRun, and the elements it would delete.
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
success: bool
error: Error | None = None
# Only on a dry run that passed the checks: true when at least one element is
# selected.
wouldDelete: bool | None = None
# Only on a dry run: the selected elements (for a marquee, the ones it
# touches). A real run deletes them, together with the other members of their
# groups when Suspend Groups is off and the elements linked to them (labels,
# dimensions, ...).
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteStoryParameters ¶
# The index of the story to delete (see GetStories).
storyIndex: int
# Archicad deletes every element whose home story is the deleted story.
# Without true here, a story that is the home story of any element is not
# deleted, and the response says how many elements it has. Default is false.
deleteElements: bool | None = None
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteStoryResult ¶
# Whether the story was deleted, or on a dry run, whether a real run would
# delete it.
success: bool
error: Error | None = None
# Present, and true, on a dry run that a real run would delete the story.
wouldDelete: Literal[True] | None = None
# The number of elements whose home story is the story (in the floor plan
# database): the elements deleted with it, or that kept it from being deleted.
# Absent when the story was not found.
elementCount: int | None = None
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteUserDataOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteUserDataOfAttributesResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result per attribute, in the input order. On a dry run an attribute that
# exists gets wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
DeleteUserDataOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
DeleteUserDataOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result per element, aligned with the input. On a dry run an element that
# exists gets wouldDelete; Archicad can still refuse to delete its user data.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
DeletionExecutionResult ¶
DeletionExecutionResult: TypeAlias = (
SuccessfulExecutionResult
| WouldDeleteExecutionResult
| FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
DeselectAllResult ¶
DeselectAllResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
DesignOptionActivation ¶
designOptionCombinationId: DesignOptionCombinationId
designOptionId: DesignOptionId
Import from multiconn_archicad.models.tapir.types.
DesignOptionAndSetPair ¶
# The identifier of the design option to move.
designOptionId: DesignOptionId
setName: str
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationData ¶
# The name of the design option combination.
name: str
# The list of active design options in the combination.
activeDesignOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationDetails ¶
# The guid identifier of the design option combination.
designOptionCombinationId: GuidId
# The name of the design option combination.
name: str
# The list of active design options in the combination. Available from
# Archicad 29.
activeDesignOptions: list[DesignOptionIdArrayItem] | None = None
# Whether the design option combination can be renamed, deleted or changed now
# (for example it is not reserved by someone else in Teamwork). Available from
# Archicad 29.
isEditable: bool | None = None
# The reason why the design option combination is not editable. Only present
# when isEditable is false.
notEditableError: Error | None = None
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationId ¶
The identifier of a design option combination.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationIdArrayItem ¶
designOptionCombinationId: DesignOptionCombinationId
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationIdOrError ¶
DesignOptionCombinationIdOrError: TypeAlias = (
DesignOptionCombinationIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
DesignOptionCombinationRename ¶
designOptionCombinationId: DesignOptionCombinationId
# The new name of the design option combination.
name: str
Import from multiconn_archicad.models.tapir.types.
DesignOptionData ¶
# The name of the design option.
name: str
# The string id of the design option.
id: str
# The name of the owner design option set.
ownerSetName: str
Import from multiconn_archicad.models.tapir.types.
DesignOptionDeactivation ¶
designOptionCombinationId: DesignOptionCombinationId
# The design options to turn off in the combination. The other options of the
# combination are left as they are.
designOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
DesignOptionDetails ¶
designOptionId: DesignOptionId
# The name of the design option.
name: str
# The string id of the design option.
id: str
# The name of the owner design option set.
ownerSetName: str
# Whether the design option can be renamed, deleted or changed now (for
# example it is not reserved by someone else in Teamwork). Returned by
# GetDesignOptions.
isEditable: bool | None = None
# The reason why the design option is not editable. Only present when
# isEditable is false.
notEditableError: Error | None = None
Import from multiconn_archicad.models.tapir.types.
DesignOptionForElement ¶
elementId: ElementId
type: DesignOptionLinkType
designOption: DesignOptionDetails | None = None
Import from multiconn_archicad.models.tapir.types.
DesignOptionId ¶
The identifier of a design option.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
DesignOptionIdArrayItem ¶
designOptionId: DesignOptionId
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
DesignOptionLinkType ¶
The type of the associated design option.
NOT_EXISTING_ELEMENT = 'NotExistingElement'
MISSING_DESIGN_OPTION = 'MissingDesignOption'
NOT_LINKED_TO_ANY_DESIGN_OPTION = 'NotLinkedToAnyDesignOption'
LINKED_TO_DESIGN_OPTION = 'LinkedToDesignOption'
Import from multiconn_archicad.models.tapir.types.
DesignOptionMove ¶
# The design option to move within its set.
designOptionId: DesignOptionId
# The design option of the same set to move it before. When it is not given,
# the design option is moved to the end of its set.
beforeDesignOptionId: DesignOptionId | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
DesignOptionRename ¶
designOptionId: DesignOptionId
# The new name of the design option. The name is kept when it is not given.
name: str | None = None
# The new string id of the design option. The id is kept when it is not given.
id: str | None = None
Import from multiconn_archicad.models.tapir.types.
DesignOptionSet ¶
# The guid identifier of the design option set.
designOptionSetId: GuidId
# The name of the design option set.
name: str
# Whether the design option set can be renamed, deleted or changed now (for
# example it is not reserved by someone else in Teamwork).
isEditable: bool | None = None
# The reason why the design option set is not editable. Only present when
# isEditable is false.
notEditableError: Error | None = None
# The list of design options in the set.
designOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
DesignOptionSetId ¶
The identifier of a design option set.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
DesignOptionSetIdArrayItem ¶
designOptionSetId: DesignOptionSetId
Import from multiconn_archicad.models.tapir.types.
DesignOptionSetMove ¶
# The design option set to move.
designOptionSetId: DesignOptionSetId
# The design option set to move it before. When it is not given, the set is
# moved to the end.
beforeDesignOptionSetId: DesignOptionSetId | None = None
Import from multiconn_archicad.models.tapir.types.
DesignOptionSetRename ¶
designOptionSetId: DesignOptionSetId
# The new name of the design option set.
name: str
Import from multiconn_archicad.models.tapir.commands.
DetachElementsFromIssueParameters ¶
issueId: IssueId
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DetachElementsFromIssueResult ¶
DetachElementsFromIssueResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
DetailData ¶
name: str
referenceId: str
Import from multiconn_archicad.models.tapir.types.
DetailMarkerData ¶
# The boundary of the cut out area, at least 3 points, without repeating the
# first one.
clipPolygon: list[Coordinate2D]
# Optional arcs of the boundary, with indices into clipPolygon.
polygonArcs: list[PolyArc] | None = None
# Where the marker symbol is placed. Default is the first point of
# clipPolygon.
markerCoordinate: Coordinate2D | None = None
# Rotation of the marker symbol in radians. Default is that of the tool
# defaults.
angle: float | None = None
# Name of the new viewpoint. Default is that of the tool defaults.
name: str | None = None
# Reference ID shown in the marker and in the Project Map. A '/' splits it
# between the two lines of the marker. Default is that of the tool defaults.
id: str | None = None
# Story of the marker when it is placed on a floor plan. Default is the
# current story.
floorIndex: int | None = None
# Copy construction elements only: whether only the construction elements of
# the cut out area are copied into the new viewpoint
# (API_DetailType::constructionElementsOnly). Default is that of the tool
# defaults.
constructionElementsOnly: bool | None = None
Import from multiconn_archicad.models.tapir.types.
DetailMarkersWithDetail ¶
# A Detail or a Worksheet marker.
elementId: ElementId
# The new name of the viewpoint.
name: str | None = None
# The new reference ID, shown in the marker and in the Project Map. A '/'
# splits it between the two lines of the marker.
id: str | None = None
# The new boundary of the cut out area, at least 3 points, without repeating
# the first one.
clipPolygon: list[Coordinate2D] | None = None
# Optional arcs of the new boundary, with indices into clipPolygon.
polygonArcs: list[PolyArc] | None = None
# The new pen of the boundary (API_DetailType::pen).
penIndex: int | None = None
# Attribute index of the new line type of the boundary
# (API_DetailType::ltypeInd).
lineTypeIndex: int | None = None
# The new rotation of the marker symbol, in radians (API_DetailType::angle).
angle: float | None = None
# Whether the marker symbol is always horizontal
# (API_DetailType::horizontalMarker).
isHorizontalMarker: bool | None = None
# Copy construction elements only (API_DetailType::constructionElementsOnly),
# as GetDetailsOfElements returns it.
constructionElementsOnly: bool | None = None
# The new pen of the marker symbol, the library part placed as the marker (its
# markerId in GetDetailsOfElements).
markerPenIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
Details ¶
Details of an element.
# The Element ID (the ID field of the element's Settings dialog, shown in
# schedules and labels). The same string GetDetailsOfElements returns as id.
id: str | None = None
floorIndex: float | None = None
# Optional, only with floorIndex. When true, the element keeps its place in
# the model when its home story changes: it is moved back vertically by the
# level difference of the two stories (as MoveElements would), and the
# Openings (Opening tool) cut into it get their anchor altitude changed so
# they stay at the same height. Doors, windows and skylights follow their wall
# or roof. Default is false: the element keeps its height above its home story
# and moves with it.
keepPosition: bool | None = None
layerIndex: float | None = None
drawIndex: float | None = None
# Defines the modifiable type-specific settings for an element. Used as input
# for SET requests.
typeSpecificDetails: WallSettings | ZoneSettings | LineSettings | ArcSettings | HotspotSettings | SplineSettings | PolylineSettings | HatchSettings | DrawingSettings | TextSettings | None = None
Import from multiconn_archicad.models.tapir.types.
DetailsOfElement ¶
Details of an element. When the optional fields filter is given in the input, only the requested fields are present; the required list below applies to unfiltered requests.
# The identifier of the element. Returned when elementId is listed in fields,
# and always when no elements are given.
elementId: ElementId | None = None
type: ElementType
id: str
floorIndex: float
layerIndex: float
drawIndex: float
# The hotlink instance this element belongs to. Present only for elements that
# came in through a placed hotlink; such elements are read-only.
hotlinkId: ElementId | None = None
# Represents the complete type-specific details of an element. Used as output
# from GET requests
details: HotlinkDetails | WallDetails | BeamDetails | SlabDetails | RoofDetails | ShellDetails | ColumnDetails | ColumnSegmentDetails | BeamSegmentDetails | DetailWorksheetDetails | WindowDoorDetails | SkylightDetails | LibPartBasedElementDetails | ObjectDetails | PolylineDetails | ZoneDetails | RailingDetails | RailingPostDetails | RailingInnerPostDetails | RailingRailDetails | RailingBalusterDetails | RailingBalusterSetDetails | RailingPanelDetails | RailingPatternDetails | RailingRailEndDetails | RailingRailConnectionDetails | RailingEndFinishDetails | CurtainWallDetails | CurtainWallSegmentDetails | CurtainWallPanelDetails | CurtainWallFrameDetails | CurtainWallJunctionDetails | CurtainWallAccessoryDetails | MeshDetails | MorphDetails | DrawingDetails | LabelDetails | TextDetails | LevelDimensionDetails | AngleDimensionDetails | DimensionDetails | RadialDimensionDetails | ChangeMarkerDetails | StairDetails | StairTreadDetails | StairRiserDetails | StairStructureDetails | SectionDetails | InteriorElevationDetails | PictureDetails | MEPRoutingElementDetails | MEPRoutingSegmentDetails | MEPRoutingNodeDetails | MEPElementDetails | NotYetSupportedElementTypeDetails
# Cut-fill polygons as drawn on the floor plan (wall joins resolved by
# ArchiCAD). Only collected for construction element types whose floor plan
# symbol comes from a real cut through the element - walls, columns, beams and
# their segments, slabs, roofs, shells, meshes, morphs, curtain walls and
# their segments/panels/frames, stairs and their risers/treads/structures.
# Absent for every other type, when the element has no cut fill, or when the
# floor plan database is not accessible.
floorPlanPolygons: list[FloorPlanPolygon] | None = None
# The element ID (info string) as Archicad shows it. Present only when
# requested in additionalFields.
infoString: str | None = None
# The compound info string of the element, e.g. the summary of its composite
# or profile, as Archicad shows it. Present only when requested in
# additionalFields and the element has a non-empty one.
compoundInfoString: str | None = None
# The unique ID of the library part the element was placed from. Present only
# when requested in additionalFields and the element is library part based
# (e.g. object, lamp, door, window).
libraryPartUnId: str | None = None
# The unique ID of the tool that created the element. Present only when
# requested in additionalFields and Archicad reports one for the element.
creatorToolUnId: str | None = None
Import from multiconn_archicad.models.tapir.types.
DetailWorksheetDetails ¶
# Coordinate of the base point
basePoint: Coordinate2D
# The rotation angle (radian) of the marker symbol
angle: float
# Guid of the marker symbol
markerId: ElementId
# Name of the detail/worksheet
detailName: str
# Reference ID of the detail/worksheet
detailIdStr: str
# Marker symbol is always horizontal?
isHorizontalMarker: bool
# Side (detail/worksheet) window is opened?
isWindowOpened: bool
# Copy construction elements only: whether only the construction elements of
# the cut out area are copied into the detail/worksheet
# (API_DetailType::constructionElementsOnly).
constructionElementsOnly: bool
# The clip polygon of the detail/worksheet
clipPolygon: list[Coordinate2D]
# The marker link data
linkData: LinkData
Import from multiconn_archicad.models.tapir.types.
DimensionAppearance ¶
Optional dimension type, as in the Dimension Settings. A new dimension is Linear without it, whatever favoriteName or the Dimension tool defaults say. Elevation gives level marks, e.g. on a vertical chain in a section.
LINEAR = 'Linear'
CUMULATIVE = 'Cumulative'
BASELINE = 'Baseline'
ELEVATION = 'Elevation'
Import from multiconn_archicad.models.tapir.types.
DimensionData ¶
Dimension element data including witness points and geometry.
elementId: ElementId | None = None
direction: Coordinate2D | None = None
dimensionLinePosition: Coordinate2D | None = None
# The dimension type, as in the Dimension Settings.
appearance: DimensionAppearance | None = None
# The level an Elevation dimension measures from (kept for the other types
# too).
elevationOrigin: DimensionOrigin | None = None
# The marker of an Elevation dimension, always with all of its fields (kept
# for the other types too).
elevationMarker: DimensionElevationMarker | None = None
# The witness points of the dimension. Besides the geometry each item carries
# the base element reference as CreateAssociativeDimensions takes it
# (API_Base: baseElementId, line, inIndex, special, nodeType, nodeStatus,
# nodeId): read a dimension placed by hand to learn the values an element type
# needs.
witnessPoints: list[CoordinateWitnessPoint] | None = None
# The pen of the dimension and witness lines.
linePen: int | None = None
# The marker at the witness points, always with its type, pen and size.
marker: DimensionMarker | None = None
# The text placement method of the dimension texts, always with all of its
# fields.
textPlacement: DimensionTextPlacement | None = None
defaultWitnessForm: DimensionWitnessFormOrUnknown | None = None
# The value that goes with defaultWitnessForm, in meters. For Fix it is the
# length of the witness lines (the custom witness line length of the Dimension
# Settings). Each witness point has its own witnessVal.
defaultWitnessVal: float | None = None
# The Static dimension checkbox of the Dimension Settings (API defStaticDim).
staticDimension: bool | None = None
# Whether only the dimension texts are shown, without the dimension and
# witness lines (API onlyDimensionText).
onlyDimensionText: bool | None = None
# Whether the opening heights are shown in the dimension chain (Dimension
# Details panel, API detailedHoleDim).
openingHeightsInChain: bool | None = None
# Whether the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize).
openingHeightsNominal: bool | None = None
layeredElementDimensions: LayeredElementDimensions | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
DimensionDetails ¶
The settings of a linear dimension (the Dimension tool), with the names ModifyAssociativeDimensions takes, and the texts of its witness points. The witness points themselves are read with GetDimensionData.
# The dimension type, as in the Dimension Settings.
appearance: DimensionAppearance
# The level an Elevation dimension measures from (kept for the other types
# too).
elevationOrigin: DimensionOrigin
# The marker of an Elevation dimension, always with all of its fields (kept
# for the other types too).
elevationMarker: DimensionElevationMarker
# A point of the dimension line.
dimensionLinePosition: Coordinate2D
# The direction of the dimension line.
direction: Coordinate2D
# The number of witness points.
witnessPointCount: int
# The pen of the dimension and witness lines.
linePen: int
# The marker at the witness points, always with its type, pen and size.
marker: DimensionMarker
# The text placement method of the dimension texts, always with all of its
# fields.
textPlacement: DimensionTextPlacement
# The text height of the dimension's settings in millimeters. Each witness
# point keeps its own (GetDimensionData).
textHeight: float
# The text pen of the dimension's settings. Each witness point keeps its own
# (GetDimensionData).
textPen: int
# The text frame of the dimension's settings. Each witness point keeps its own
# (GetDimensionData).
textFrame: bool
# The font and style of the texts of the dimension's settings. Each witness
# point keeps its own (GetDimensionData).
textStyle: DimensionTextStyle
# The witness line form of the dimension's settings; each witness point has
# its own witnessForm.
defaultWitnessForm: DimensionWitnessFormOrUnknown
# The value that goes with defaultWitnessForm, in meters. Each witness point
# has its own witnessVal.
defaultWitnessVal: float
# The Static dimension checkbox of the Dimension Settings (API defStaticDim).
staticDimension: bool
# Whether only the dimension texts are shown, without the dimension and
# witness lines (API onlyDimensionText).
onlyDimensionText: bool
# Whether the opening heights are shown in the dimension chain (Dimension
# Details panel, API detailedHoleDim).
openingHeightsInChain: bool
# Whether the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize).
openingHeightsNominal: bool
layeredElementDimensions: LayeredElementDimensions
# The text box of the dimension's settings (API defNote), always with all of
# its fields. Each witness point keeps its own (GetDimensionData).
textBox: DimensionNote
textFillOrder: DimensionTextFillOrderOrUnknown | None = None
# Whether the dimension line has no part on the other side, opposite to the
# base point (API clipDimensionLine). Only returned from Archicad 30.
clipDimensionLine: bool | None = None
# Whether the witness lines have no part on the other side (API
# clipWitnessLine). Only returned from Archicad 30.
clipWitnessLine: bool | None = None
# The witness extension line of the dimension's settings, always with all of
# its fields. Each witness point keeps its own. Only returned from Archicad
# 30.
witnessExtensionLine: DimensionWitnessExtensionLine | None = None
# The text of every witness point, in the order GetDimensionData returns them,
# with the keys ModifyAssociativeDimensions' witnessPointTexts takes, so the
# list read can be sent back as it is. Missing when the witness points cannot
# be read.
witnessPointTexts: list[DimensionWitnessPointText] | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionElevationArrowAngle ¶
The angle of the half arrow in degrees (API ed_arrowAng 0, 1, 2).
INTEGER_30 = 30
INTEGER_45 = 45
INTEGER_60 = 60
Import from multiconn_archicad.models.tapir.types.
DimensionElevationCircleFill ¶
The fill of a circle style marker: empty, or the northwest or northeast quarter black (API ed_circleLevelDimensionFill). Unknown is only returned, for a value this version of Tapir does not know.
EMPTY = 'Empty'
NORTHWEST_BLACK = 'NorthwestBlack'
NORTHEAST_BLACK = 'NortheastBlack'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DimensionElevationMarker ¶
The marker an Elevation dimension (appearance Elevation, e.g. a height chain in a section) draws at its witness points, set under Elevation dimension in the Dimension Settings (API ed_dimForm, ed_arrowAng, ed_arrowFill, ed_arrowUp, ed_needPlus, ed_circleLevelDimensionFill). The dimension commands take any of its fields; GetDetailsOfElements and GetDimensionData always return all six, for the other dimension types too.
# The marker form as Archicad stores it (API ed_dimForm; the DevKit does not
# list the values, the commands take 0 to 19, as for the Level Dimension
# tool's dimForm): read it back with GetDetailsOfElements from an Elevation
# dimension that has the wanted marker.
form: int | None = None
arrowAngle: DimensionElevationArrowAngle | None = None
# Whether the arrow is filled (API ed_arrowFill).
arrowFilled: bool | None = None
# Whether the arrow points up (API ed_arrowUp; false: down).
arrowUp: bool | None = None
# Whether positive values get a "+" sign (API ed_needPlus).
plusSign: bool | None = None
circleFill: DimensionElevationCircleFill | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionLeaderShape ¶
The shape of the leader line: straight segments or a spline (API leaderShape; the square root shape is for labels only).
SEGMENTED = 'Segmented'
SPLINEAR = 'Splinear'
Import from multiconn_archicad.models.tapir.types.
DimensionMarker ¶
The marker at the witness points of a linear dimension, or at the ends of the arc of an angle dimension, or at the end of the line of a radial dimension (API_MarkerData). CreateAssociativeDimensions, CreateAngleDimensions, ModifyAngleDimensions, CreateRadialDimensions, ModifyRadialDimensions and the other dimension commands take any of its fields; GetDetailsOfElements and GetDimensionData always return all three.
type: DimensionMarkerType | None = None
# The pen of the marker.
pen: int | None = None
# The marker size, the API's markerData.markerSize, which the DevKit calls the
# size in millimeters at the drawing scale. Compare it with the marker size of
# the Dimension Settings before relying on it: on Archicad 29 a linear
# dimension whose dialog showed 1.0 read 2.5 here.
size: float | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionMarkerType ¶
The marker type, named after API_MarkerID.
CROSS_LINE = 'CrossLine'
EMPTY_CIRCLE = 'EmptyCircle'
SLASH_LINE60 = 'SlashLine60'
OPEN_ARROW30 = 'OpenArrow30'
CLOSED_ARROW30 = 'ClosedArrow30'
FULL_ARROW30 = 'FullArrow30'
SLASH_LINE45 = 'SlashLine45'
CROSS_CIRCLE = 'CrossCircle'
OPEN_ARROW90 = 'OpenArrow90'
CLOSED_ARROW90 = 'ClosedArrow90'
FULL_ARROW90 = 'FullArrow90'
FULL_CIRCLE = 'FullCircle'
PEPITA_CIRCLE = 'PepitaCircle'
BAND_ARROW = 'BandArrow'
OPEN_ARROW60 = 'OpenArrow60'
CLOSED_ARROW60 = 'ClosedArrow60'
FULL_ARROW60 = 'FullArrow60'
SLASH_LINE75 = 'SlashLine75'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
DimensionNote ¶
The text box of a dimension text (API_NoteType): its angle, background and frame, the alignment of a multiline text, and the style of the leader line a dimension text can have. The angle dimension, radial dimension and linear dimension commands (CreateAssociativeDimensions, CreateAssociativeDimensionsOnSection, CreateWallThicknessDimensions, ModifyAssociativeDimensions) take any of its fields as textBox, where only the fields given change, and GetDetailsOfElements always returns all of them. The texts of a level dimension (textBox and secondTextBox of the level dimension commands) have only textAngle, opaque, frame, backgroundPen and framePen: the level dimension commands refuse the other fields, and GetDetailsOfElements returns only these five for them. The leader line itself (whether the text has one, and its points) is not part of it: the DevKit gives leader lines only to angle dimensions, floor plan dimensions and hatches, and Archicad refuses them on level dimensions (#3059).
# The rotation angle of the text in radians (API noteAngle).
textAngle: float | None = None
# Whether the text has a background fill (API opaque).
opaque: bool | None = None
# Whether the text has a frame (API frame).
frame: bool | None = None
# The pen of the background fill, used while opaque is true (API
# backgroundPen).
backgroundPen: int | None = None
# The pen of the frame, used while frame is true (API framePen).
framePen: int | None = None
# The alignment of a multiline text (API just).
justification: Justification | None = None
anchorRow: DimensionNoteAnchorRow | None = None
# Where the leader line is attached to the text (API anchorPoint).
anchorPoint: LabelLeaderLineAnchorPoint | None = None
# Whether the leader line is attached to the end of the text rather than its
# beginning (API anchorAtTextEnd).
anchorAtTextEnd: bool | None = None
# The pen of the leader line (API leaderPen).
leaderPen: int | None = None
# The line type of the leader line (API leaderLineType). On input it must be
# an existing line type.
leaderLineTypeId: AttributeId | None = None
leaderShape: DimensionLeaderShape | None = None
# The arrowhead at the beginning of the leader line (API arrowData.arrowType).
arrowType: LabelArrowType | None = None
# Whether the leader line has the arrowhead (API arrowData.arrowVisibility
# from Archicad 29 on, arrowData.begArrow before, as for a label's leader
# line).
arrowVisible: bool | None = None
# The pen of the arrowhead (API arrowData.arrowPen).
arrowPen: int | None = None
# The size of the arrowhead in millimeters (API arrowData.arrowSize).
arrowSize: float | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionNoteAnchorRow ¶
Whether a multiline text is anchored at its first or its last row (API rowAnchor 0 or 1).
FIRST = 'First'
LAST = 'Last'
Import from multiconn_archicad.models.tapir.types.
DimensionOrigin ¶
The origin a level dimension measures from.
PROJECT_ZERO = 'ProjectZero'
REFERENCE_LEVEL1 = 'ReferenceLevel1'
REFERENCE_LEVEL2 = 'ReferenceLevel2'
STORED_ORIGIN = 'StoredOrigin'
ALTITUDE = 'Altitude'
Import from multiconn_archicad.models.tapir.types.
DimensionPreferences ¶
The Dimensions page: the dimension standard and the format (unit, decimals, extra accuracy and zero handling) of each dimension type.
# The index of the dimension standard the page follows.
dimensionStandardIndex: int
# The format of the linear dimensions.
linear: LengthDimensionFormat
angle: AngleDimensionFormat
# The format of the radial dimensions.
radial: LengthDimensionFormat
# The format of the level dimensions.
level: LengthDimensionFormat
# The format of the elevation dimensions.
elevation: LengthDimensionFormat
# The format of the door, window and skylight dimensions.
doorWindow: LengthDimensionFormat
# The format of the sill height (parapet) dimensions.
parapet: LengthDimensionFormat
area: AreaDimensionFormat
Import from multiconn_archicad.models.tapir.types.
DimensionPreferencesUpdate ¶
The Dimensions page: the dimension standard and the format (unit, decimals, extra accuracy and zero handling) of each dimension type.
# The index of the dimension standard the page follows.
dimensionStandardIndex: int | None = None
# The format of the linear dimensions.
linear: LengthDimensionFormatUpdate | None = None
angle: AngleDimensionFormatUpdate | None = None
# The format of the radial dimensions.
radial: LengthDimensionFormatUpdate | None = None
# The format of the level dimensions.
level: LengthDimensionFormatUpdate | None = None
# The format of the elevation dimensions.
elevation: LengthDimensionFormatUpdate | None = None
# The format of the door, window and skylight dimensions.
doorWindow: LengthDimensionFormatUpdate | None = None
# The format of the sill height (parapet) dimensions.
parapet: LengthDimensionFormatUpdate | None = None
area: AreaDimensionFormatUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
Dimensions3D ¶
Dimensions in 3D.
# X dimension.
x: float
# Y dimension.
y: float
# Z dimension.
z: float
Import from multiconn_archicad.models.tapir.types.
DimensionStandard ¶
A dimension standard of the project, as listed in Options > Project Preferences > Dimensions.
# The 1-based index of the dimension standard.
index: int
# The name of the dimension standard, as the dimensionStyle of GetViewSettings
# and SetViewSettings.
name: str
settings: DimensionStandardSettings
Import from multiconn_archicad.models.tapir.types.
DimensionStandardSettings ¶
linear: StandardLengthDimensionFormat
angle: StandardAngleDimensionFormat
radial: StandardLengthDimensionFormat
level: StandardLengthDimensionFormat
elevation: StandardLengthDimensionFormat
doorWindow: StandardLengthDimensionFormat
parapet: StandardLengthDimensionFormat
area: AreaDimensionFormat
Import from multiconn_archicad.models.tapir.types.
DimensionTextFillOrder ¶
Optional drawing order of the texts' fill and contour: under or above the dimension line (API textFillOrder). Available from Archicad 27; older versions refuse it.
UNDER_DIMENSION_LINE = 'UnderDimensionLine'
ABOVE_DIMENSION_LINE = 'AboveDimensionLine'
Import from multiconn_archicad.models.tapir.types.
DimensionTextFillOrderOrUnknown ¶
The drawing order of the texts' fill and contour relative to the dimension line (API textFillOrder). Only returned from Archicad 27. Unknown is only returned, for a value this version of Tapir does not know.
UNDER_DIMENSION_LINE = 'UnderDimensionLine'
ABOVE_DIMENSION_LINE = 'AboveDimensionLine'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DimensionTextPlacement ¶
The text placement method of a linear dimension's texts, as in the Dimension Settings (API dimLayout, placeUnderEnabled, pushNeighborEnabled, advanced). The dimension commands take any of its fields; GetDetailsOfElements and GetDimensionData always return all four.
method: DimensionTextPlacementMethod | None = None
# Flexible method: a text that does not fit may be placed below the dimension
# line (API placeUnderEnabled).
placeBelowLine: bool | None = None
# Flexible method: a text may push its neighbouring texts aside (API
# pushNeighborEnabled).
pushNeighbors: bool | None = None
# Centered method: use the advanced logic (API advanced).
advanced: bool | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionTextPlacementMethod ¶
Classic (the API's API_Legacy, the placement of Archicad 18 and before), Flexible, Centered, or Off (every text in the middle of its segment, without collision detection). Unknown is only returned, for a value this version of Tapir does not know.
CLASSIC = 'Classic'
FLEXIBLE = 'Flexible'
CENTERED = 'Centered'
OFF = 'Off'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DimensionTextStyle ¶
The font and style of the texts of a linear dimension, as in the Dimension Settings' text panel (API_NoteType noteFont, faceBits, widthFactor, spacingFactor). Taken as textStyle by CreateAssociativeDimensions, CreateAssociativeDimensionsOnSection, CreateWallThicknessDimensions and ModifyAssociativeDimensions, where only the fields given are changed, and returned by GetDetailsOfElements and, per witness point, by GetDimensionData.
# Font attribute index, as GetFontsByName reports it. On input it must be the
# index of a loaded font; fontName wins when both are given.
fontIndex: int | None = None
# Name of the font, as the Font attributes carry it, e.g. 'Arial'. On input
# resolved to the font's index like a Text style's fontName, taking precedence
# over fontIndex, and failing when no loaded font has the name; on read-back
# the name of the font fontIndex refers to, absent when no loaded font has
# that index.
fontName: str | None = None
bold: bool | None = None
italic: bool | None = None
underline: bool | None = None
# Width scale of the characters (1 is 100 %).
widthFactor: float | None = None
# Spacing scale between the characters (1 is 100 %).
spacingFactor: float | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessExtensionLine ¶
The witness extension line of a linear dimension, from Archicad 30 (API_DimensionType defWitnessOverrideExtension, defWitnessExtensionLinePen, defWitnessExtensionLineType, defWitnessExtensionGap, defWitnessExtensionGapSize; every witness point keeps its own copy). The linear dimension commands take any of its fields as witnessExtensionLine and write it to every witness point; GetDetailsOfElements always returns all five.
# Whether the witness extension line is drawn with the pen and line type below
# instead of those of the witness line (API defWitnessOverrideExtension).
overridePenAndLineType: bool | None = None
# The pen of the witness extension line (API defWitnessExtensionLinePen).
pen: int | None = None
# The line type of the witness extension line (API
# defWitnessExtensionLineType). On input it must be an existing line type.
lineTypeId: AttributeId | None = None
# Whether there is a gap between the marker line and the witness extension
# line (API defWitnessExtensionGap).
gap: bool | None = None
# The size of that gap, as Archicad stores it (API defWitnessExtensionGapSize;
# the DevKit names no unit): read it back with GetDetailsOfElements from a
# dimension that has the wanted gap.
gapSize: float | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessForm ¶
Optional witness line form, as in the Dimension Settings, applied to every witness point.
NONE = 'None'
SMALL = 'Small'
LARGE = 'Large'
FIX = 'Fix'
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessFormOrUnknown ¶
The witness line form of the dimension's settings (None, Small, Large or Fix); each witness point has its own witnessForm.
NONE = 'None'
SMALL = 'Small'
LARGE = 'Large'
FIX = 'Fix'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessPointContent ¶
Whether the witness point shows the measured value or its custom text (API note contentType), as ModifyAssociativeDimensions' witnessPointTexts takes it.
MEASURED_VALUE = 'MeasuredValue'
CUSTOM_TEXT = 'CustomText'
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessPointText ¶
The text of one witness point of a linear dimension, as the dimension text of a selected witness point in Archicad: the measured value or a custom text, superscript, and the text's position. ModifyAssociativeDimensions writes the given fields of the given witness points (witnessPointTexts); GetDetailsOfElements reads it for every witness point with the same keys (index, content, superscript, customText for a custom text and textPosition for a text moved by hand).
# The witness point whose text is changed, counted from 0 in the order
# GetDimensionData returns them.
index: int
content: DimensionWitnessTextContent | None = None
# Optional custom text of the witness point (API note contentUStr). Write
# {MeasuredValue} where the measured value goes, e.g. "{MeasuredValue} ok"
# (Archicad 26 and later; Archicad 25 refuses it). A line break is \r
# (Archicad shows \n on one line). Without content the witness point shows the
# custom text. GetDetailsOfElements reads it only while content is CustomText;
# GetDimensionData also reads the custom text a witness point keeps while it
# shows the measured value.
customText: str | None = None
# Optional: show the text superscript (API note effectBits,
# APIEffect_SuperScript).
superscript: bool | None = None
# Optional: true puts a text that was moved by hand back to its automatic
# position (API note fixPos false); false changes nothing. Cannot be given
# with textPosition. Only written: GetDetailsOfElements leaves out
# textPosition for a text at its automatic position instead.
resetTextPosition: bool | None = None
# Optional: moves the text there and fixes it, as dragging it by hand does
# (API note pos, fixPos true). In the coordinates GetDimensionData returns the
# witness points and the textPosition of each text in, so a text can be moved
# relative to where it is. GetDetailsOfElements reads it only for a text that
# was moved by hand (fixed), so the texts read can be sent back without fixing
# the automatic ones.
textPosition: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
DimensionWitnessTextContent ¶
Optional: show the measured value or the custom text (API note contentType).
MEASURED_VALUE = 'MeasuredValue'
CUSTOM_TEXT = 'CustomText'
Import from multiconn_archicad.models.tapir.types.
Direction ¶
horizontal distributes the elements along X, vertical along Y. They are not moved in the other direction.
HORIZONTAL = 'horizontal'
VERTICAL = 'vertical'
Import from multiconn_archicad.models.tapir.types.
DisplayOption ¶
Floor plan display option.
STANDARD = 'Standard'
STANDARD_WITH_ABSTRACT = 'StandardWithAbstract'
CUT_ONLY = 'CutOnly'
OUT_LINES_ONLY = 'OutLinesOnly'
ABSTRACT_ALL = 'AbstractAll'
CUT_ALL = 'CutAll'
Import from multiconn_archicad.models.tapir.types.
DisplayValueEnumId ¶
An enumeration value identifier using the displayed value.
type: Literal['displayValue'] = 'displayValue'
displayValue: str
Import from multiconn_archicad.models.tapir.types.
DistantAreaUncutSurfaceFillType ¶
Read-only: method for displaying fills of uncut surfaces in the distant area. Confirmed live on Archicad 27: cannot be set independently through the API, always reads back as PenColor regardless of the value written (see distantAreaShadowFillId).
PEN_COLOR = 'PenColor'
MATERIAL_COLOR_SHADED = 'MaterialColorShaded'
MATERIAL_COLOR_NON_SHADED = 'MaterialColorNonShaded'
Import from multiconn_archicad.models.tapir.commands.
DistributeElementsParameters ¶
# At least 3 elements to distribute: Wall, Column, Beam, Slab, Roof, Shell,
# Morph, Mesh, Zone, Object, Lamp, Stair, Railing, CurtainWall, Line,
# PolyLine, Arc, Circle, Spline, Hatch, Text or Hotspot, in the current
# database. Their order does not matter: they are distributed in the order of
# the middles of their plan bounding boxes along the direction.
elements: list[ElementIdArrayItem]
# horizontal distributes the elements along X, vertical along Y. They are not
# moved in the other direction.
direction: Direction
# centers makes the distances between the middles of the plan bounding boxes
# equal, gaps makes the empty space between neighbouring bounding boxes equal
# (the gap is negative, so the boxes overlap, when the elements are wider
# together than the space between the two outermost elements).
mode: Mode
Import from multiconn_archicad.models.tapir.commands.
DistributeElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
DocSrc ¶
Whether the 3D Document comes from the 3D window or from the floor plan.
DDD = 'DDD'
FLOOR_PLAN = 'FloorPlan'
Import from multiconn_archicad.models.tapir.types.
Document3DAttributeOptions ¶
The uniform attribute options (cut and uncut surfaces, shading, hidden edges).
# Use uniform attributes on the cut surfaces.
shouldUseUniformCutAttributes: bool | None = None
# The index of the uniform line type of the cut surfaces.
uniformLineType: int | None = None
# The uniform fill pen of the cut surfaces.
uniformFillPen: int | None = None
# The uniform fill background pen of the cut surfaces.
uniformFillBkgPen: int | None = None
# Fill the uncut surfaces.
shouldUseUncutSurfaceFill: bool | None = None
# The background pen of the uncut surfaces.
uncutSurfaceBkgPen: int | None = None
# Use a uniform pen for the element contours.
shouldUseElemPen: bool | None = None
# The uniform pen of the element contours.
elemPen: int | None = None
# The pen of the shadow fill.
shadFillPen: int | None = None
# The index of the shadow fill.
shadFill: int | None = None
# The background pen of the shadow fill.
shadFillBkgPen: int | None = None
# The pen of the shadow contours.
shadContPen: int | None = None
# The index of the line type of the hidden edges.
hiddenEdgeLineType: int | None = None
# The pen of the hidden edges.
hiddenEdgeLinePen: int | None = None
Import from multiconn_archicad.models.tapir.types.
Document3DBoundaryDisplay ¶
How the boundary contours are displayed.
UNCUT_CONTOURS = 'UncutContours'
NO_CONTOURS = 'NoContours'
OVERRIDE_CONTOURS = 'OverrideContours'
Import from multiconn_archicad.models.tapir.types.
Document3DData ¶
# The name of the new 3D Document.
name: str
# The reference ID of the new 3D Document.
referenceId: str
Import from multiconn_archicad.models.tapir.types.
Document3DFilterAndCutSettings ¶
Which elements and stories the 3D Document shows (API_3DFilterAndCutSettings). The marquee filter is not included.
# The first story shown.
firstStory3D: int | None = None
# The last story shown.
lastStory3D: int | None = None
# Whether all stories are shown; if false, firstStory3D to lastStory3D.
allStories: bool | None = None
trimToStoryRange: bool | None = None
filterMode: Document3DFilterMode | None = None
# Whether each element type is shown. On Set only the listed element types are
# changed.
elemTypeFilter: list[ElemTypeFilterItem] | None = None
Import from multiconn_archicad.models.tapir.types.
Document3DFilterMode ¶
FILTER_BY_RULES = 'FilterByRules'
FILTER_BY_SELECTION = 'FilterBySelection'
FILTER_BY_MARQUEE_AND_RULES = 'FilterByMarqueeAndRules'
Import from multiconn_archicad.models.tapir.types.
Document3DPlanConnection ¶
The connection of the 3D Document to the model.
ONLINE = 'Online'
OFFLINE = 'Offline'
DRAWING = 'Drawing'
Import from multiconn_archicad.models.tapir.types.
Document3DProjectionSetting ¶
The projection of the 3D Document (API_3DProjectionInfo). persp is present when isPersp is true, axono otherwise. Changing isPersp starts the new projection from zero, give persp or axono with it.
isPersp: bool | None = None
# The Camera the projection comes from. Missing when there is none.
camGuid: ElementIdArrayItem | None = None
# The active Camera Set. Missing when there is none.
actCamSet: ElementIdArrayItem | None = None
persp: Persp | None = None
axono: Axono | None = None
Import from multiconn_archicad.models.tapir.types.
Document3DSettings ¶
The settings of the 3D Document, with the field names of API_DocumentFrom3DType.
filterAndCutSettings: Document3DFilterAndCutSettings | None = None
# The 3D cut of the 3D Document (API_3DCutPlanesInfo). The cut planes
# themselves are not included.
cutSetting: CutSetting | None = None
cutaway3D: bool | None = None
projectionSetting: Document3DProjectionSetting | None = None
floorPlanRotationOrigo: Coordinate2D | None = None
# API_3DWindowInfo of the 3D Document.
window3DInfo: Window3DInfo | None = None
# A line type. Missing when there is none.
hiddenLineType: AttributeIdArrayItem | None = None
hiddenLineLen: int | None = None
effects3D: int | None = None
drawRect: DrawRect | None = None
# The uniform attributes of cut and uncut surfaces
# (API_UniformAttributeOptions). Pens and uniformLineType are indices; the
# enums fillCutSurfacesWith, uncutSurfaceFillType, hiddenEdgeVisibility and
# onCutPlaneVisibility are their integer values.
attributeOptions: AttributeOptions | None = None
currPlanConn: CurrPlanConn | None = None
intPlanConn: IntPlanConn | None = None
materialFrom3D: bool | None = None
# Whether the 3D Document comes from the 3D window or from the floor plan.
docSrc: DocSrc | None = None
# API_SkeletonOptions of a 3D Document made from the floor plan. viewSrc is
# the integer value of API_ViewSourceID.
skeletonOptions: SkeletonOptions | None = None
boundaryDisplay: BoundaryDisplay | None = None
boundaryPen: int | None = None
# A line type. Missing when there is none.
boundaryLineType: AttributeIdArrayItem | None = None
transparency: bool | None = None
Import from multiconn_archicad.models.tapir.types.
DocumentRevision ¶
revisionId: DocumentRevisionId
id: str
finalId: str
ownerUser: str
status: Status
# All changes belonging to the given document revision.
changes: list[Change] | None = None
layoutInfo: LayoutInfo
Import from multiconn_archicad.models.tapir.types.
DocumentRevisionId ¶
The identifier of a document revision.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
DocumentRevisionReference ¶
A reference to a document revision belonging to the current issue
revisionId: DocumentRevisionId
Import from multiconn_archicad.models.tapir.types.
DoorData ¶
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
ownerWallId: ElementId
width: float | None = None
height: float | None = None
sillHeight: float | None = None
centerOffset: float
reflected: bool | None = None
refSide: bool | None = None
oSide: bool | None = None
# Turn the reveal on or off.
reveal: bool | None = None
# Distance the frame plane is moved across the wall thickness, along the wall
# normal.
revealDepthOffset: float | None = None
displayOption: DisplayOption | None = None
# Pen of the opening's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the opening's floor plan symbol; used unless useObjectLineTypes
# is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the opening.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the opening; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the opening.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the opening; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines ("Overhead Line Pens").
aboveViewLinePen: int | None = None
# Line type of the overhead lines ("Overhead Lines").
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the opening.
belowViewLinePen: int | None = None
# Line type of the uncut lines ("Uncut Lines").
belowViewLineTypeId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
verticalLink: WindowDoorVerticalLink | None = None
# The index of the story the opening is anchored to when verticalLink is
# 'SillToStory' or 'HeaderToStory' (API_VerticalLink::linkValue). When a story
# anchor is given without it, the opening keeps the story it is anchored to,
# or else its home story.
verticalLinkStoryIndex: int | None = None
# Sub-floor thickness: the floor build-up the sill height is given from
# (API_OpeningBaseType::subFloorThickness).
subFloorThickness: float | None = None
revealDepthLocation: WindowDoorRevealDepthLocation | None = None
# The one surface of the whole window or door (API_OpeningBaseType::mat); used
# unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
directionType: WindowDoorDirectionType | None = None
fixPoint: WindowDoorFixPoint | None = None
# Optional. Localized library part name (docu_UName) to place instead of the
# tool default/favorite, e.g. a shutter part that has no favorite. It has to
# be a door library part. Set on the created door only, with its A and B from
# `width` and `height` (or the tool default's width and height); the Door tool
# defaults are not changed.
libraryPartName: str | None = None
# Optional. Name of an existing Door favorite (as returned by
# `GetFavoritesByType`). Applied to the Door tool defaults before the create.
favoriteName: str | None = None
Import from multiconn_archicad.models.tapir.types.
DoorRecreationData ¶
# The door to recreate.
elementId: ElementId
# The wall to place the new door in, as CreateDoors takes it: a wall that is
# not polygonal. It may also be the door's own wall.
ownerWallId: ElementId
# Optional position of the center of the new door along the wall, from the
# wall's beginning (API_WindowType::objLoc), as CreateDoors and ModifyDoors
# take it and GetDetailsOfElements returns it. When omitted, the old door's
# centerOffset is kept.
centerOffset: float | None = None
Import from multiconn_archicad.models.tapir.types.
DoorWithDetails ¶
elementId: ElementId
width: float | None = None
height: float | None = None
sillHeight: float | None = None
centerOffset: float | None = None
reflected: bool | None = None
refSide: bool | None = None
oSide: bool | None = None
# Turn the reveal on or off.
reveal: bool | None = None
# Distance the frame plane is moved across the wall thickness, along the wall
# normal.
revealDepthOffset: float | None = None
displayOption: DisplayOption | None = None
# Pen of the opening's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the opening's floor plan symbol; used unless useObjectLineTypes
# is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the opening.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the opening; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the opening.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the opening; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines ("Overhead Line Pens").
aboveViewLinePen: int | None = None
# Line type of the overhead lines ("Overhead Lines").
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the opening.
belowViewLinePen: int | None = None
# Line type of the uncut lines ("Uncut Lines").
belowViewLineTypeId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
verticalLink: WindowDoorVerticalLink | None = None
# The index of the story the opening is anchored to when verticalLink is
# 'SillToStory' or 'HeaderToStory' (API_VerticalLink::linkValue). When a story
# anchor is given without it, the opening keeps the story it is anchored to,
# or else its home story.
verticalLinkStoryIndex: int | None = None
# Sub-floor thickness: the floor build-up the sill height is given from
# (API_OpeningBaseType::subFloorThickness).
subFloorThickness: float | None = None
revealDepthLocation: WindowDoorRevealDepthLocation | None = None
# The one surface of the whole window or door (API_OpeningBaseType::mat); used
# unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
directionType: WindowDoorDirectionType | None = None
fixPoint: WindowDoorFixPoint | None = None
Import from multiconn_archicad.models.tapir.types.
DrawingAnchorPoint ¶
The node of the drawing's bounding box the drawing is placed by (API_DrawingType::anchorPoint). Used only when useOwnOriginAsAnchor is false.
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
DrawingColorMode ¶
How the drawing's pens are output (API_DrawingType::colorMode).
ORIGINAL_COLORS = 'OriginalColors'
BLACK_AND_WHITE = 'BlackAndWhite'
GRAYSCALE = 'Grayscale'
Import from multiconn_archicad.models.tapir.types.
DrawingContentBox ¶
# The full boundary box of the Drawing's content, independent of its frame, as
# returned by Archicad.
contentBox: BoundingBox2D
Import from multiconn_archicad.models.tapir.types.
DrawingData ¶
navigatorItemId: NavigatorItemId
layoutDatabaseId: DatabaseId | None = None
# Custom title name of the new Drawing. Giving a name implies nameType
# CustomName unless nameType is set explicitly.
name: str | None = None
# Defaults to CustomName when name is given, otherwise to the Drawing tool's
# current default.
nameType: DrawingNameType | None = None
# Where the Drawing is placed on the layout, in meters; this becomes its pos.
# Without clipPolygon it is the lower left corner of the Drawing (before
# rotation). With clipPolygon it is the point where the origin of the source
# view lands (on a floor plan the project origin), also when the source view
# stores its zoom: a model point (x, y) appears at position + scale * drawing
# scale * (x, y), rotated by angle, and the clipPolygon chooses which part is
# shown.
position: Coordinate2D
# Scale ratio applied to the drawing relative to its source view
# (API_DrawingType::ratio). Defaults to 1.0.
scale: float | None = None
# Rotation angle of the drawing in radians. Defaults to the Drawing tool's
# current default.
angle: float | None = None
# Ignored: Archicad takes the scale from the source view
# (API_DrawingType::drawingScale is output only). GetDetailsOfElements returns
# the scale the Drawing got.
drawingScale: float | None = None
# Offset of the model origin within the drawing, in model meters. Archicad
# uses it only with clipPolygon and then adds modelOffset * drawing scale
# (times scale, rotated by angle) to the new Drawing's pos; without
# clipPolygon it is ignored. Defaults to the Drawing tool's current default.
modelOffset: Coordinate2D | None = None
# The node of the drawing's bounding box the drawing is placed by. Used only
# when useOwnOriginAsAnchor is false; giving anchorPoint makes
# useOwnOriginAsAnchor default to false. Defaults to Center.
anchorPoint: DrawingAnchorPoint | None = None
# Whether the drawing is placed by its own origin instead of anchorPoint.
# Defaults to false when anchorPoint is given, otherwise to the Drawing tool's
# current default.
useOwnOriginAsAnchor: bool | None = None
# Optional polygon to clip the drawing with, in layout coordinates (meters on
# the layout, the same coordinate system as position) - not the coordinates of
# the source view's model. Stored as given: position, angle, scale and
# modelOffset are not applied to it, and it does not move the content (see
# position).
clipPolygon: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.types.
DrawingDetails ¶
# Position of the drawing on the layout, in meters. Without a clip polygon it
# is the lower left corner of the drawing (before rotation); with one it is
# where the origin of the source view lands (a modelOffset can move it by
# modelOffset * drawingScale).
pos: Coordinate2D
# Output only (API_DrawingType::offset). Equal to pos when isCutWithFrame is
# true; otherwise the subvector of pos and the anchorPoint's coordinate on the
# drawing's bounding box. Unlike pos, this is always where the source view's
# model origin lands on the layout, regardless of
# anchorPoint/useOwnOriginAsAnchor.
offset: Coordinate2D | None = None
# Rotation angle of the drawing in radians.
angle: float
# Scale ratio applied to the drawing relative to its source view.
ratio: float
# The scale of the drawing, taken from its source view (e.g. 0.01 for 1:100).
drawingScale: float
# Offset of the model origin within the drawing, in model meters. Used only by
# clipped drawings; Archicad then adds modelOffset * drawingScale (times
# ratio, rotated by angle) to pos.
modelOffset: Coordinate2D
# Whether the drawing is clipped by a custom polygon (see clipPolygon) instead
# of showing the full auto-fit extent.
isCutWithFrame: bool
# Bounds of the drawing on the layout.
bounds: BoundingBox2D
# Polygon used to clip the drawing view, in layout coordinates (meters on the
# layout, the same coordinate system as pos and bounds - not the coordinates
# of the source view's model). Archicad stores it as is; pos, angle, ratio and
# modelOffset are not applied to it. Present only when isCutWithFrame is true.
clipPolygon: list[Coordinate2D] | None = None
# Archicad's internal identifier of this Drawing's link
# (API_DrawingType::drawingGuid as Archicad reports it). This is NOT the
# navigator item id of the source view: CreateDrawings passes the source view
# in this field, but once the Drawing is created Archicad reports its own
# identifier, which is different for every Drawing (even two Drawings of the
# same view), is neither the source view nor the Drawing's item in the Layout
# Book, and is not accepted by navigator commands such as GetViewSettings. To
# find the source view of a placed Drawing, use the sourceNavigatorItemId of
# its DrawingItem in the Layout Book tree (GetNavigatorItemTree). Read-only:
# Archicad has no API to relink a Drawing to a different source (see
# ChangeDrawingLink).
navigatorItemId: NavigatorItemId
nameType: DrawingNameType
# The drawing's custom title name. Present only when nameType is CustomName.
customName: str | None = None
numberingType: DrawingNumberingType
# The drawing's custom title ID. Present only when numberingType is
# CustomNumber.
customNumber: str | None = None
# Whether the drawing is included in the automatic drawing numbering sequence.
isInNumbering: bool
# The 'Include scale in Autotext and index' checkbox of Drawing Settings
# (API_DrawingType::includeInAutoTextsAndIES): whether the drawing's scale is
# included in the 'Drawing Scale' and 'Original Scale' Autotexts and in
# indexes.
isScaleIncludedInAutotextAndIndex: bool
# Whether the drawing shows a printable border (Drawing Settings > Frame > Add
# Printable Border).
hasBorderLine: bool
# Attribute index of the line type of the drawing's border.
borderLineTypeIndex: int
# Pen index of the drawing's border.
borderPenIndex: int
# Border size of the drawing (API_DrawingType::borderSize), in meters.
borderSize: float
penTableUsageMode: DrawingPenTableUsageMode
# Attribute index of the pen set the drawing uses when penTableUsageMode is
# PenTableIndex (API_DrawingType::penTableIndex).
penTableIndex: int
colorMode: DrawingColorMode
# Whether the drawing's background is transparent
# (API_DrawingType::isTransparentBk).
isTransparentBackground: bool
# The resolution, in dots per inch, a PDF drawing is rasterized at
# (API_DrawingType::rasterizeDPI).
rasterizeDPI: float
anchorPoint: DrawingAnchorPoint
# Whether the drawing is placed by its own origin instead of anchorPoint
# (API_DrawingType::useOwnOrigoAsAnchor).
useOwnOriginAsAnchor: bool
# The Drawing Manager's Update Type: true for Manual, false for Automatic.
# SetDetailsOfElements writes it, and ChangeDrawingLink gives the new Drawing
# the old one's.
manualUpdate: bool
# The Drawing Manager's Stored in Project column: whether the drawing's
# content is stored in the project file. Read-only.
storedInProject: bool
# The Drawing Manager's Status column. Read-only; absent when Archicad could
# not check the drawing.
status: DrawingStatus | None = None
# The Drawing Manager's Source column: what kind of source the drawing is
# linked to. Read-only; absent when the link could not be read.
linkType: DrawingLinkType | None = None
# Path of the drawing's external source file (the Drawing Manager's Path
# column). Present only when the source is a file (external view, DWG/DXF,
# PDF, image, ...). Read-only.
linkPath: str | None = None
# The navigator item (view or viewpoint) the drawing shows, as the
# sourceNavigatorItemId of its Layout Book item; GetViewSettings accepts it.
# Absent when the source is not a navigator item (external file). Read-only.
sourceNavigatorItemId: NavigatorItemId | None = None
# Library part index of the drawing title (API_DrawingTitle::libInd). A
# negative/invalid index means no title object is instantiated; setting it to
# a valid index (e.g. copied from another drawing) makes Archicad create the
# title's own placed element.
titleLibraryPartIndex: float
# Id of the drawing title, itself a placed GDL object element (font/pen/size
# aside, its own settings are reachable like any other element, e.g. with
# GetGDLParametersOfElements/SetGDLParametersOfElements). Absent if the
# drawing has no title object.
titleElementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
DrawingLinkType ¶
The kind of source a drawing is linked to (the Drawing Manager's Source column): a view of this project (InternalView), a view of another Archicad project file (ExternalView), a drawing file, a DWG/DXF file, a PDF, an image, a PlotMaker file, an Add-On generated drawing, or an unknown/other source.
INTERNAL_VIEW = 'InternalView'
EXTERNAL_VIEW = 'ExternalView'
DRAWING = 'Drawing'
DXF_DWG = 'DXF_DWG'
PDF = 'PDF'
IMAGE = 'Image'
PLOT_MAKER = 'PlotMaker'
ADD_ON = 'AddOn'
UNKNOWN = 'Unknown'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
DrawingNameType ¶
How the drawing's title name is assembled (Identification tabpage of the Drawing Settings dialog).
VIEW_OR_SOURCE_FILE_NAME = 'ViewOrSourceFileName'
VIEW_ID_AND_NAME = 'ViewIdAndName'
CUSTOM_NAME = 'CustomName'
Import from multiconn_archicad.models.tapir.types.
DrawingNumberingGridLine ¶
# The start point of the line, in layout coordinates.
begC: Coordinate2D
# The end point of the line, in layout coordinates.
endC: Coordinate2D
# The index of the pen of the line.
penIndex: int
# The index of the line type of the line.
lineTypeIndex: int
Import from multiconn_archicad.models.tapir.types.
DrawingNumberingType ¶
How the drawing's title ID is assigned (Identification tabpage of the Drawing Settings dialog).
BY_LAYOUT = 'ByLayout'
BY_VIEW_ID = 'ByViewId'
CUSTOM_NUMBER = 'CustomNumber'
Import from multiconn_archicad.models.tapir.types.
DrawingPenTableUsageMode ¶
Which pen table the drawing uses (API_DrawingType::penTableUsageMode): its own, the one of the model, or the pen set given by penTableIndex.
OWN_PEN_TABLE = 'OwnPenTable'
MODEL_PEN_TABLE = 'ModelPenTable'
PEN_TABLE_INDEX = 'PenTableIndex'
Import from multiconn_archicad.models.tapir.types.
DrawingPrimitive ¶
type: DrawingPrimitiveType
# The layer of the element.
layer: AttributeIdArrayItem | None = None
# The pen index of the primitive.
pen: int
drwIndex: int
renovationStatus: DrawingPrimitiveRenovationStatus
# Line, Arc, PLine, Tri and Poly: the line type.
lineType: AttributeIdArrayItem | None = None
# How the type of the line or fill is determined (origin, inner line, contour
# line).
determination: int | None = None
penWeight: float | None = None
solid: bool | None = None
# Point: the location. Text: the left baseline position.
loc: Coordinate2D | None = None
c1: Coordinate2D | None = None
c2: Coordinate2D | None = None
whole: bool | None = None
# The arc goes clockwise.
reflected: bool | None = None
orig: Coordinate2D | None = None
r: float | None = None
begAng: float | None = None
endAng: float | None = None
angle: float | None = None
ratio: float | None = None
font: int | None = None
faceBits: int | None = None
effectBits: int | None = None
anchor: str | None = None
just: str | None = None
heightMM: float | None = None
widthMM: float | None = None
widthFactor: float | None = None
charSpaceFactor: float | None = None
# Text: the text the primitive draws, as Archicad displays it (for example a
# line of a zone stamp or a label, with its values already filled in).
content: str | None = None
drawSegmentMode: int | None = None
nCoords: int | None = None
nSubPolys: int | None = None
# The number of curved segments. Their geometry is not returned.
nArcs: int | None = None
useRgb: bool | None = None
fillPen: int | None = None
rgbColor: ColorRGB | None = None
# Tri: the three corners.
coordinates: list[Coordinate2D] | None = None
# Poly: the sub polygons, the first one is the outline, the others are holes.
polygons: list[DrawingPrimitivePolygon] | None = None
rotAngle: float | None = None
# Pict: the bounding box of the picture.
destBox: BoundingBox2D | None = None
hatchBorder: DrawingPrimitiveHatchBorder | None = None
# Ctrl_ElementRef: the element the item refers to. The drawing of a Wall ends
# with one such item for each Window and Door in it.
referencedElement: ReferencedElement | None = None
Import from multiconn_archicad.models.tapir.types.
DrawingPrimitiveHatchBorder ¶
Ctrl_HatchBorderBeg: the fill that follows.
doFrame: bool
fill: AttributeIdArrayItem | None = None
fillPen: int
fillbkgPen: int
determination: int
Import from multiconn_archicad.models.tapir.types.
DrawingPrimitivePolygon ¶
coordinates: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
DrawingPrimitiveRenovationStatus ¶
UNDEFINED = 'Undefined'
EXISTING = 'Existing'
NEW = 'New'
DEMOLISHED = 'Demolished'
Import from multiconn_archicad.models.tapir.types.
DrawingPrimitiveType ¶
The API_PrimTypeID name without its API_Prim prefix and ID suffix.
POINT = 'Point'
LINE = 'Line'
ARC = 'Arc'
TEXT = 'Text'
P_LINE = 'PLine'
TRI = 'Tri'
POLY = 'Poly'
PICT = 'Pict'
CTRL_BEG = 'Ctrl_Beg'
CTRL_HATCH_BORDER_BEG = 'Ctrl_HatchBorderBeg'
CTRL_HATCH_BORDER_END = 'Ctrl_HatchBorderEnd'
CTRL_HATCH_LINES_BEG = 'Ctrl_HatchLinesBeg'
CTRL_HATCH_LINES_END = 'Ctrl_HatchLinesEnd'
CTRL_HOLEDIM_LINES_BEG = 'Ctrl_HoledimLinesBeg'
CTRL_HOLEDIM_LINES_END = 'Ctrl_HoledimLinesEnd'
CTRL_ARROW_BEG = 'Ctrl_ArrowBeg'
CTRL_ARROW_END = 'Ctrl_ArrowEnd'
CTRL_ELEMENT_REF = 'Ctrl_ElementRef'
CTRL_END = 'Ctrl_End'
CTRL_PLACED_BORDER_BEG = 'Ctrl_PlacedBorderBeg'
CTRL_PLACED_BORDER_END = 'Ctrl_PlacedBorderEnd'
CTRL_TEXT_BEG = 'Ctrl_TextBeg'
CTRL_TEXT_END = 'Ctrl_TextEnd'
CTRL_C_WALL_PANEL_BEG = 'Ctrl_CWallPanelBeg'
CTRL_C_WALL_PANEL_END = 'Ctrl_CWallPanelEnd'
CTRL_BACKGROUND_FILL_BEG = 'Ctrl_BackgroundFillBeg'
CTRL_BACKGROUND_FILL_END = 'Ctrl_BackgroundFillEnd'
CTRL_FRAME_BEG = 'Ctrl_FrameBeg'
CTRL_FRAME_END = 'Ctrl_FrameEnd'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DrawingSettings ¶
Modifiable settings for a Drawing element placed on a layout.
# Position of the drawing on the layout, in meters. Without a clip polygon it
# is the lower left corner of the drawing (before rotation); with one it is
# where the origin of the source view lands (a modelOffset can move it by
# modelOffset * drawingScale).
pos: Coordinate2D | None = None
# Rotation angle of the drawing in radians.
angle: float | None = None
# Scale ratio applied to the drawing relative to its source view.
ratio: float | None = None
# The nominal scale of the drawing. Archicad may keep the existing value of a
# placed Drawing; the element's execution result is then a failure that names
# the value kept, although the other settings given were applied.
drawingScale: float | None = None
# Offset of the model origin within the drawing, in model meters. Used only by
# clipped drawings; Archicad then adds modelOffset * drawingScale (times
# ratio, rotated by angle) to pos.
modelOffset: Coordinate2D | None = None
# Whether the drawing is clipped by a custom polygon. Set to false to clear an
# existing crop and restore the drawing's full auto-fit extent. Only consulted
# when no clipPolygon is supplied in the same call - supplying a clipPolygon
# always enables clipping. Setting it to true without a clipPolygon merely re-
# enables the clip polygon already stored on the Drawing.
isCutWithFrame: bool | None = None
# Polygon used to clip the drawing view, in layout coordinates (meters on the
# layout, the same coordinate system as pos and bounds - not the coordinates
# of the source view's model). It is stored as given: pos, angle, ratio and
# modelOffset are not applied to it, so a polygon taken from the model must be
# transformed to the layout first. At least 3 points. Setting this also
# enables polygon clipping (isCutWithFrame becomes true); to remove clipping,
# set isCutWithFrame to false instead.
clipPolygon: list[Coordinate2D] | None = None
nameType: DrawingNameType | None = None
# The drawing's custom title name. Only used when nameType is CustomName.
customName: str | None = None
numberingType: DrawingNumberingType | None = None
# The drawing's custom title ID. Only used when numberingType is CustomNumber.
customNumber: str | None = None
# Whether the drawing is included in the automatic drawing numbering sequence.
isInNumbering: bool | None = None
# The 'Include scale in Autotext and index' checkbox of Drawing Settings
# (API_DrawingType::includeInAutoTextsAndIES): whether the drawing's scale is
# included in the 'Drawing Scale' and 'Original Scale' Autotexts and in
# indexes. Set it to false on e.g. a 1:1 schedule drawing placed next to a
# 1:200 plan so that the layout's scale Autotext shows only 1:200.
isScaleIncludedInAutotextAndIndex: bool | None = None
# Whether the drawing shows a printable border (Drawing Settings > Frame > Add
# Printable Border).
hasBorderLine: bool | None = None
# Attribute index of the line type of the drawing's border.
borderLineTypeIndex: int | None = None
# Pen index of the drawing's border.
borderPenIndex: int | None = None
# Border size of the drawing (API_DrawingType::borderSize), in meters.
borderSize: float | None = None
# Library part index of the drawing title (API_DrawingTitle::libInd). A
# negative/invalid index means no title object is instantiated; setting it to
# a valid index (e.g. copied from another drawing) makes Archicad create the
# title's own placed element.
titleLibraryPartIndex: float | None = None
penTableUsageMode: DrawingPenTableUsageMode | None = None
# Attribute index of the pen set the drawing uses
# (API_DrawingType::penTableIndex). Archicad uses it only when
# penTableUsageMode is PenTableIndex; give both to switch the drawing to a pen
# set.
penTableIndex: int | None = None
colorMode: DrawingColorMode | None = None
# Whether the drawing's background is transparent
# (API_DrawingType::isTransparentBk).
isTransparentBackground: bool | None = None
# The resolution, in dots per inch, a PDF drawing is rasterized at
# (API_DrawingType::rasterizeDPI).
rasterizeDPI: float | None = None
anchorPoint: DrawingAnchorPoint | None = None
# Whether the drawing is placed by its own origin instead of anchorPoint
# (API_DrawingType::useOwnOrigoAsAnchor).
useOwnOriginAsAnchor: bool | None = None
# The Drawing Manager's Update Type: true for Manual, false for Automatic
# (API_DrawingType::manualUpdate). The item fails when Archicad keeps the old
# value.
manualUpdate: bool | None = None
Import from multiconn_archicad.models.tapir.types.
DrawingStatus ¶
The Drawing Manager's Status column: UpToDate (OK) when the drawing matches its source, Modified when the source changed since the drawing was last updated, Unknown when the status cannot be determined (e.g. a missing external source).
UP_TO_DATE = 'UpToDate'
MODIFIED = 'Modified'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
DrawingsWithNewLink ¶
An existing Drawing and the navigator item it should be relinked to.
elementId: ElementId
navigatorItemId: NavigatorItemId
layoutDatabaseId: DatabaseId
Import from multiconn_archicad.models.tapir.types.
DrawRect ¶
left: float | None = None
top: float | None = None
right: float | None = None
bottom: float | None = None
Import from multiconn_archicad.models.tapir.commands.
DuplicateAttributesParameters ¶
# The attributes to duplicate, of any type that can be created (pens and fonts
# cannot).
attributes: list[AttributeDuplicationData]
Import from multiconn_archicad.models.tapir.commands.
DuplicateAttributesResult ¶
# One item per input attribute, in the input order: the copy, or an error when
# no copy was made.
attributeIds: list[DuplicatedAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
DuplicatedAttribute ¶
# The identifier of the copy.
attributeId: AttributeId
# What of the source could not be copied: a classification item, a property
# value or the attribute folder. Only present when something could not be
# copied; the copy itself exists.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
DuplicateDesignOptionCombinationsParameters ¶
# The design option combinations to duplicate.
designOptionCombinations: list[DesignOptionCombinationIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
DuplicateDesignOptionCombinationsResult ¶
# The identifiers of the new combinations, in the order of the input, or an
# error for each combination that could not be duplicated.
designOptionCombinationIdsOrErrors: list[DesignOptionCombinationIdArrayItem | ErrorItem]
E¶
Import from multiconn_archicad.models.tapir.types.
EdgeDefault ¶
Default display status for every edge that has no entry in edgeOverrides. Reported accurately on Get. On Create/Modify it takes effect from Archicad 29 on, where it is applied to every edge of the element with ACAPI_Element_ChangeMorphEdgeType right after the element is created or changed (e.g. 'HardHidden' hides all edges of a triangulated body). The Morph's layer must be shown and unlocked: on a hidden or locked layer CreateMorphs creates no Morph and returns an error. On Archicad 28 and earlier it is set on the element but does not take effect due to the same confirmed Archicad SDK bug as edgeOverrides (element.morph.edgeType is silently discarded by ACAPI_Element_Create/Change).
HARD_VISIBLE = 'HardVisible'
HARD_HIDDEN = 'HardHidden'
SOFT_HIDDEN = 'SoftHidden'
Import from multiconn_archicad.models.tapir.types.
EdgeOverride ¶
vertexIds: list[int]
# Hide this edge's line entirely.
hidden: bool | None = None
# Shade the two adjacent faces smoothly across this edge instead of as a hard
# crease - the 'aide a la courbe' rounded-look hint. Does not change actual
# geometry.
smooth: bool | None = None
# Show this edge's line only where it forms a silhouette/contour from the
# current viewpoint.
silhouetteOnly: bool | None = None
Import from multiconn_archicad.models.tapir.types.
EdgeTrim ¶
# Vertical, Perpendicular to the roof plane, Horizontal, or at 'angle'
# (CustomAngle).
trimType: EdgeTrimTypeUpdate | None = None
# The angle of the edge cut in radians, as GetDetailsOfElements reports it.
# Only CustomAngle uses it.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
EdgeTrimTypeUpdate ¶
The trim direction of a roof or shell edge: Vertical, Perpendicular to its plane, Horizontal, or at angle (CustomAngle).
VERTICAL = 'Vertical'
PERPENDICULAR = 'Perpendicular'
HORIZONTAL = 'Horizontal'
CUSTOM_ANGLE = 'CustomAngle'
Import from multiconn_archicad.models.tapir.types.
EditabilityOfPropertyDefinitionDefaults ¶
# Whether the default value of the property definition can be modified.
editable: bool
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
EditHierarchicalElementResult ¶
EditHierarchicalElementResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Elbow ¶
The elbow default: Archicad 27 gives its radius factor (it calls elbows bends), Archicad 28 none, Archicad 29 and later both values.
factorRadius: float | None = None
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElectricalCircuitData ¶
# The panel to add the new circuit to.
electricalPanelId: ElementId
description: str | None = None
voltage: float | None = None
# One of the wiring types of the electrical project settings, or an empty
# string for none.
wiringTypeName: str | None = None
isPhaseAUsed: bool | None = None
isPhaseBUsed: bool | None = None
isPhaseCUsed: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalCircuitDetails ¶
The details of an electrical circuit.
elementId: ElementId
# The name of the circuit, including the circuit name prefix of its panel.
name: str
description: str
# The panel that owns the circuit.
ownerPanelId: ElementId
# The electrical devices connected to the circuit.
childDevices: list[ElementIdArrayItem]
# The electrical panels connected to the circuit.
childPanels: list[ElementIdArrayItem]
voltage: float
# The used phases, as Archicad displays them.
phases: str
isPhaseAUsed: bool
isPhaseBUsed: bool
isPhaseCUsed: bool
# The name of the wiring type, as defined in the electrical project settings.
wiringTypeName: str
connectedLoad: ElectricalLoads
demandLoad: ElectricalLoads
voltageDrop: float
estimatedCableLength: float
Import from multiconn_archicad.models.tapir.types.
ElectricalCircuitDetailsOrError ¶
ElectricalCircuitDetailsOrError: TypeAlias = (
ElectricalCircuitDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElectricalCircuitModificationData ¶
elementId: ElementId
description: str | None = None
voltage: float | None = None
# One of the wiring types of the electrical project settings, or an empty
# string for none.
wiringTypeName: str | None = None
isPhaseAUsed: bool | None = None
isPhaseBUsed: bool | None = None
isPhaseCUsed: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalDeviceData ¶
# The anchor point of the new device.
position: Coordinate3D
# Defaults to the direction (1, 0, 0) and the rotation (0, 1, 0).
orientation: MEPOrientation | None = None
# The base rotation in radians.
rotation: float | None = None
isReflected: bool | None = None
# The library part to use, as listed by GetAvailableLibraryParts.
libraryPartId: LibPartUnId | None = None
# The size along the local x axis. Some library parts calculate their own
# size, then the item fails.
xSize: float | None = None
# The size along the local y axis. Some library parts calculate their own
# size, then the item fails.
ySize: float | None = None
# The apparent power in VA.
apparentPower: int | None = None
isApparentPowerEnabled: bool | None = None
# One of the load classifications of the electrical project settings, or an
# empty string for none.
loadClassificationName: str | None = None
# The circuit to connect the new device to.
circuitId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalDeviceDetails ¶
The details of an electrical device (a light, socket or other consumer).
elementId: ElementId
# The circuit the device is connected to. Missing when the device is not
# connected to a circuit.
parentCircuitId: ElementId | None = None
# The anchor point of the element.
anchorPoint: Coordinate3D
orientation: MEPOrientation
# The base rotation of the element in radians.
rotation: float
# The element is mirrored.
isReflected: bool
# The library part of the element.
libraryPartId: LibPartUnId
# The size of the element along its local x axis.
xSize: float
# The size of the element along its local y axis.
ySize: float
# The apparent power of the device in VA.
apparentPower: float
isApparentPowerEnabled: bool
# The name of the load classification, as defined in the electrical project
# settings.
loadClassificationName: str
demandLoad: float
# The MEP elements directly connected to the device.
connectedElements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElectricalDeviceDetailsOrError ¶
ElectricalDeviceDetailsOrError: TypeAlias = (
ElectricalDeviceDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElectricalDeviceModificationData ¶
elementId: ElementId
# The apparent power in VA.
apparentPower: int | None = None
isApparentPowerEnabled: bool | None = None
# One of the load classifications of the electrical project settings, or an
# empty string for none.
loadClassificationName: str | None = None
anchorPoint: Coordinate3D | None = None
orientation: MEPOrientation | None = None
# The base rotation in radians.
rotation: float | None = None
isReflected: bool | None = None
# The library part to use, as listed by GetAvailableLibraryParts.
libraryPartId: LibPartUnId | None = None
# The size along the local x axis. Some library parts calculate their own
# size, then the item fails.
xSize: float | None = None
# The size along the local y axis. Some library parts calculate their own
# size, then the item fails.
ySize: float | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalLoadClassification ¶
name: str
# The demand factor, between 0 and 1.
demandFactor: float
Import from multiconn_archicad.models.tapir.types.
ElectricalLoads ¶
An electrical load in total and per phase, as Archicad calculates it.
total: float
phaseA: float
phaseB: float
phaseC: float
Import from multiconn_archicad.models.tapir.types.
ElectricalPanelData ¶
# The anchor point of the new panel.
position: Coordinate3D
# Defaults to the direction (1, 0, 0) and the rotation (0, 1, 0).
orientation: MEPOrientation | None = None
# The base rotation in radians.
rotation: float | None = None
isReflected: bool | None = None
# The library part to use, as listed by GetAvailableLibraryParts.
libraryPartId: LibPartUnId | None = None
# The size along the local x axis. Some library parts calculate their own
# size, then the item fails.
xSize: float | None = None
# The size along the local y axis. Some library parts calculate their own
# size, then the item fails.
ySize: float | None = None
panelName: str | None = None
circuitNamePrefix: str | None = None
circuitIdStyle: int | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalPanelDetails ¶
The details of an electrical panel (distribution board).
elementId: ElementId
panelName: str
# The prefix of the names of the circuits of the panel.
circuitNamePrefix: str
# The index of the style of the circuit ids.
circuitIdStyle: int
# The circuits owned by the panel.
circuits: list[ElementIdArrayItem]
# The circuit the panel is connected to. Missing when the panel is not
# connected to a circuit.
parentCircuitId: ElementId | None = None
# The anchor point of the element.
anchorPoint: Coordinate3D
orientation: MEPOrientation
# The base rotation of the element in radians.
rotation: float
# The element is mirrored.
isReflected: bool
# The library part of the element.
libraryPartId: LibPartUnId
# The size of the element along its local x axis.
xSize: float
# The size of the element along its local y axis.
ySize: float
connectedLoad: ElectricalLoads
demandLoad: ElectricalLoads
Import from multiconn_archicad.models.tapir.types.
ElectricalPanelDetailsOrError ¶
ElectricalPanelDetailsOrError: TypeAlias = (
ElectricalPanelDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElectricalPanelModificationData ¶
elementId: ElementId
panelName: str | None = None
circuitNamePrefix: str | None = None
circuitIdStyle: int | None = None
anchorPoint: Coordinate3D | None = None
orientation: MEPOrientation | None = None
# The base rotation in radians.
rotation: float | None = None
isReflected: bool | None = None
# The library part to use, as listed by GetAvailableLibraryParts.
libraryPartId: LibPartUnId | None = None
# The size along the local x axis. Some library parts calculate their own
# size, then the item fails.
xSize: float | None = None
# The size along the local y axis. Some library parts calculate their own
# size, then the item fails.
ySize: float | None = None
Import from multiconn_archicad.models.tapir.types.
ElectricalPanelToolDefaults ¶
The default of the Electrical Panel tool, which has no domain. Available from Archicad 30.
# The library part the tool places.
libraryPartId: LibPartUnId
panelName: str
circuitNamePrefix: str
# The index of the circuit id style.
circuitIdStyle: int
# The number of circuit defaults of the panel default.
circuitDefaultCount: int
Import from multiconn_archicad.models.tapir.types.
ElectricalWiringType ¶
name: str
# The cross-sectional area of the wire in square millimeters.
crossSectionalArea: float
Import from multiconn_archicad.models.tapir.types.
ElementAnalyticalRelease ¶
elementId: ElementId
release: AnalyticalRelease
Import from multiconn_archicad.models.tapir.types.
ElementBodyMaterials ¶
The body materials returned for one element.
# The bodies of the element's 3D model generated with separate components: a
# composite structure has one body per skin. Empty when the element has no 3D
# model.
bodies: list[BodyMaterialDetails]
Import from multiconn_archicad.models.tapir.types.
ElementCategoryDetails ¶
categoryId: ElementCategoryId
type: ElementCategoryType
# The localized name of the category, for display only.
name: str
# The possible values of the category.
values: list[ElementCategoryValueDetails]
Import from multiconn_archicad.models.tapir.types.
ElementCategoryId ¶
The identifier of an element category.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ElementCategoryType ¶
The type of an element category. The names of the categories and of their values are localized, so scripts should select a category by this type and a value by its categoryValueId, never by name. BRI is available only in the German localized version of Archicad.
STRUCTURAL_FUNCTION = 'StructuralFunction'
POSITION = 'Position'
RENOVATION_STATUS = 'RenovationStatus'
RENOVATION_FILTER = 'RenovationFilter'
BRI = 'BRI'
Import from multiconn_archicad.models.tapir.types.
ElementCategoryValue ¶
type: ElementCategoryType
categoryId: ElementCategoryId
categoryValueId: ElementCategoryValueId
# The localized name of the value, for display only.
name: str
Import from multiconn_archicad.models.tapir.types.
ElementCategoryValueData ¶
elementId: ElementId
type: ElementCategoryType
# A value of the category given by type, as GetElementCategories lists them.
categoryValueId: ElementCategoryValueId
Import from multiconn_archicad.models.tapir.types.
ElementCategoryValueDetails ¶
categoryValueId: ElementCategoryValueId
# The localized name of the value, for display only.
name: str
# The value is offered in the settings dialogs of Archicad.
isVisibleOnUI: bool
# The value can be used as a criterion, for example in Find & Select and in
# Graphic Override rules.
usableAsCriteria: bool
Import from multiconn_archicad.models.tapir.types.
ElementCategoryValueId ¶
The identifier of a value of an element category.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ElementCategoryValues ¶
categoryValues: list[ElementCategoryValue]
Import from multiconn_archicad.models.tapir.types.
ElementClassification ¶
The classification of an element.
elementId: ElementId
classificationId: ClassificationId
Import from multiconn_archicad.models.tapir.types.
ElementClassificationItemArray ¶
A wrapper containing a list of element classification identifiers or errors.
# A list of element classification identifiers or errors, one per
# classification system.
classificationIds: list[ClassificationId | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ElementClassificationOrError ¶
ElementClassificationOrError: TypeAlias = (
ElementClassificationItemArray | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementComponentId ¶
The identifier of a component of an element: the element and the component within it.
elementId: ElementId
componentId: ComponentId
Import from multiconn_archicad.models.tapir.types.
ElementComponentIdArrayItem ¶
elementComponentId: ElementComponentId
Import from multiconn_archicad.models.tapir.types.
ElementComponentQuantities ¶
The quantities of an element component.
buildingMaterialId: AttributeIdArrayItem
# Net volume of the skin.
volume: float
# Projected area of the skin. Archicad reports 0 when the legacy intersection
# and surface calculation is turned on in the Project Preferences.
projectedArea: float
# The skin is marked as core.
isCore: bool
# The skin is marked as finish.
isFinish: bool
# The sub-element (for example a column or beam segment) the skin belongs to.
# Present only when Archicad attaches the skin to a sub-element.
subElementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
ElementComponentsArrayItem ¶
# A list of element components.
elementComponents: list[ElementComponentIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElementComponentsOrError ¶
ElementComponentsOrError: TypeAlias = (
ElementComponentsArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementConnection ¶
The connection between a pair of elements.
elementId1: ElementId
elementId2: ElementId
# The polygons of the surface where the two elements touch, in world
# coordinates. The last point of a polygon repeats its first.
polygons: list[ElementConnectionPolygon]
Import from multiconn_archicad.models.tapir.types.
ElementConnectionPolygon ¶
A polygon of an element connection.
coordinates: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.types.
ElementConvexPolygons ¶
# With convex: true, the convex polygons the faces of the element's 3D model
# are decomposed into, body by body and face by face. Empty (or an error item
# instead) when the element has no solid 3D model of its own (the bodies of a
# Stair, Railing or Curtain Wall, and of the segments of a Column or Beam,
# belong to their subelements, which can be given instead).
convexPolygons: list[ConvexPolygon]
Import from multiconn_archicad.models.tapir.types.
ElementCutPlane ¶
The cutting plane. axisX, axisY and axisZ should be unit vectors perpendicular to each other; axisZ is the normal of the plane.
# A point of the plane, the origin of the returned 2D coordinates.
basePoint: Coordinate3D
# The direction of the x axis of the returned 2D coordinates.
axisX: Coordinate3D
# The direction of the y axis of the returned 2D coordinates.
axisY: Coordinate3D
# The normal of the plane.
axisZ: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
ElementCutPolygons ¶
The cutting-plane intersections returned for one element.
# The bodies of the element's 3D model generated with separate components: a
# composite structure has one body per skin. Empty when the element has no 3D
# model.
bodies: list[BodyCutPolygons]
Import from multiconn_archicad.models.tapir.types.
ElementDefaultClassification ¶
elementType: ElementType
classificationId: ClassificationId
Import from multiconn_archicad.models.tapir.types.
ElementDefaultPropertyValue ¶
A property value with the identifier of the property and the element type whose defaults own it.
elementType: ElementType
propertyId: PropertyId
propertyValue: PropertyValue
Import from multiconn_archicad.models.tapir.types.
ElementDescriptor ¶
# The index of the library part that declares the descriptor, the same as the
# index returned by GetAvailableLibraryParts.
libraryPartIndex: int
# The name of the library part. Absent when the library part cannot be read.
name: str | None = None
# The guid of the library part, the same as the guid returned by
# GetAvailableLibraryParts. Absent when the library part cannot be read.
guid: str | None = None
# The index of the listing database set of the descriptor. Meaningful only
# when status is Normal.
setIndex: int
# The index of the descriptor in the listing database set when status is
# Normal, in the library part when status is Local.
index: int
status: ElementDescriptorStatus
Import from multiconn_archicad.models.tapir.types.
ElementDescriptors ¶
# The descriptors in the property objects of the element. Empty when the
# element has none.
descriptors: list[ElementDescriptor]
Import from multiconn_archicad.models.tapir.types.
ElementDescriptorStatus ¶
Normal: the descriptor exists in the listing database. Deleted: it is referenced, but deleted from the database. Local: it is defined in the library part. Unknown for a value this version of Tapir does not name.
NORMAL = 'Normal'
DELETED = 'Deleted'
LOCAL = 'Local'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
ElementDesignOptionPair ¶
elementId: ElementId
# The identifier of the design option to move the element into. Use NULLGuid
# to remove the element from any design option and move it to the main model.
designOptionId: DesignOptionId
Import from multiconn_archicad.models.tapir.types.
ElementDetailsAdditionalField ¶
An extra field of the details of an element, returned only when requested.
INFO_STRING = 'infoString'
COMPOUND_INFO_STRING = 'compoundInfoString'
LIBRARY_PART_UN_ID = 'libraryPartUnId'
CREATOR_TOOL_UN_ID = 'creatorToolUnId'
Import from multiconn_archicad.models.tapir.types.
ElementDetailsField ¶
A field of the details of an element.
ELEMENT_ID = 'elementId'
TYPE = 'type'
ID = 'id'
FLOOR_INDEX = 'floorIndex'
LAYER_INDEX = 'layerIndex'
DRAW_INDEX = 'drawIndex'
DETAILS = 'details'
FLOOR_PLAN_POLYGONS = 'floorPlanPolygons'
HOTLINK_ID = 'hotlinkId'
Import from multiconn_archicad.models.tapir.types.
ElementDrawingPrimitives ¶
# The primitives in the order Archicad draws them. The Ctrl_* items mark the
# beginning and the end of sub-parts (hatch borders, hatch lines, texts,
# curtain wall panels, ...).
primitives: list[DrawingPrimitive]
# The content of every Text primitive of the element, in the order Archicad
# draws them: the text as Archicad displays it, for example the lines of a
# zone stamp.
texts: list[str]
Import from multiconn_archicad.models.tapir.types.
ElementFieldDefinition ¶
The definition and metadata of an element field.
# The field's path in the struct, as in C++: e.g. note.noteFont,
# u.planeRoof.angle or defHandrailEnd[0].x.
path: str
type: ElementFieldJsonType
kind: ElementFieldKind
# The size of the field in bytes (for a string, the room in bytes including
# the closing zero; for a UniStringPointer, the size of the pointer).
size: int
# True for the owners and counts that Archicad computes, and for the fields
# that choose the shape of an element (a roof's roofClass, a shell's
# shellClass, a label's labelClass, a stair structure's structType, also in
# the default structures of a stair such as structure[0][0].structType, a
# wall's type: changing one without the data of the other shape made Archicad
# 29 quit), and for the fields of placed elements Archicad refuses whatever
# their value: the library part (libInd) of Objects, Lamps, Windows, Doors,
# Skylights, Zones and symbol Labels, which ChangeLibraryPartOfElements
# changes, and the leader line fields of the notes of a Level Dimension
# (note1/note2 useLeaderLine, anchorAtTextEnd, begC, midC, endC).
# SetElementFields refuses them, giving readOnlyReason;
# SetFieldsOfElementDefaults refuses only the first group (owners, counts and
# shape selectors).
readOnly: bool
# Why the field is read-only; only given for a read-only field.
readOnlyReason: str | None = None
# For a field in a union, the member it is in, e.g. u.revolvedShell,
# u.planeRoof or structure[0][1].data.monolith. Only the member the element
# uses holds values (a roof's roofClass, a shell's shellClass, a label's
# labelClass, a stair structure's structType, the structType of that default
# structure of a stair): GetElementFields leaves the others out and
# SetElementFields refuses them.
variant: str | None = None
Import from multiconn_archicad.models.tapir.types.
ElementFieldJsonType ¶
The JSON type of the field's value: object for an OverriddenPen or OverriddenAttribute (see ElementFieldOptionalValue).
NUMBER = 'number'
BOOLEAN = 'boolean'
INTEGER = 'integer'
STRING = 'string'
OBJECT = 'object'
Import from multiconn_archicad.models.tapir.types.
ElementFieldKind ¶
The C++ kind of the field: an enum is a SignedInt, an AttributeIndex is the index of an attribute (pen tables excepted, pens are plain integers). OverriddenPen and OverriddenAttribute are the optional pens and attributes of the API (API_OverriddenPen, API_OverriddenAttribute, e.g. cutFillPen and refMat of a wall), read and written as an object with hasValue and value. A UniStringPointer is a GS::UniString* through which Archicad passes a text (e.g. note.contentUStr, the text of a dimension note): it is read and written as a string, the commands pointing it to a string of their own.
REAL = 'Real'
BOOL = 'Bool'
SIGNED_INT = 'SignedInt'
UNSIGNED_INT = 'UnsignedInt'
C_STRING = 'CString'
U_STRING = 'UString'
ATTRIBUTE_INDEX = 'AttributeIndex'
GUID = 'Guid'
OVERRIDDEN_PEN = 'OverriddenPen'
OVERRIDDEN_ATTRIBUTE = 'OverriddenAttribute'
UNI_STRING_POINTER = 'UniStringPointer'
Import from multiconn_archicad.models.tapir.types.
ElementFieldOptionalValue ¶
An optional pen or attribute of an element's struct (API_OverriddenPen or API_OverriddenAttribute in the Archicad API, e.g. cutFillPen or refMat of a wall, leftMaterial of a beam segment): value is used only when hasValue is true; otherwise the element uses its own setting (e.g. the pen or the surface of its building material). In SetElementFields and SetFieldsOfElementDefaults a member left out keeps its value, and a value given without hasValue sets hasValue to true.
# Whether value replaces the element's own setting.
hasValue: bool | None = None
# The pen index (OverriddenPen) or the attribute index (OverriddenAttribute,
# e.g. of a surface). It means nothing while hasValue is false.
value: int | None = None
Import from multiconn_archicad.models.tapir.types.
ElementFieldsUpdate ¶
Field changes for one element.
elementId: ElementId
# The new value of each field, by its path (see GetElementFieldDefinitions),
# e.g. {"note.noteFont": 3, "note.frame": true, "note.contentUStr": "A"}, or
# {"refMat": {"hasValue": true, "value": 12}} for a wall. Only these fields
# change: they are written with ACAPI_Element_Change and a mask of exactly
# their bytes, then read back.
fields: dict[str, float | int | bool | str | ElementFieldOptionalValue]
Import from multiconn_archicad.models.tapir.types.
ElementFieldValue ¶
ElementFieldValue: TypeAlias = (
float | int | bool | str | ElementFieldOptionalValue
)
Import from multiconn_archicad.models.tapir.types.
ElementFieldValues ¶
The field values returned for one element.
elementType: ElementType
# The C++ struct of the element in the Archicad API.
structName: str
# The value of each field, by its path.
fields: dict[str, float | int | bool | str | ElementFieldOptionalValue]
# The asked paths this element type does not have.
missingFields: list[str] | None = None
# The asked paths in a member of a union this element does not use (see
# variant in GetElementFieldDefinitions), e.g. u.revolvedShell fields of an
# extruded shell: their bytes hold another member's values, so they are not
# read. Without the fields input, these are simply left out.
inactiveFields: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
ElementFilter ¶
A filter type for an element. Note: elements hidden by the design option combination of the current view (Archicad 29 or newer) fail IsVisibleByRenovation and pass IsOverriddenByRenovation even when the project has no renovation filter; use GetDesignOptionForElements and GetDesignOptionCombinationOfViews to tell them apart.
IS_EDITABLE = 'IsEditable'
IS_VISIBLE_BY_LAYER = 'IsVisibleByLayer'
IS_VISIBLE_BY_RENOVATION = 'IsVisibleByRenovation'
IS_VISIBLE_BY_STRUCTURE_DISPLAY = 'IsVisibleByStructureDisplay'
IS_VISIBLE_IN3_D = 'IsVisibleIn3D'
ON_ACTUAL_FLOOR = 'OnActualFloor'
ON_ACTUAL_LAYOUT = 'OnActualLayout'
IN_MY_WORKSPACE = 'InMyWorkspace'
IS_INDEPENDENT = 'IsIndependent'
IN_CROPPED_VIEW = 'InCroppedView'
HAS_ACCESS_RIGHT = 'HasAccessRight'
IS_OVERRIDDEN_BY_RENOVATION = 'IsOverriddenByRenovation'
INCLUDE_SUB_ELEM_OBJECTS = 'IncludeSubElemObjects'
Import from multiconn_archicad.models.tapir.types.
ElementFromAnalyticalMember ¶
elementId: ElementId
idMapping: AnalyticalImportIdMapping | None = None
Import from multiconn_archicad.models.tapir.types.
ElementFromAnalyticalMemberData ¶
# A curve member, creating a beam or a column.
curveMember: AnalyticalCurveMember | None = None
# A surface member, creating a wall, a slab or a roof.
surfaceMember: AnalyticalSurfaceMember | None = None
# The segments of a segmented surface member (a curved wall), creating one
# element.
segmentedSurfaceMembers: list[AnalyticalSurfaceMember] | None = None
# The name of the favorite whose settings the new element gets.
favoriteName: str | None = None
Import from multiconn_archicad.models.tapir.types.
ElementFromCurveMemberData ¶
Requires curveMember.
# A surface member, creating a wall, a slab or a roof.
surfaceMember: AnalyticalSurfaceMember | None = None
# The segments of a segmented surface member (a curved wall), creating one
# element.
segmentedSurfaceMembers: list[AnalyticalSurfaceMember] | None = None
# The name of the favorite whose settings the new element gets.
favoriteName: str | None = None
# A curve member, creating a beam or a column.
curveMember: AnalyticalCurveMember
Import from multiconn_archicad.models.tapir.types.
ElementFromSegmentedSurfaceMembersData ¶
Requires segmentedSurfaceMembers.
# A curve member, creating a beam or a column.
curveMember: AnalyticalCurveMember | None = None
# A surface member, creating a wall, a slab or a roof.
surfaceMember: AnalyticalSurfaceMember | None = None
# The name of the favorite whose settings the new element gets.
favoriteName: str | None = None
# The segments of a segmented surface member (a curved wall), creating one
# element.
segmentedSurfaceMembers: list[AnalyticalSurfaceMember]
Import from multiconn_archicad.models.tapir.types.
ElementFromSurfaceMemberData ¶
Requires surfaceMember.
# A curve member, creating a beam or a column.
curveMember: AnalyticalCurveMember | None = None
# The segments of a segmented surface member (a curved wall), creating one
# element.
segmentedSurfaceMembers: list[AnalyticalSurfaceMember] | None = None
# The name of the favorite whose settings the new element gets.
favoriteName: str | None = None
# A surface member, creating a wall, a slab or a roof.
surfaceMember: AnalyticalSurfaceMember
Import from multiconn_archicad.models.tapir.types.
ElementGDLParameterData ¶
A GDL parameter value used when placing a library part instance.
name: str
# A number or a boolean for a numeric parameter, a string for a String or
# Title parameter.
value: Any
Import from multiconn_archicad.models.tapir.types.
ElementGeometry3D ¶
# The solid bodies of the element's 3D model, including those of its
# subelements for a Stair, Railing or Curtain Wall, and of its segments for a
# Column or Beam. Empty when the element has no solid 3D model (for example a
# 2D element, or one filtered out of the 3D view).
bodies: list[Body3D]
Import from multiconn_archicad.models.tapir.types.
ElementGroupParameters ¶
The parameters for creating a single group
# The elements or child groups to be grouped.
elements: list[ElementIdArrayItem | GroupIdArrayItem]
# Optional parent group ID to nest this group under.
parentGroupId: GroupId | None = None
Import from multiconn_archicad.models.tapir.types.
ElementHeaderFromOtherDatabase ¶
An element that is not in the current database but in another one (a layout, a section, a worksheet ...). Only the fields of its element header are returned: no id, details or floorPlanPolygons. Give GetDetailsOfElements readFromOtherDatabases: true to read its full details without opening a window, or use GetContainingDatabases and ChangeWindow to open its database first.
elementId: ElementId | None = None
type: ElementType | None = None
floorIndex: float | None = None
layerIndex: float | None = None
drawIndex: float | None = None
# The hotlink instance this element belongs to. Present only for elements that
# came in through a placed hotlink.
hotlinkId: ElementId | None = None
# Always true: the element is not in the current database.
fromOtherDatabase: bool
Import from multiconn_archicad.models.tapir.types.
ElementHotspots ¶
# The 2D hotspots of the placed library part instance, as Archicad returns
# them: in the library part's own coordinate system (scaled when the instance
# is resized), not in project coordinates, so they do not change when the
# element or its wall is moved. GetSnapPointsOfElements returns the points of
# an element in project coordinates.
hotspots: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
ElementId ¶
The identifier of an element.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementIFCAttribute ¶
An IFC attribute of an element, for example Name, Description, ObjectType, Tag, PredefinedType or LongName.
# The name of the IFC attribute.
name: str
# The IFC type of the value, for example IfcLabel, IfcText or IfcIdentifier.
valueType: str
# The value of the IFC attribute. Missing when the attribute has no value.
value: str | None = None
Import from multiconn_archicad.models.tapir.types.
ElementIFCAttributes ¶
The IFC attributes of an element.
elementId: ElementId
ifcAttributes: list[ElementIFCAttribute]
Import from multiconn_archicad.models.tapir.types.
ElementIFCAttributesOrError ¶
ElementIFCAttributesOrError: TypeAlias = (
ElementIFCAttributes | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReference ¶
An IFC classification reference (IfcClassificationReference) of an element. The text fields are missing when the reference has no value for them.
# The identification of the classification reference, for example a
# classification code.
identification: str | None = None
# The name of the classification reference.
name: str | None = None
# The location of the classification reference, for example a URL.
location: str | None = None
# The description of the classification reference. Given from Archicad 29.
description: str | None = None
# The sort key of the classification reference (its Sort attribute). Given
# from Archicad 29, missing when it has no value.
sort: str | None = None
# The name of the IfcRelAssociatesClassification relationship that links the
# reference to the element. Given from Archicad 28, missing when it is empty.
relAssociatesClassificationName: str | None = None
referencedSource: IFCClassificationSource
source: IFCClassificationReferenceSource | None = None
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReferenceData ¶
ElementIFCClassificationReferenceData: TypeAlias = (
ElementIFCClassificationReferenceUpdate
)
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReferenceRemoval ¶
elementId: ElementId
referencedSource: IFCClassificationSourceReference
# The identification of the classification reference to remove. When it is not
# given, every stored reference of the classification is removed from the
# element.
identification: str | None = None
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReferences ¶
The IFC classification references of an element.
elementId: ElementId
ifcClassificationReferences: list[ElementIFCClassificationReference]
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReferencesOrError ¶
ElementIFCClassificationReferencesOrError: TypeAlias = (
ElementIFCClassificationReferences | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementIFCClassificationReferenceUpdate ¶
elementId: ElementId
# The identification of the classification reference, for example a
# classification code. Default: empty.
identification: str | None = None
# The name of the classification reference. Default: empty.
name: str | None = None
# The location of the classification reference, for example a URL. Default:
# empty.
location: str | None = None
referencedSource: IFCClassificationSourceData
Import from multiconn_archicad.models.tapir.types.
ElementIFCIds ¶
The IFC identifiers of an element.
elementId: ElementId
# The IFC identifier of the element. From Archicad 28 it is the IFC GlobalId
# (22 characters); before Archicad 28 it is the same identifier in the 36
# character GUID form, and ifcGlobalId gives its GlobalId.
ifcId: str
# The external IFC identifier of the element, in the same form as ifcId.
externalIFCId: str
# The IFC GlobalId (22 characters) of ifcId. Only returned before Archicad 28,
# where ifcId is in the GUID form; from Archicad 28 ifcId already is the
# GlobalId.
ifcGlobalId: str | None = None
# The IFC GlobalId (22 characters) of externalIFCId, empty when the element
# has no external IFC identifier. Only returned before Archicad 28.
externalIFCGlobalId: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementIFCProperties ¶
The IFC properties of an element.
elementId: ElementId
ifcProperties: list[ElementIFCProperty]
Import from multiconn_archicad.models.tapir.types.
ElementIFCPropertiesOrError ¶
ElementIFCPropertiesOrError: TypeAlias = (
ElementIFCProperties | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementIFCProperty ¶
The details of an IFC property value of an element.
propertySetName: str
name: str
# The value of the property as a string. List and enumerated values are
# separated by semicolons.
value: str
# The IFC type of the value, for example IfcLabel or IfcLengthMeasure. For a
# table value it is the type of its defined values. Left out when the property
# has no value to take the type from.
valueType: str | None = None
propertyType: IFCPropertyType | None = None
# For an enumerated value, the values of the enumeration it refers to
# (IfcPropertyEnumeration), each as a string. Available from Archicad 28; left
# out when the property has none.
enumerationReference: list[str] | None = None
source: IFCPropertySource | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementIFCPropertyValue ¶
elementId: ElementId
# The name of the property set, for example Pset_DoorCommon. Custom property
# set names are also accepted.
propertySetName: str
# The name of the property, for example FireRating.
propertyName: str
# The IFC type of the value, for example IfcLabel, IfcText, IfcIdentifier,
# IfcBoolean, IfcLogical, IfcInteger, IfcReal or a measure type like
# IfcThermalTransmittanceMeasure. A type Archicad does not know is rejected.
type: str
# The new value of the property. Provide a boolean for IfcBoolean and
# IfcLogical (IfcLogical also accepts the string Unknown), a number for the
# numeric types and a string for every other type.
value: Any
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementLibraryPartChange ¶
A library part replacement for one element.
elementId: ElementId
# The new library part, given by one of name, index or guid. It has to be a
# placeable library part of the element's type in the loaded libraries; a wall
# end (a Window whose library part is a Wall End part) only takes another Wall
# End part.
libraryPart: LibraryPartByName | LibraryPartByIndex | LibraryPartByGuid
# Copies the values of the element's GDL parameters to the parameters of the
# new library part that have the same name, type and array dimensions; the
# other parameters get the new part's defaults. Default: true.
keepParameters: bool | None = None
# Keeps the size (A and B) of the element; when false, the element gets the
# new part's default size. Default: true.
keepSize: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElementLibraryPartTransformation ¶
transformation: LibraryPartTransformation
Import from multiconn_archicad.models.tapir.types.
ElementLinkData ¶
A directional link from one element to another, with the flags stored on it.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementLinkedPropertyObjects ¶
# True when the property objects matching their criteria are linked to the
# element.
linkByCriteria: bool
# The index of the library part of the individually assigned property object,
# the same as the index returned by GetAvailableLibraryParts. 0 when no
# property object is assigned individually.
individualLibraryPartIndex: int
# The name of the individually assigned library part. Absent when there is
# none or it cannot be read.
individualLibraryPartName: str | None = None
# The guid of the individually assigned library part, the same as the guid
# returned by GetAvailableLibraryParts. Absent when there is none or it cannot
# be read.
individualLibraryPartGuid: str | None = None
# The linked property objects whose criteria match the element.
criteriaPropertyObjects: list[CriteriaPropertyObject]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementLinks ¶
# The links starting from the element.
links: list[ElementLinkDetails]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementMEPRoutingParameters ¶
elementId: ElementId
routingNodeParameters: MEPRoutingNodeParametersUpdate | None = None
routingSegmentParameters: MEPRoutingSegmentDefaults | None = None
# The elbow parameters of a routing node
# (RoutingNode::Modifier::SetElbowDefaultParameters). Archicad 29 or newer.
elbowParameters: MEPElbowParameters | None = None
transitionParameters: MEPTransitionDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
ElementMirrorData ¶
elementId: ElementId
# The mirror axis: the line through two points on the floor plan.
mirrorAxis: MirrorAxis
# Optional parameter. If true, a mirrored copy of the element is created and
# the original is kept. By default it's false.
copy_: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElementNotSplit ¶
The split line does not cross the element (or only touches one of its ends), so the element was left as it was.
notCut: bool
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementPolygonVertexIds ¶
# The contours of the element's polygon in the order of its memo: the first is
# the outline (polygonOutline of GetDetailsOfElements), the others are the
# holes in the order of holes.
contours: list[PolygonVertexIdContour]
Import from multiconn_archicad.models.tapir.types.
ElementProfileValue ¶
A custom profile as one element, or one segment of a beam or column, uses it.
# The segment of the beam or column, 0-based in the order GetDetailsOfElements
# lists the segments. Absent for a wall.
segmentIndex: int | None = None
# The profile attribute. Absent when it could not be resolved.
profileId: AttributeIdArrayItem | None = None
# Width of the stretched profile (its bounding box): the element's own width
# where the profile stretches horizontally.
width: float
# Height of the stretched profile (its bounding box): the element's own height
# where the profile stretches vertically.
height: float
# The offset modifiers of the profile with the values this element has,
# measured the way GetProfiles measures them on the profile attribute: on the
# element's stretched profile, or, when the stretched profile Archicad returns
# carries no modifiers, on the element's original (unstretched) profile (see
# modifiersIncludeStretch). Empty when neither carries modifiers.
profileModifiers: list[ProfileModifier]
# True when profileModifiers were measured on the stretched profile, so a
# modifier whose dimension crosses a stretch zone includes the stretch; false
# when they were measured on the element's original (unstretched) profile,
# without the stretch. Absent when neither profile carries modifiers.
modifiersIncludeStretch: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElementProfileValues ¶
The profile values of one wall, beam or column, measured on the stretched profile the element uses: the profile after the element's own stretch and modifier values.
elementId: ElementId
# One item per custom profile of the element: one for a Profile wall, one per
# Profile segment of a beam or column. Empty when the element uses no custom
# profile.
profiles: list[ElementProfileValue]
Import from multiconn_archicad.models.tapir.types.
ElementProfileValuesOrError ¶
ElementProfileValuesOrError: TypeAlias = (
ElementProfileValues | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementPropertyEditabilityResult ¶
propertyEditabilities: list[ElementPropertyEditabilityStatus | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ElementPropertyEditabilityStatus ¶
# Whether the value of the property can be modified for the element. False for
# example for read-only properties or expressions with cyclic references.
editable: bool
# Whether the property is visible for the element.
visible: bool
Import from multiconn_archicad.models.tapir.types.
ElementPropertyObject ¶
# The index of the property object's library part, the same as the index
# returned by GetAvailableLibraryParts.
libraryPartIndex: int
# The name of the library part. Absent when the library part cannot be read.
name: str | None = None
# The guid of the library part, the same as the guid returned by
# GetAvailableLibraryParts. Absent when the library part cannot be read.
guid: str | None = None
# True when the property object is assigned to the element individually, false
# when it is linked by criteria.
isIndividuallyAssigned: bool
Import from multiconn_archicad.models.tapir.types.
ElementPropertyObjects ¶
# The property objects (library parts of the old listing system) of the
# element, linked to it by criteria or individually. Empty when the element
# has none.
propertyObjects: list[ElementPropertyObject]
Import from multiconn_archicad.models.tapir.types.
ElementPropertyValue ¶
A property value with the identifiers of the property and its owner element.
elementId: ElementId
propertyId: PropertyId
propertyValue: PropertyValue | None = None
# Value (the default) sets propertyValue. Default removes the element's own
# value, so the property shows its default value (or its expression) again.
# UserUndefined sets the value to undefined. propertyValue is not needed and
# is ignored for Default and UserUndefined.
valueStatus: ValueStatus | None = None
Import from multiconn_archicad.models.tapir.types.
ElementPropertyValueWithStatus ¶
Requires valueStatus.
elementId: ElementId
propertyId: PropertyId
propertyValue: PropertyValue | None = None
# Value (the default) sets propertyValue. Default removes the element's own
# value, so the property shows its default value (or its expression) again.
# UserUndefined sets the value to undefined. propertyValue is not needed and
# is ignored for Default and UserUndefined.
valueStatus: ValueStatus
Import from multiconn_archicad.models.tapir.types.
ElementPropertyValueWithValue ¶
Requires propertyValue.
elementId: ElementId
propertyId: PropertyId
# Value (the default) sets propertyValue. Default removes the element's own
# value, so the property shows its default value (or its expression) again.
# UserUndefined sets the value to undefined. propertyValue is not needed and
# is ignored for Default and UserUndefined.
valueStatus: ValueStatus | None = None
propertyValue: PropertyValue
Import from multiconn_archicad.models.tapir.types.
ElementQuantities ¶
ElementQuantities: TypeAlias = (
WallQuantities
| ColumnQuantities
| BeamQuantities
| SlabQuantities
| RoofQuantities
| ShellQuantities
| MorphQuantities
| ZoneQuantities
| ColumnSegmentQuantities
| BeamSegmentQuantities
| StairQuantities
)
Import from multiconn_archicad.models.tapir.types.
ElementQuantityDetails ¶
type: ElementType
# The type-specific quantities of an element. The fields depend on the type of
# the element.
quantities: WallQuantities | ColumnQuantities | BeamQuantities | SlabQuantities | RoofQuantities | ShellQuantities | MorphQuantities | ZoneQuantities | ColumnSegmentQuantities | BeamSegmentQuantities | StairQuantities
# The quantities per building material, in the order Archicad reports them:
# one item for each skin of a composite or complex profile element, and a
# single item for a basic element. Empty for Zones and Morphs, for which
# Archicad reports no skins.
composites: list[ElementComponentQuantities]
Import from multiconn_archicad.models.tapir.types.
ElementRelationsOrError ¶
ElementRelationsOrError: TypeAlias = (
WallRelations
| BeamRelations
| BeamSegmentRelations
| ZoneRelationsOfElement
| OpeningRelationsOfElement
| RoofOrShellRelationsOfElement
| ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementReservationState ¶
Free: nobody has reserved the element. Editable: the current user has reserved it. Locked: another user has reserved it (see reservedBy).
FREE = 'Free'
EDITABLE = 'Editable'
LOCKED = 'Locked'
Import from multiconn_archicad.models.tapir.types.
ElementReservationStatus ¶
status: ElementReservationState
# The user who has reserved the element. Left out when the element is free.
reservedBy: User | None = None
# The Teamwork owner of the element. In Teamwork the owner is the user who has
# reserved the element, so this is the same user as reservedBy; kept for
# compatibility. Left out when the element is free.
owner: User | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementsByIFCId ¶
ifcId: str
# A list of element identifiers having the given IFC identifier. If the given
# IFC identifier is an external identifier, the list can contain multiple
# elements as the IFC can be placed multiple times.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElementSet ¶
# The identifier of an element set.
elementSetId: ElementSetId
Import from multiconn_archicad.models.tapir.types.
ElementSetData ¶
# The elements to put into the element set.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElementSetDetails ¶
# The elements of the element set.
elements: list[ElementIdArrayItem]
userData: ElementSetUserData
Import from multiconn_archicad.models.tapir.types.
ElementSetId ¶
The identifier of an element set.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ElementSetIdArrayItem ¶
A wrapper containing an element set identifier.
elementSetId: ElementSetId
Import from multiconn_archicad.models.tapir.types.
ElementSetsOfElement ¶
# The element sets that contain the element. Empty if the element is not part
# of any element set.
elementSets: list[ElementSet]
Import from multiconn_archicad.models.tapir.types.
ElementSetUserData ¶
The custom data stored with the element set by the add-on that created it.
# The version of the data, as set by the add-on that created the element set.
dataVersion: int
# The platform sign of the data, telling the byte order it was written with.
platformSign: int
# The raw bytes of the data, Base64 encoded. Empty when the element set has no
# data.
data: str
Import from multiconn_archicad.models.tapir.types.
ElementsOfDesignOption ¶
designOptionId: DesignOptionId
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElementsOfDesignOptionOrError ¶
ElementsOfDesignOptionOrError: TypeAlias = (
ElementsOfDesignOption | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementsOfElementType ¶
Elements of a given type.
elementType: ElementType
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
ElementStateId ¶
The identifier of the captured state, accepted by GetElementChangesSince and ReleaseElementState. It is only valid in the Archicad session and project it was captured in.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ElementStateType ¶
How GetElementChangesSince finds the changed elements between this state and another one. ModificationStamp (the default) compares the modification stamps of the elements, so any change to a tracked element counts. 3DModel compares the 3D model of the elements, so only a change that alters the 3D model counts, and capturing it generates the 3D model of the project. Two states can only be compared when they were captured with the same type. With either type the changes come from Archicad's element difference generator, which tracks the model elements: 2D elements such as texts, labels and hatches can be missing from the result even when they were created, modified or deleted.
MODIFICATION_STAMP = 'ModificationStamp'
FIELD_3_D_MODEL = '3DModel'
Import from multiconn_archicad.models.tapir.types.
ElementSurfaceQuantities ¶
# The surfaces of the element as Archicad reports them: one item per surface
# attribute and building material pair of the element, so an element has as
# many items as it has distinct pairs (a basic wall with three different
# surfaces reports three items). Empty when Archicad reports no surface for
# the element, for example for an element without a 3D model.
surfaces: list[ElementSurfaceQuantity]
Import from multiconn_archicad.models.tapir.types.
ElementSurfaceQuantity ¶
# The surface (material) attribute of the surface. Left out when the surface
# is not a project attribute, for example one defined by a GDL script.
surfaceId: AttributeIdArrayItem | None = None
# The building material of the part of the element the surface belongs to.
buildingMaterialId: AttributeIdArrayItem
# The area of the surface that is not covered by any of the covering elements,
# in square meters.
exposedArea: float
Import from multiconn_archicad.models.tapir.types.
ElementSurfaceType ¶
A surface assignment on an element polygon.
# The index of the body in the element, starting from 0.
bodyIndex: int
# The index of the polygon in the body, starting from 0.
polygonIndex: int
# The identifier of the polygon in the 3D model
# (ModelerAPI::Polygon::GetPolygonId).
polygonId: int
# The surface type of the polygon: the numeric value of API_SurfaceTypeID as
# ACAPI_Polygon_PolygonId2SurfaceType returns it.
surfaceType: int
Import from multiconn_archicad.models.tapir.types.
ElementSurfaceTypes ¶
The surface assignments returned for one element.
# Every polygon of every body of the element's 3D model, generated with
# separate components. Empty when the element has no 3D model.
polygons: list[ElementSurfaceType]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementsWithElevation ¶
elementId: ElementId
# The vertical offset in meters to move the element by, like Edit > Move >
# Elevate. A positive value moves the element up, a negative value moves it
# down. The home story of the element does not change.
elevation: float
# Optional parameter. If true, then a copy of the element will be elevated. By
# default it's false.
copy_: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ElementsWithExecutionResults ¶
The response of the GetElementsByType command.
# A list of elements.
elements: list[ElementIdArrayItem]
# A list of execution results.
executionResultForDatabases: list[SuccessfulExecutionResult | FailedExecutionResult] | None = None
Import from multiconn_archicad.models.tapir.types.
ElementsWithExecutionResultsOrError ¶
ElementsWithExecutionResultsOrError: TypeAlias = (
ElementsWithExecutionResults | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ElementsWithGDLParameter ¶
elementId: ElementId
# The list of GDL parameters.
gdlParameters: list[SetGDLParameterByNameDetails | SetGDLParameterByIndexDetails]
Import from multiconn_archicad.models.tapir.types.
ElementsWithMarkerLibraryPartItem ¶
elementId: ElementId
# The name of the library part the marker should use, as
# GetMarkerParametersOfElements and GetAvailableLibraryParts report it. It has
# to be a marker library part: Archicad's marker parent for windows or doors,
# or a library part derived from it. Any other library part is refused.
libraryPartName: str
Import from multiconn_archicad.models.tapir.types.
ElementsWithMoveVector ¶
elementId: ElementId
# Move vector of a 3D point.
moveVector: MoveVector
# Optional parameter. If true, then a copy of the element will be moved. By
# default it's false.
copy_: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementsWrapper ¶
A list of elements wrapped in an object.
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementTextureCoordinates ¶
# The solid bodies of the element's own 3D model, in Archicad's order, or an
# error for a body without texture information. Empty (or an error item
# instead) when the element has no solid 3D model of its own (the bodies of a
# Stair, Railing or Curtain Wall, and of the segments of a Column or Beam,
# belong to their subelements, which can be given instead).
bodies: list[BodyTextureCoordinates | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementTrims ¶
The trims of one element: the roofs and shells trimming it, and the elements it trims.
# The roofs and shells trimming this element, with the trim type.
trimmedBy: list[TrimmedByItem]
# The elements this roof or shell trims.
trims: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementType ¶
The type of an element.
WALL = 'Wall'
COLUMN = 'Column'
BEAM = 'Beam'
WINDOW = 'Window'
DOOR = 'Door'
OBJECT = 'Object'
LAMP = 'Lamp'
SLAB = 'Slab'
ROOF = 'Roof'
MESH = 'Mesh'
DIMENSION = 'Dimension'
RADIAL_DIMENSION = 'RadialDimension'
LEVEL_DIMENSION = 'LevelDimension'
ANGLE_DIMENSION = 'AngleDimension'
TEXT = 'Text'
LABEL = 'Label'
ZONE = 'Zone'
HATCH = 'Hatch'
LINE = 'Line'
POLY_LINE = 'PolyLine'
ARC = 'Arc'
CIRCLE = 'Circle'
SPLINE = 'Spline'
HOTSPOT = 'Hotspot'
CUT_PLANE = 'CutPlane'
CAMERA = 'Camera'
CAM_SET = 'CamSet'
GROUP = 'Group'
SECT_ELEM = 'SectElem'
DRAWING = 'Drawing'
PICTURE = 'Picture'
DETAIL = 'Detail'
ELEVATION = 'Elevation'
INTERIOR_ELEVATION = 'InteriorElevation'
WORKSHEET = 'Worksheet'
HOTLINK = 'Hotlink'
CURTAIN_WALL = 'CurtainWall'
CURTAIN_WALL_SEGMENT = 'CurtainWallSegment'
CURTAIN_WALL_FRAME = 'CurtainWallFrame'
CURTAIN_WALL_PANEL = 'CurtainWallPanel'
CURTAIN_WALL_JUNCTION = 'CurtainWallJunction'
CURTAIN_WALL_ACCESSORY = 'CurtainWallAccessory'
SHELL = 'Shell'
SKYLIGHT = 'Skylight'
MORPH = 'Morph'
CHANGE_MARKER = 'ChangeMarker'
STAIR = 'Stair'
RISER = 'Riser'
TREAD = 'Tread'
STAIR_STRUCTURE = 'StairStructure'
RAILING = 'Railing'
RAILING_TOPRAIL = 'RailingToprail'
RAILING_HANDRAIL = 'RailingHandrail'
RAILING_RAIL = 'RailingRail'
RAILING_POST = 'RailingPost'
RAILING_INNER_POST = 'RailingInnerPost'
RAILING_BALUSTER = 'RailingBaluster'
RAILING_PANEL = 'RailingPanel'
RAILING_SEGMENT = 'RailingSegment'
RAILING_NODE = 'RailingNode'
RAILING_BALUSTER_SET = 'RailingBalusterSet'
RAILING_PATTERN = 'RailingPattern'
RAILING_TOPRAIL_END = 'RailingToprailEnd'
RAILING_HANDRAIL_END = 'RailingHandrailEnd'
RAILING_RAIL_END = 'RailingRailEnd'
RAILING_TOPRAIL_CONNECTION = 'RailingToprailConnection'
RAILING_HANDRAIL_CONNECTION = 'RailingHandrailConnection'
RAILING_RAIL_CONNECTION = 'RailingRailConnection'
RAILING_END_FINISH = 'RailingEndFinish'
BEAM_SEGMENT = 'BeamSegment'
COLUMN_SEGMENT = 'ColumnSegment'
OPENING = 'Opening'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
ElementTypeFloorLayerFilter ¶
A server-side element filter. An element matches when its type, its home story and its layer are each among the listed ones; an omitted or empty list does not filter.
# Element types to keep (e.g. ['Wall', 'Column']).
types: list[ElementType] | None = None
# Home story indices to keep (e.g. [0, 1]).
floorIndices: list[int] | None = None
# Layer attribute indices to keep.
layerIndices: list[int] | None = None
Import from multiconn_archicad.models.tapir.types.
ElementTypeName ¶
elementType: ElementType
# The name of the element type in the language of the running Archicad (for
# example "Wand" for Wall in German Archicad).
name: str
Import from multiconn_archicad.models.tapir.types.
ElementTypeVisibility ¶
elementType: ElementType
show: bool
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElementURLReference ¶
The web link of an element.
# The URL of the link, e.g. https://www.graphisoft.com.
url: str
# The description of the link, e.g. GRAPHISOFT Home Page.
description: str
Import from multiconn_archicad.models.tapir.types.
ElementURLReferenceUpdate ¶
elementId: ElementId
# The URL of the link, e.g. https://www.graphisoft.com. At most 511 bytes in
# UTF-8.
url: str
# The description of the link, e.g. GRAPHISOFT Home Page. At most 255 bytes in
# UTF-8. When omitted or empty, the URL is used as the description (then the
# URL must fit in 255 bytes), because Archicad does not take a link with an
# empty description.
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
ElementUserData ¶
# The key-value pairs stored on the element.
userData: list[ElementUserDataPair]
Import from multiconn_archicad.models.tapir.types.
ElementUserDataPair ¶
# The key of the value.
key: str
# The stored value.
value: str
Import from multiconn_archicad.models.tapir.types.
ElementUserDataUpdate ¶
elementId: ElementId
# The key-value pairs to store on the element. A key that already exists on
# the element gets the new value; other keys are left as they are.
userData: list[UserDataPair] | None = None
# The keys to remove from the element. A key the element does not hold is
# ignored.
keysToDelete: list[UserDataKey] | None = None
Import from multiconn_archicad.models.tapir.types.
ElementWithMarkerParameters ¶
elementId: ElementId
# The marker parameters to change, each given by name or by index. The other
# marker parameters and the element's own settings are left as they are.
markerParameters: list[MarkerParameterUpdateByName | MarkerParameterUpdateByIndex]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ElemProjectionMode ¶
Floor plan projection mode of an element part (API_ElemProjectionModesID).
SYMBOLIC = 'Symbolic'
PROJECTED = 'Projected'
HYBRID = 'Hybrid'
Import from multiconn_archicad.models.tapir.types.
ElemTypeFilterItem ¶
elementType: ElementType
show: bool
Import from multiconn_archicad.models.tapir.commands.
ElevateElementsParameters ¶
# The elements with elevation offset pairs.
elementsWithElevations: list[ElementsWithElevation]
Import from multiconn_archicad.models.tapir.commands.
ElevateElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ElevationData ¶
startCoordinate: Coordinate2D
endCoordinate: Coordinate2D
depth: float | None = None
name: str | None = None
# The reference ID shown in the elevation marker and in the Project Map.
# Without it the elevation takes the ID of the Elevation tool defaults.
id: str | None = None
floorIndex: int | None = None
details: SectionElevationSettableDetails | None = None
Import from multiconn_archicad.models.tapir.types.
EmbeddedLibraryFile ¶
# The absolute path of the file to copy.
path: str
Import from multiconn_archicad.models.tapir.types.
EmbeddedLibraryItem ¶
# The relative path of the library item inside the embedded library, the same
# path AddFilesToEmbeddedLibrary takes as outputPath.
path: str
Import from multiconn_archicad.models.tapir.types.
EndpointConnections ¶
The connections of a wall, beam or beam segment.
# Elements connected to the beginning point of the element.
connectedToBeginPoint: list[ConnectionItem]
# Elements connected to the end point of the element.
connectedToEndPoint: list[ConnectionItem]
# Elements connected with their reference line to the beginning or end point
# of the element.
connectedWithReferenceLineToEndPoints: list[ConnectionItem]
# Elements connected to the reference line of the element, not at its
# endpoints.
connectedToReferenceLine: list[ConnectionItem]
# Elements whose reference line intersects the reference line of the element.
crossingReferenceLine: list[ConnectionItem]
Import from multiconn_archicad.models.tapir.types.
EnumValue ¶
An enumeration value.
# The identifier of a property enumeration value.
enumValueId: DisplayValueEnumId | NonLocalizedValueEnumId | None = None
# The identifier of the enumeration value, as reported by GetAllProperties. An
# element's stored value refers to the value by this.
guid: UUID | None = None
# Displayed value of the enumeration.
displayValue: str
# Nonlocalized value of the enumeration if there is one.
nonLocalizedValue: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
EnumValueIdArrayItem ¶
A wrapper containing the identifier of a property enumeration value.
# The identifier of a property enumeration value.
enumValueId: DisplayValueEnumId | NonLocalizedValueEnumId
Import from multiconn_archicad.models.tapir.types.
EnumValuesToAddItem ¶
enumValue: EnumValueToAdd
Import from multiconn_archicad.models.tapir.types.
EnumValueToAdd ¶
Text values for an enumeration option to add.
# Displayed value of the enumeration.
displayValue: str
# Nonlocalized value of the enumeration if there is one.
nonLocalizedValue: str | None = None
Import from multiconn_archicad.models.tapir.types.
Error ¶
The details of an error.
# The code of the error.
code: int
# The error message.
message: str
Import from multiconn_archicad.models.tapir.types.
ExecutionResult ¶
ExecutionResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ExecutionResultWithWarnings ¶
ExecutionResultWithWarnings: TypeAlias = (
SuccessfulExecutionResultWithWarnings
| FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ExportFavoritesParameters ¶
# Absolute path on the AC host. With the prefs format: Archicad writes a
# single file when the path has the extension of its Favorite binary file,
# otherwise a folder of that name. Archicad 29 creates a folder even at a
# .prefs path (seen with build 3200, #3087); ImportFavorites with the prefs
# format reads that folder back, and the legacyPRF format writes a single
# file. With the xml format: the folder to write the Favorite files to. With
# the legacyPRF format: the .prf file to write.
path: str
# Optional subset of Favorites to export. Default: export all.
names: list[str] | None = None
# prefs (the default) works in every Archicad version. xml exports each
# Favorite to its own file in the folder, and legacyPRF exports to a Favorites
# file of earlier Archicad versions; these two require Archicad 29 or newer.
format: FavoriteExportFormat | None = None
# Optional, true by default: an existing file is overwritten. false refuses to
# export when a file or folder already exists at path, and writes nothing. It
# needs an export to a single file (prefs format with a .prefs path, or
# legacyPRF format); with an export to a folder it is an error, as the names
# of the files written there are Archicad's.
overwrite: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ExportFavoritesResult ¶
ExportFavoritesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ExportIssuesToBCFParameters ¶
# Leave it empty to export all issues.
issues: list[IssueIdArrayItem] | None = None
# The os path to the bcf file, including it's name. An existing file is
# overwritten, unless overwrite is false.
exportPath: str
# Optional, true by default. false refuses to export when a file already
# exists at exportPath, and writes nothing.
overwrite: bool | None = None
# Use external IFC ID or Archicad IFC ID as referenced in BCF topics.
useExternalId: bool
# Align BCF views by Archicad Survey Point or Archicad Project Origin.
alignBySurveyPoint: bool
Import from multiconn_archicad.models.tapir.commands.
ExportIssuesToBCFResult ¶
ExportIssuesToBCFResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ExpressionDefaultValue ¶
Default value of the property in case of an expression based property value.
expressions: list[str]
F¶
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
FavoriteContents ¶
# The name of the Favorite.
name: str
# The path of the folder the Favorite is in, as Archicad gives it. Empty for
# the root folder.
folderPath: list[str]
# The classifications stored with the Favorite, in the format of
# GetClassificationsOfElements.
classifications: list[ClassificationIdArrayItem | ErrorItem]
# The element category values stored with the Favorite, in the format of
# GetCategoryValuesOfElements.
categoryValues: list[CategoryValue]
# The property values stored with the Favorite. Each has propertyValue, in the
# format of GetPropertyValuesOfElements, or an error when its value cannot be
# read.
properties: list[FavoritePropertyValue]
Import from multiconn_archicad.models.tapir.types.
FavoriteCreationConflictPolicy ¶
What to do when a Favorite with this name already exists: Error fails, Skip leaves the existing Favorite unchanged, OverwriteExisting gives the existing Favorite the new settings (its folder does not change), RenameNew creates the Favorite with ' (2)', ' (3)', ... appended to the name. Default Error.
ERROR = 'Error'
SKIP = 'Skip'
OVERWRITE_EXISTING = 'OverwriteExisting'
RENAME_NEW = 'RenameNew'
Import from multiconn_archicad.models.tapir.types.
FavoriteCreationOutcome ¶
Created for a new Favorite (also with RenameNew), Skipped or Overwritten when a Favorite with the name already existed.
CREATED = 'Created'
SKIPPED = 'Skipped'
OVERWRITTEN = 'Overwritten'
Import from multiconn_archicad.models.tapir.types.
FavoriteDefaultMarker ¶
The marker stored with the Favorite, for the element types that have one. Absent when the Favorite has no marker - that is not an error.
elementType: ElementType
# The library part of the marker. Absent when it could not be read.
libPart: LibPartDetails | None = None
# The GDL parameters of the marker.
parameters: list[StoredGDLParameter]
Import from multiconn_archicad.models.tapir.types.
FavoriteDefaults ¶
# The name of the Favorite.
favorite: str
elementType: ElementType
# The index of the layer the Favorite places its elements on.
layerIndex: int
# The element ID stored with the Favorite. Absent when it is empty.
elementId: str | None = None
# The folder hierarchy of the Favorite in the Favorites palette, outermost
# folder first. Empty for the root.
folder: list[str] | None = None
# The library part of the Favorite, for the library part based types (Object,
# Lamp, Window, Door, Skylight, Zone). Absent otherwise or when it could not
# be read.
libPart: LibPartDetails | None = None
# The GDL parameters stored with the Favorite. Empty for the types without GDL
# parameters.
parameters: list[StoredGDLParameter]
marker: FavoriteDefaultMarker | None = None
# The sub-elements stored with the Favorite, for example the frames and panels
# of a Curtain Wall.
subElements: list[SubElement]
Import from multiconn_archicad.models.tapir.types.
FavoriteDetails ¶
# The name of the favorite.
favorite: str
# The element type of the favorite, as in GetFavoritesByType.
elementType: str
# The classifications the favorite applies, one per classification system.
classifications: list[ClassificationIdArrayItem]
# The property values stored in the favorite.
properties: list[FavoriteProperty]
# The element category values (e.g. Structural Function, Position, Renovation
# Status) stored in the favorite.
categoryValues: list[FavoriteCategoryValue]
Import from multiconn_archicad.models.tapir.types.
FavoriteExportFormat ¶
Favorite export file format.
PREFS = 'prefs'
XML = 'xml'
LEGACY_PRF = 'legacyPRF'
Import from multiconn_archicad.models.tapir.types.
FavoriteFileEntry ¶
# The name of the Favorite.
name: str
elementType: ElementType
# The folder hierarchy of the Favorite in the file or folder. Empty = root.
folder: list[str]
Import from multiconn_archicad.models.tapir.types.
FavoriteFolderDetails ¶
A folder of the Favorites palette with its Favorites and subfolders recursively.
# The name of the folder. Empty for the root folder.
name: str
# The names of the folders leading from the root to this folder, this folder's
# name last. Empty for the root folder.
path: list[str]
# The names of the Favorites directly in this folder.
favorites: list[str]
subFolders: list[FavoriteFolderDetails]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
FavoriteImportConflictPolicy ¶
How to resolve name conflicts. The prefs format takes Error, Skip, Overwrite or Append, default Overwrite. The xml and legacyPRF formats take Error, Skip, OverwriteExisting or RenameNew, default Error.
ERROR = 'Error'
SKIP = 'Skip'
OVERWRITE = 'Overwrite'
APPEND = 'Append'
OVERWRITE_EXISTING = 'OverwriteExisting'
RENAME_NEW = 'RenameNew'
Import from multiconn_archicad.models.tapir.types.
FavoriteImportFormat ¶
The format to import from, the counterpart of the format of ExportFavorites. prefs (the default) works in every Archicad version. xml imports Favorite files from a folder, and legacyPRF a Favorites file of earlier Archicad versions; these two require Archicad 29 or newer.
PREFS = 'prefs'
XML = 'xml'
LEGACY_PRF = 'legacyPRF'
Import from multiconn_archicad.models.tapir.types.
FavoriteKeepField ¶
ID = 'id'
LAYER_INDEX = 'layerIndex'
WIDTH = 'width'
HEIGHT = 'height'
DEPTH = 'depth'
SILL_HEIGHT = 'sillHeight'
REFERENCE_LINE_LOCATION = 'referenceLineLocation'
TOP_OFFSET = 'topOffset'
RELATIVE_TOP_STORY = 'relativeTopStory'
Import from multiconn_archicad.models.tapir.types.
FavoriteNameAndFolder ¶
# The name of the Favorite.
name: str
# The folder the Favorite is in, the folder names from the root of the
# Favorites palette down, in the format GetFavoriteContents returns. When
# given, the Favorite is only looked for directly in that folder. Omit it to
# find the Favorite by name anywhere.
folderPath: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
FavoriteProperty ¶
propertyId: PropertyId
propertyName: str
status: FavoritePropertyStatus
# True if the value is the default value of the property.
isDefault: bool
propertyValue: PropertyValue | None = None
error: Error | None = None
Import from multiconn_archicad.models.tapir.types.
FavoritePropertyStatus ¶
The evaluation status of the value. propertyValue is only present for HasValue.
HAS_VALUE = 'HasValue'
NOT_EVALUATED = 'NotEvaluated'
NOT_AVAILABLE = 'NotAvailable'
Import from multiconn_archicad.models.tapir.types.
FavoritePropertyValue ¶
propertyId: PropertyId
propertyValue: PropertyValue | None = None
error: Error | None = None
Import from multiconn_archicad.models.tapir.types.
FavoriteRename ¶
oldName: str
newName: str
Import from multiconn_archicad.models.tapir.types.
FavoriteSettingGroup ¶
FLOOR_PLAN_AND_SECTION = 'FloorPlanAndSection'
CLASSIFICATION_AND_PROPERTIES = 'ClassificationAndProperties'
Import from multiconn_archicad.models.tapir.types.
FavoriteSettings ¶
# The name of the Favorite.
favorite: str
elementType: ElementType
# The folder hierarchy of the Favorite in the Favorites palette. Empty for the
# root.
folder: list[str] | None = None
# The library part of the Favorite, for the library part based types (Object,
# Lamp, Window, Door, Skylight, Zone). Absent otherwise or when it could not
# be read.
libPart: LibPartDetails | None = None
# The GDL parameters stored with the Favorite. Empty for the types without GDL
# parameters.
parameters: list[StoredGDLParameter]
marker: MarkerParametersOfElement | None = None
# The sub-elements stored with the Favorite.
subElements: list[FavoriteSubelement]
Import from multiconn_archicad.models.tapir.types.
FavoriteSettingsSource ¶
Where the settings of the new Favorite come from: exactly one of favoriteName and toolDefault.
# Take the settings of this Favorite.
favoriteName: str | None = None
# Take the current settings of this tool.
toolDefault: Literal['Opening'] | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
FavoriteSubelement ¶
subType: FavoriteSubelementType
elementType: ElementType
# The library part of the sub-element. Absent when it has none or it could not
# be read.
libPart: LibPartDetails | None = None
# The GDL parameters of the sub-element.
parameters: list[StoredGDLParameter]
Import from multiconn_archicad.models.tapir.types.
FavoriteSubelementType ¶
MainMarker for the main marker of the element; Other for any other kind of sub-element.
MAIN_MARKER = 'MainMarker'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
FavoriteSummary ¶
# The name of the Favorite.
name: str
# The element type of the Favorite. Missing when Archicad cannot read the
# Favorite's element settings.
elementType: ElementType | None = None
# The names of the folders leading from the root of the Favorites palette to
# the Favorite's folder. Returned only by SearchFavorites, and missing for a
# Favorite in the root folder.
folder: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
FavoritesWrapper ¶
The response of the GetFavoritesByType command.
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
FileType ¶
The type of the IFC file. The default is 'ifc'.
IFC = 'ifc'
IFCXML = 'ifcxml'
IFCZIP = 'ifczip'
IFCXMLZIP = 'ifcxmlzip'
Import from multiconn_archicad.models.tapir.types.
Fill ¶
part: StairSymbolPart
structureType: StructureType
visible: bool
Import from multiconn_archicad.models.tapir.types.
FillAttribute ¶
A fill attribute.
attributeId: AttributeId
index: int
name: str
subType: FillSubType | None = None
scaleWithPlan: bool | None = None
useForWalls: bool | None = None
useForDraft: bool | None = None
useForCover: bool | None = None
horizontalSpacing: float | None = None
verticalSpacing: float | None = None
angle: float | None = None
bitPattern: str | None = None
gradientStart: Coordinate2D | None = None
gradientEnd: Coordinate2D | None = None
symbolOffset1: Coordinate2D | None = None
symbolOffset2: Coordinate2D | None = None
percent: float | None = None
texture: Texture | None = None
lineItems: list[FillLineItem] | None = None
symbolLines: list[FillSymbolLine] | None = None
symbolArcs: list[FillSymbolArc] | None = None
symbolHotspots: list[Coordinate2D] | None = None
symbolSolidFills: list[FillSymbolSolidFill] | None = None
Import from multiconn_archicad.models.tapir.types.
FillAttributeField ¶
SUB_TYPE = 'subType'
SCALE_WITH_PLAN = 'scaleWithPlan'
USE_FOR_WALLS = 'useForWalls'
USE_FOR_DRAFT = 'useForDraft'
USE_FOR_COVER = 'useForCover'
HORIZONTAL_SPACING = 'horizontalSpacing'
VERTICAL_SPACING = 'verticalSpacing'
ANGLE = 'angle'
BIT_PATTERN = 'bitPattern'
GRADIENT_START = 'gradientStart'
GRADIENT_END = 'gradientEnd'
SYMBOL_OFFSET1 = 'symbolOffset1'
SYMBOL_OFFSET2 = 'symbolOffset2'
PERCENT = 'percent'
TEXTURE = 'texture'
LINE_ITEMS = 'lineItems'
SYMBOL_LINES = 'symbolLines'
SYMBOL_ARCS = 'symbolArcs'
SYMBOL_HOTSPOTS = 'symbolHotspots'
SYMBOL_SOLID_FILLS = 'symbolSolidFills'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
FillData ¶
Data to create a Fill.
# Indentifier of the existing Fill to overwrite, ignored if overwriteExisting
# is false.
attributeId: AttributeId | None = None
# Index of the existing Fill to overwrite, ignored if overwriteExisting is
# false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Fill with the given
# name will be overwritten. It must not be empty.
name: str
# Vector, Solid, Empty, Symbol, LinearGradient, RadialGradient, or Image.
# Defaults to Vector. Only one Solid and one Empty fill may exist. Image fills
# use the texture field's name to reference the image library part.
subType: str | None = None
# The fill is scale dependent.
scaleWithPlan: bool | None = None
# This fill can be used for cut fills.
useForWalls: bool | None = None
# This fill can be used for drafting fills.
useForDraft: bool | None = None
# This fill can be used for cover fills.
useForCover: bool | None = None
# The fill's spacing factor in the X direction (Vector fills).
horizontalSpacing: float | None = None
# The fill's spacing factor in the Y direction (Vector fills).
verticalSpacing: float | None = None
# The angle of the fill in radians (Vector, Symbol, and gradient fills).
angle: float | None = None
# 16 hex characters (8 bytes) describing the fill's bitmap pattern, one line
# of the pattern per byte, matching the Pattern field of the Attribute Manager
# XML export.
bitPattern: str | None = None
# Gradient start point (LinearGradient/RadialGradient fills only).
gradientStart: Coordinate2D | None = None
# Gradient end point (LinearGradient/RadialGradient fills only).
gradientEnd: Coordinate2D | None = None
# First offset vector of the repeating symbol motif, X1/Y1 in the Fill Types
# dialog (Symbol fills only).
symbolOffset1: Coordinate2D | None = None
# Second offset vector of the repeating symbol motif, X2/Y2 in the Fill Types
# dialog (Symbol fills only).
symbolOffset2: Coordinate2D | None = None
# Translucency percentage [0..1] (gradient and Solid fills). A Solid fill with
# a percent below 1 is created as a percent fill (like the 25 % fill), 1 makes
# it a full Solid fill.
percent: float | None = None
# Used for Image and gradient fills. Only name, rotationAngle, xSize, ySize,
# mirrorX, and mirrorY are used for Fills.
texture: Texture | None = None
# Vectorial fill line items (Vector fills only).
lineItems: list[FillLineItem] | None = None
# Line items of the fill's repeating symbol pattern (Symbol fills only).
symbolLines: list[FillSymbolLine] | None = None
# Arc items of the fill's repeating symbol pattern (Symbol fills only).
symbolArcs: list[FillSymbolArc] | None = None
# Hotspot coordinates of the fill's repeating symbol pattern (Symbol fills
# only).
symbolHotspots: list[Coordinate2D] | None = None
# Filled polygons of the fill's repeating symbol pattern (Symbol fills only),
# as GetFills returns them.
symbolSolidFills: list[FillSymbolSolidFill] | None = None
Import from multiconn_archicad.models.tapir.types.
FillLineItem ¶
# The distance between two instances of this item.
frequency: float
# The angle of the item, measured CCW from the horizontal axis, in radians.
direction: float
# The parallel offset of the item, measured from the (rotated) horizontal
# axis.
offsetLine: float
# The offset of the item.
offset: Coordinate2D
# Dash-gap length pairs describing this line item. Must contain an even number
# of items.
lineLengths: list[float] | None = None
Import from multiconn_archicad.models.tapir.types.
FillSubType ¶
VECTOR = 'Vector'
SOLID = 'Solid'
EMPTY = 'Empty'
SYMBOL = 'Symbol'
LINEAR_GRADIENT = 'LinearGradient'
RADIAL_GRADIENT = 'RadialGradient'
Import from multiconn_archicad.models.tapir.types.
FillSymbolArc ¶
begin: Coordinate2D
origin: Coordinate2D
# Arc angle in radians, measured CCW.
angle: float
Import from multiconn_archicad.models.tapir.types.
FillSymbolLine ¶
begin: Coordinate2D
end: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
FillSymbolSolidFill ¶
A filled polygon of a symbol fill's pattern (sfill_SolidFills with sfill_FillCoords, sfill_SubPolys and sfill_PolyArcs), in the same form as other polygons in Tapir: closed contours, the first point repeated at the end of each contour.
coordinates: list[Coordinate2D]
# 1-based index of the last coordinate of each contour (the outline first,
# then the holes).
subPolygons: list[int]
arcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
Filter ¶
Which property definitions to return: the user defined (Custom) ones, the built-in ones, or all. The default is All.
USER_DEFINED = 'UserDefined'
BUILT_IN = 'BuiltIn'
ALL = 'All'
Import from multiconn_archicad.models.tapir.types.
Filter3DMode ¶
FILTER_BY_RULES = 'FilterByRules'
FILTER_BY_SELECTION = 'FilterBySelection'
FILTER_BY_MARQUEE_AND_RULES = 'FilterByMarqueeAndRules'
Import from multiconn_archicad.models.tapir.types.
Filter3DSettingsUpdate ¶
The settings to change, in the form Get3DFilterAndCutSettings returns. Only the given keys are changed.
# The first story shown.
firstStory3D: int | None = None
# The last story shown.
lastStory3D: int | None = None
# Whether all stories are shown; if false, firstStory3D to lastStory3D.
allStories: bool | None = None
trimToStoryRange: bool | None = None
filterMode: Filter3DMode | None = None
# Whether each element type is shown. On Set only the listed element types are
# changed.
elemTypeFilter: list[ElementTypeVisibility] | None = None
Import from multiconn_archicad.models.tapir.commands.
FilterElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional. Archicad's own flag filters. An element is kept only when it
# fulfills all of them.
filters: list[ElementFilter] | None = None
# Optional. An element is kept only when it is on one of these layers (the
# layerIndex field of GetDetailsOfElements).
layerIndices: list[int] | None = None
# Optional. An element is kept only when its home story is one of these (the
# floorIndex field of GetDetailsOfElements).
floorIndices: list[int] | None = None
# Optional. An element is kept only when its type is one of these.
elementTypes: list[ElementType] | None = None
# Optional. true keeps only the elements that came in through a placed hotlink
# (they are read-only), false only the project's own elements.
fromHotlink: bool | None = None
# Optional. An element is kept only when it came in through one of these
# placed hotlink instances (the hotlinkId field of GetDetailsOfElements,
# elements of type Hotlink).
hotlinkIds: list[ElementId] | None = None
Import from multiconn_archicad.models.tapir.commands.
FilterElementsResult ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
FindDimensionStandardParameters ¶
# The name of the dimension standard, as listed in Options > Project
# Preferences > Dimensions.
name: str
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
FindLibraryPartsParameters ¶
kind: LibraryPartKind | None = None
# Optional. Only library parts whose name contains this text, ignoring case.
nameContains: str | None = None
# Optional. When true, only the first matching library part is returned. By
# default false.
firstOnly: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
FindLibraryPartsResult ¶
# The matching library parts.
libraryParts: list[FoundLibraryPart]
Import from multiconn_archicad.models.tapir.types.
FindModelViewOptionParameters ¶
The model view option combination to find, given by id or by name.
modelViewOptionId: ModelViewOptionId | None = None
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
FindModelViewOptionResult ¶
The model view option combination found.
# The index of the model view option combination.
index: int
modelViewOptionId: ModelViewOptionId
# The name of the model view option combination.
name: str
# The flags of the model view option combination, as Archicad returns them.
flags: int
Import from multiconn_archicad.models.tapir.commands.
FinishHierarchicalEditingParameters ¶
# True to accept the changes made in the hierarchical editing mode (OK), false
# to discard them (Cancel).
accept: bool
Import from multiconn_archicad.models.tapir.commands.
FinishHierarchicalEditingResult ¶
FinishHierarchicalEditingResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
FitInWindowParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
FitInWindowResult ¶
FitInWindowResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Flag ¶
HIDDEN = 'Hidden'
HIDDEN_FROM_SCRIPT = 'HiddenFromScript'
DISABLED = 'Disabled'
CHILD = 'Child'
UNIQUE = 'Unique'
FIXED = 'Fixed'
BOLD_NAME = 'BoldName'
OPEN = 'Open'
Import from multiconn_archicad.models.tapir.types.
FlexibleSegment ¶
The flexible segment tool default. Archicad 27 has it in the Ventilation domain only.
shape: MEPCrossSectionShape
width: float
height: float
Import from multiconn_archicad.models.tapir.types.
FloorFill ¶
Floor plan cover fill settings of a Slab. When modifying an element, omitted properties keep their current values.
# Whether the cover fill is shown on the floor plan.
use: bool | None = None
foregroundPen: int | None = None
backgroundPen: int | None = None
fillId: AttributeId | None = None
# Use Vectorial 3D Hatch patterns in Floor Plan view, taken from the top side
# material.
use3DHatching: bool | None = None
# Orientation of the cover fill. On a Slab, Archicad applies only the type
# through the API: it resets the origin and the distortion matrix, so
# ModifySlabs reports a given origin or matrix that did not stick as a
# failure.
orientation: HatchOrientation | None = None
Import from multiconn_archicad.models.tapir.types.
FloorPlanCutPlaneLevel ¶
A floor plan display limit measured from a relative story.
# The story the level is measured from, relative to the current story: 0 is
# the current story, 1 the story above it, -1 the story below it.
relativeStory: int
# The offset of the level from that story in meters.
offset: float
Import from multiconn_archicad.models.tapir.types.
FloorPlanCutPlaneLevelUpdate ¶
Partial changes to a floor plan display limit measured from a relative story.
# The story the level is measured from, relative to the current story: 0 is
# the current story, 1 the story above it, -1 the story below it.
relativeStory: int | None = None
# The offset of the level from that story in meters.
offset: float | None = None
Import from multiconn_archicad.models.tapir.types.
FloorPlanCutPlanePreferences ¶
The Floor Plan Cut Plane Settings (Document > Floor Plan Cut Plane): where the floor plan cuts the model and which range of it the floor plan shows.
# The height of the cut plane from the current story in meters.
cutPlaneHeight: float
# The top of the floor plan range: elements are shown up to this level.
topLevel: FloorPlanCutPlaneLevel
# The bottom of the floor plan range: elements are shown down to this level.
bottomLevel: FloorPlanCutPlaneLevel
# The absolute display limit from Project Zero in meters: elements set to show
# on the floor plan down to the absolute display limit are shown down to this
# level.
absoluteDisplayLimit: float
Import from multiconn_archicad.models.tapir.types.
FloorPlanCutPlanePreferencesUpdate ¶
The Floor Plan Cut Plane Settings (Document > Floor Plan Cut Plane): where the floor plan cuts the model and which range of it the floor plan shows.
# The height of the cut plane from the current story in meters.
cutPlaneHeight: float | None = None
# The top of the floor plan range: elements are shown up to this level.
topLevel: FloorPlanCutPlaneLevelUpdate | None = None
# The bottom of the floor plan range: elements are shown down to this level.
bottomLevel: FloorPlanCutPlaneLevelUpdate | None = None
# The absolute display limit from Project Zero in meters: elements set to show
# on the floor plan down to the absolute display limit are shown down to this
# level.
absoluteDisplayLimit: float | None = None
Import from multiconn_archicad.models.tapir.types.
FloorPlanPolygon ¶
coordinates: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.types.
FontDetails ¶
# Index of the font (from 1), as Text and Label fields reference it in
# fontIndex.
fontIndex: int
# Name of the font as Archicad carries it.
fontName: str
Import from multiconn_archicad.models.tapir.types.
Format ¶
The image format. Default is png.
PNG = 'png'
JPG = 'jpg'
Import from multiconn_archicad.models.tapir.types.
FoundLibraryPart ¶
# The name of the library part.
name: str | None = None
# The location of the library part file.
path: str | None = None
# The index of the library part in the loaded libraries.
index: int | None = None
Import from multiconn_archicad.models.tapir.types.
FrameContour ¶
The parameters of the frame contour.
# Width1 of the frame contour.
a1: float
# Width2 of the frame contour.
a2: float
# Length1 of the frame contour.
b1: float
# Length2 of the frame contour.
b2: float
G¶
Import from multiconn_archicad.models.tapir.types.
GDLDate ¶
The date GDL scripts see.
year: int
# 1 to 12. Archicad can also report 0, which SetGDLDate accepts back.
month: int
# 1 to 31. Archicad can also report 0, which SetGDLDate accepts back.
day: int
hour: int
minute: int
second: int
Import from multiconn_archicad.models.tapir.types.
GDLParameterDetails ¶
Details of a GDL parameter.
# The name of the parameter.
name: str
# The display name of the parameter.
displayName: str
# The index of the parameter.
index: int
# The type of the parameter.
type: str
# The 1st dimension of array (in case of array value).
dimension1: int | None = None
# The 2nd dimension of array (in case of array value).
dimension2: int | None = None
# The value of the parameter. For an array parameter it is a flat list of all
# items row by row: dimension1 rows of dimension2 items each.
# SetGDLParametersOfElements accepts the same flat list back.
value: Any
# The value description for numeric parameter.
valueDescription: str | None = None
# The parameter is locked; i.e. the user cannot modify it
isLocked: bool
# The flags of the parameter.
flags: list[Flag]
possibleValues: list[str] | list[PossibleNumericValue] | None = None
# The parameter can have a custom value.
canHaveCustomValue: bool | None = None
# Per-item text labels for an array-type parameter
# (API_AddParType.arrayDescriptions), one per array element in dim1xdim2
# order. Only present when the library part defines them.
itemDescriptions: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
GDLParameterList ¶
The list of GDL parameters.
# The list of GDL parameters.
parameters: list[GDLParameterDetails]
Import from multiconn_archicad.models.tapir.types.
GDLUserGlobal ¶
# The name of the parameter.
name: str
type: GDLUserGlobalType
# The 1st dimension of an array parameter.
dimension1: int | None = None
# The 2nd dimension of an array parameter, 1 for a one-dimensional array.
dimension2: int | None = None
# The value of the parameter as the parameter list holds it: a number, a
# boolean, a string, or 'On' or 'Off' for a LightSwitch. For an array
# parameter, a list of its dimension1 x dimension2 items, the first index
# outer.
value: Any
Import from multiconn_archicad.models.tapir.types.
GDLUserGlobalType ¶
The type of the parameter.
INTEGER = 'Integer'
LENGTH = 'Length'
ANGLE = 'Angle'
REAL_NUMBER = 'RealNumber'
LIGHT_SWITCH = 'LightSwitch'
RGB_COLOR = 'RGBColor'
INTENSITY = 'Intensity'
LINE_TYPE = 'LineType'
MATERIAL = 'Material'
FILL_PATTERN = 'FillPattern'
PEN_COLOR = 'PenColor'
STRING = 'String'
BOOLEAN = 'Boolean'
BUILDING_MATERIAL = 'BuildingMaterial'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.commands.
GenerateDocumentationParameters ¶
# Destination folder for the generated documentation files.
destinationFolder: str
Import from multiconn_archicad.models.tapir.commands.
GenerateDocumentationResult ¶
GenerateDocumentationResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
GeoReferencingParameters ¶
# Name by which the coordinate reference system is identified.
crsName: str
# Informal description of this coordinate reference system.
description: str
# Name by which this datum is identified.
geodeticDatum: str
# Name by which the vertical datum is identified.
verticalDatum: str
# Name by which the map projection is identified.
mapProjection: str
# Name by which the map zone, relating to the MapProjection, is identified.
mapZone: str
# Value along the easting axis of the end point of a vector indicating the
# position of the local x axis of the engineering coordinate reference system
# (IfcMapConversion.XAxisAbscissa).
xAxisAbscissa: float
# Value along the northing axis of the end point of a vector indicating the
# position of the local x axis of the engineering coordinate reference system
# (IfcMapConversion.XAxisOrdinate).
xAxisOrdinate: float
# Scale to be used, when the units of the CRS are not identical to the units
# of the engineering coordinate system (IfcMapConversion.Scale).
scale: float
Import from multiconn_archicad.models.tapir.types.
GeoReferencingParametersUpdate ¶
# Name by which the coordinate reference system is identified.
crsName: str | None = None
# Informal description of this coordinate reference system.
description: str | None = None
# Name by which this datum is identified.
geodeticDatum: str | None = None
# Name by which the vertical datum is identified.
verticalDatum: str | None = None
# Name by which the map projection is identified.
mapProjection: str | None = None
# Name by which the map zone, relating to the MapProjection, is identified.
mapZone: str | None = None
# Value along the easting axis of the end point of a vector indicating the
# position of the local x axis of the engineering coordinate reference system
# (IfcMapConversion.XAxisAbscissa).
xAxisAbscissa: float | None = None
# Value along the northing axis of the end point of a vector indicating the
# position of the local x axis of the engineering coordinate reference system
# (IfcMapConversion.XAxisOrdinate).
xAxisOrdinate: float | None = None
# Scale to be used, when the units of the CRS are not identical to the units
# of the engineering coordinate system (IfcMapConversion.Scale).
scale: float | None = None
Import from multiconn_archicad.models.tapir.commands.
Get2DBoundingBoxesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
Get2DBoundingBoxesResult ¶
# A list of 2D bounding boxes.
boundingBoxes2D: list[BoundingBox2DArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DBoundingBoxesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DBoundingBoxesResult ¶
# A list of 3D bounding boxes.
boundingBoxes3D: list[BoundingBox3DArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DCutawayStatusResult ¶
# Whether 3D Cutaway is on in the 3D window.
cutawayEnabled: bool
# Whether the cutting planes are shown in the 3D window.
cuttingPlanesVisible: bool
Import from multiconn_archicad.models.tapir.commands.
Get3DCutPlanesResult ¶
# Whether the 3D cut planes are switched on.
isCutPlanes: bool
# Whether the cut faces of the elements take customPen and customSurfaceId.
useCustom: bool
# The pen of the cut edges when useCustom is true. Missing when it is no valid
# pen (0).
customPen: int | None = None
# The surface of the cut faces when useCustom is true. Missing when it is no
# surface attribute.
customSurfaceId: AttributeId | None = None
# The cut planes, in the form accepted by Set3DCutPlanes: pa*x + pb*y + pc*z =
# pd, pd in meters.
cutPlanes: list[CutPlane]
Import from multiconn_archicad.models.tapir.commands.
Get3DDocumentSettingsParameters ¶
# The navigator item of the 3D Document, from the Project Map or the View Map.
navigatorItemId: NavigatorItemId
Import from multiconn_archicad.models.tapir.commands.
Get3DDocumentSettingsResult ¶
settings: Document3DSettings
Import from multiconn_archicad.models.tapir.commands.
Get3DGeometryOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DGeometryOfElementsResult ¶
# The 3D geometry of each element, aligned with the input: the solid bodies of
# its 3D model, or an error.
geometries3D: list[ElementGeometry3D | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DModelCountsResult ¶
# The number of components of each type in the 3D model Archicad currently
# holds, one item per type, or an error for a type that could not be counted.
counts: list[Model3DCount | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DProjectionSettingsResult ¶
# True for a perspective projection, false for an axonometric one.
isPersp: bool
# The Camera element the projection was set from. Missing when the projection
# does not come from a camera.
cameraElementId: ElementId | None = None
# The active Camera Set element. Missing when there is none.
activeCameraSetElementId: ElementId | None = None
# The perspective parameters. Present only when isPersp is true.
perspective: PerspectiveProjectionParameters | None = None
axonometric: AxonometricProjectionParameters | None = None
Import from multiconn_archicad.models.tapir.commands.
Get3DStyleDetailsParameters ¶
# The names of the 3D styles. An empty name means the current 3D style. When
# omitted, the current 3D style is returned.
names: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
Get3DStyleDetailsResult ¶
# The details of the 3D styles, in the order of the input names.
styles: list[Style3DDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Get3DStylesResult ¶
# The names of the 3D styles of the project.
styleNames: list[str]
# The name of the current 3D style, the one the 3D window uses.
currentStyleName: str
Import from multiconn_archicad.models.tapir.commands.
Get3DWindowSettingsResult ¶
# The horizontal size of the 3D window in pixels.
hSize: int
# The vertical size of the 3D window in pixels.
vSize: int
# The horizontal zoom scale of the 3D projection.
zoomScaleX: float
# The vertical zoom scale of the 3D projection.
zoomScaleY: float
# The horizontal displacement (pan) of the 3D projection.
zoomDispX: float
# The vertical displacement (pan) of the 3D projection.
zoomDispY: float
Import from multiconn_archicad.models.tapir.commands.
GetActiveGraphicalOverrideCombinationResult ¶
The graphic override combination applied to the current window. Empty when the current window has no combination applied.
combinationId: GraphicOverrideCombinationId | None = None
# The name of the graphic override combination. Missing when the combination
# cannot be read, e.g. it was deleted.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAddOnVersionResult ¶
# Version number in the form of "1.1.1".
version: str
Import from multiconn_archicad.models.tapir.commands.
GetAddOnViewpointChildrenParameters ¶
# The add-on viewpoint root or group to list the children of.
viewpointId: AddOnViewpointId
Import from multiconn_archicad.models.tapir.commands.
GetAddOnViewpointChildrenResult ¶
viewpointIds: list[AddOnViewpointIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAddOnViewpointRootsResult ¶
viewpointIds: list[AddOnViewpointIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAddOnViewpointsParameters ¶
viewpointIds: list[AddOnViewpointIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAddOnViewpointsResult ¶
# The details of each given add-on viewpoint item, in the order of the input,
# or an error for an item that cannot be read.
viewpoints: list[AddOnViewpointDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetAllClassificationSystemsResult ¶
# The classification systems of the project.
classificationSystems: list[ClassificationSystemSummary]
Import from multiconn_archicad.models.tapir.commands.
GetAllElementsOfGroupsParameters ¶
# The groups to get all the elements of.
groups: list[GroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAllElementsOfGroupsResult ¶
# All the elements of each given group, including the elements of its nested
# groups, or an error.
elementsOfGroups: list[ElementsWrapper | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAllElementsParameters ¶
filters: list[ElementFilter] | None = None
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAllElementsResult ¶
GetAllElementsResult: TypeAlias = (
ElementsWithExecutionResults | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetAllFavoritesParameters ¶
# Only the Favorites of this element type are returned. Omit it to get every
# Favorite.
elementType: ElementType | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAllFavoritesResult ¶
favorites: list[FavoriteSummary]
Import from multiconn_archicad.models.tapir.commands.
GetAllPropertiesParameters ¶
# Returns only the definitions of these properties. Identifiers not found in
# the project are left out of the response. All properties are returned when
# omitted.
properties: list[PropertyIdArrayItem] | None = None
# Returns only the properties of these types. All types are returned when
# omitted.
propertyTypes: list[PropertyDefinitionType] | None = None
# Adds the availability list (the classification items a custom property is
# available for) to each custom property. Default is true.
includeAvailability: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAllPropertiesResult ¶
# A list of property identifiers.
properties: list[PropertyDetails]
# Every property group, including empty ones.
propertyGroups: list[PropertyGroupDetails] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLinksParameters ¶
# The identifier of the Structural Analytical Model the geometry is read from.
# The model of the current view is used when it is omitted; in Archicad 26 it
# is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLinksResult ¶
# The link and its geometry for each element, in the order of the input. An
# element that is not an analytical link, or whose link cannot be got, is
# represented by an error object.
links: list[AnalyticalLinkDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadCasesResult ¶
# The load cases. A load case that cannot be read is represented by an error
# object.
loadCases: list[AnalyticalLoadCase | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadCombinationsParameters ¶
# The load combinations to read, answered in this order, an error object for
# one that does not exist. Every load combination of the project is listed
# when it is omitted.
loadCombinationIds: list[AnalyticalLoadCombinationIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadCombinationsResult ¶
# The load combinations of the project, or the ones given in
# loadCombinationIds. A load combination that cannot be read is represented by
# an error object.
loadCombinations: list[AnalyticalLoadCombination | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadGroupsParameters ¶
# The load groups to read, answered in this order, an error object for one
# that does not exist. Every load group of the project is listed when it is
# omitted.
loadGroupIds: list[AnalyticalLoadGroupIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadGroupsResult ¶
# The load groups of the project, or the ones given in loadGroupIds. A load
# group that cannot be read is represented by an error object.
loadGroups: list[AnalyticalLoadGroup | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadsParameters ¶
# The identifier of the Structural Analytical Model the geometry is read from.
# The model of the current view is used when it is omitted; in Archicad 26 it
# is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalLoadsResult ¶
# The load of each element, in the order of the input, with its geometry in
# the Structural Analytical Model and, for an edge or a surface load, its
# custom data (the curve or contour stored with the element). An element that
# is not an analytical point, edge or surface load, or whose load cannot be
# got, is represented by an error object.
loads: list[AnalyticalPointLoadDetails | AnalyticalEdgeLoadDetails | AnalyticalSurfaceLoadDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberDetailsParameters ¶
# The identifier of the Structural Analytical Model. The model of the current
# view is used when it is omitted; before Archicad 27 it is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
# When given, surface members are read as segmented surface members (for
# curved walls), each segment spanning at most this central angle, in radians.
segmentationCentralAngle: float | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberDetailsResult ¶
# The analytical member of each element, in the order of the input. An element
# that is no member of the model, or whose member cannot be read, is
# represented by an error object.
analyticalMembers: list[AnalyticalCurveMemberDetails | AnalyticalSurfaceMemberDetails | AnalyticalSegmentedSurfaceMemberDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberPartGeometriesParameters ¶
# The identifier of the Structural Analytical Model. The model of the current
# view is used when it is omitted; in Archicad 26 it is required.
analyticalModelId: GuidId | None = None
# The member parts to get the geometry of: vertices (BegVertex, EndVertex,
# CustomVertex) give a node, edges (Edge, RatioEdge, CustomEdge) a curve.
memberPartRefs: list[AnalyticalMemberPartRef]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberPartGeometriesResult ¶
# The node or curve of each member part, in the order of the input. A member
# part the geometry cannot be got for, a surface among them, is represented by
# an error object.
geometries: list[AnalyticalMemberPartNode | AnalyticalMemberPartCurve | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMembersResult ¶
# The elements of the curve members (beams, columns) of the model.
curveMembers: list[ElementIdArrayItem]
# The elements of the surface members (walls, slabs, roofs) of the model.
surfaceMembers: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberTypesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalMemberTypesOfElementsResult ¶
# The analytical member type of each element, in the order of the input, as
# the Complementary Project (the structural analysis project exchanged with
# Archicad) gives it: Unknown for every element when the project has none. An
# element that does not exist, or whose type cannot be got, is represented by
# an error object.
memberTypesOfElements: list[AnalyticalMemberTypeResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalModelParameters ¶
variation: AnalyticalModelVariation
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalModelVariationResult ¶
variation: AnalyticalModelVariation
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalReleasesParameters ¶
# The identifier of the Structural Analytical Model. The model of the current
# view is used when it is omitted; in Archicad 26 it is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalReleasesResult ¶
# The release of each element, in the order of the input. An element the
# release cannot be got for is represented by an error object.
releases: list[AnalyticalReleaseResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalSupportsParameters ¶
# The identifier of the Structural Analytical Model the geometry is read from.
# The model of the current view is used when it is omitted; in Archicad 26 it
# is required.
analyticalModelId: GuidId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalSupportsResult ¶
# The support and its geometry for each element, in the order of the input. An
# element that is not an analytical support, or whose support cannot be got,
# is represented by an error object.
supports: list[AnalyticalSupportDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAnalyticalVisibilitySettingsResult ¶
# The Structural Analytical Model visibility settings, with every field.
visibilitySettings: AnalyticalVisibilitySettings
Import from multiconn_archicad.models.tapir.commands.
GetArcFromUserParameters ¶
# Prompt for clicking the center of the arc. Single-byte text: the control box
# takes a char field.
centerPrompt: str | None = 'Click the center of the arc'
# Prompt for clicking the start point of the arc, which also sets its radius.
startPrompt: str | None = 'Click the start point of the arc'
# Prompt for clicking the end point of the arc. Archicad draws the arc while
# the cursor moves; the direction the cursor goes around the center decides
# whether the arc is clockwise.
endPrompt: str | None = 'Click the end point of the arc'
# If true, also draws the whole circle of the arc while the start and end
# points are chosen: its radius follows the cursor until the start point is
# clicked. Drawn in 2D windows only; the 3D window shows Archicad's default
# feedback.
showRubberArcFeedback: bool | None = True
# Which points and lines of the elements the cursor snaps to for the center
# and the start point. Archicad's arc input has no snap filter, so the end
# point snaps as usual. Default: Archicad's usual snapping.
snapFilter: SnapFilter | None = None
# Constrains every click: the center, the start point and the end point. With
# fromLastPoint the start point is measured from the center (type Distance
# fixes the radius, type Angle the direction of the start point) and the end
# point from the start point. Default: no constraint.
constraint: InputConstraint | None = None
Import from multiconn_archicad.models.tapir.commands.
GetArcFromUserResult ¶
# True if the user cancelled the input (Escape); no other field is returned
# then.
cancelled: bool
# The center of the arc.
center: Coordinate3D | None = None
# The radius of the arc: the distance of the start point from the center in
# the x-y plane.
radius: float | None = None
# The direction of the start point from the center, in radians from the x
# axis, counterclockwise, between -pi and pi.
startAngle: float | None = None
# The direction of the end point from the center, in radians from the x axis,
# counterclockwise, between -pi and pi.
endAngle: float | None = None
# The angle the arc turns through from its start to its end, in radians:
# positive (up to 2*pi) for a counterclockwise arc, negative (down to -2*pi)
# for a clockwise one.
arcAngle: float | None = None
# True if the arc was drawn clockwise from its start to its end.
clockwise: bool | None = None
# The start point of the arc, as clicked.
startPoint: Coordinate3D | None = None
# The end point of the arc: the point of its circle in the direction of the
# third click (its z is the clicked z).
endPoint: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.commands.
GetArchicadLicenseInfoResult ¶
# The kind of license Archicad runs on, read from protectionMode: Trial, Demo,
# Education (an education license with or without a key), BIMcloudTeamClient,
# Start (the Start edition), otherwise Full.
licenseType: LicenseType
# The raw protection mode bit mask reported by Archicad (the APIPROT_*_MASK
# bits of the Archicad API).
protectionMode: int
# The bits set in protectionMode, by name: Site (more licenses), NotForResale,
# School, PayPerUse, Network (network licensing), Teamwork (Teamwork
# functionality is on), Education (education key), Start (Start edition), Solo
# (SOLO edition), LiveSubscription, OEM (Archicad 27 or later), SSA (SSA
# license, Archicad 25 only), and without a hardware or software key
# EducationWithoutKey, Demo, Trial and BIMcloudTeamClient.
licenseFlags: list[LicenseFlag]
# The highest Software Service Agreement (SSA) level the license has: NoSSA,
# SSA or Forward. A script needing a level checks that this is at least that
# level, in this order. Missing in Archicad 25, which cannot report it.
ssaLevel: SsaLevel | None = None
Import from multiconn_archicad.models.tapir.commands.
GetArchicadLocationResult ¶
# The location of the Archicad executable in the filesystem.
archicadLocation: str
Import from multiconn_archicad.models.tapir.commands.
GetArchicadReleaseInfoResult ¶
# The main version of the running Archicad, e.g. 29.
mainVersion: int
# The release (update) version of the running Archicad.
releaseVersion: int
# The build number of the running Archicad.
buildNumber: int
# The caption of the Archicad application window. Missing when Archicad does
# not report it.
caption: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetArchicadVisibilityResult ¶
# True when the Archicad application is shown, false when it is hidden.
isVisible: bool
Import from multiconn_archicad.models.tapir.commands.
GetAttributeIndexesParameters ¶
# The attribute types to report the indexes of.
attributeTypes: list[AttributeType]
Import from multiconn_archicad.models.tapir.commands.
GetAttributeIndexesResult ¶
GetAttributeIndexesResult: TypeAlias = (
AttributeIndexSummary | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetAttributesByTypeParameters ¶
attributeType: AttributeType
Import from multiconn_archicad.models.tapir.commands.
GetAttributesByTypeResult ¶
GetAttributesByTypeResult: TypeAlias = (
AttributeHeadersWrapper | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetAttributesFromProjectParameters ¶
# The absolute path of the project or template file (for example .pln or .tpl)
# to read the attributes from.
projectFilePath: str
# The attribute types to read. Layer, Surface, BuildingMaterial and MEPSystem
# cannot be read from a file that is not open; they get an error item.
attributeTypes: list[AttributeType]
Import from multiconn_archicad.models.tapir.commands.
GetAttributesFromProjectResult ¶
GetAttributesFromProjectResult: TypeAlias = (
ProjectAttributes | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetAutoGroupModeResult ¶
# True if the Auto Group mode is currently on.
autoGroup: bool
Import from multiconn_archicad.models.tapir.commands.
GetAutoIntersectResult ¶
# True if Auto-Intersection is currently on.
isOn: bool
Import from multiconn_archicad.models.tapir.commands.
GetAutoTextKeysParameters ¶
# Optional. The element to retrieve context dependent autotext keys for (its
# own properties, plus the ones common to all element types, e.g. 'Element
# ID', 'Area'). When omitted, only the property based autotext keys common to
# all element types are returned. The other autotexts (Project Info, layout,
# drawing, date, ...) are returned either way.
elementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAutoTextKeysResult ¶
autoTextKeys: list[AutoTextKey]
Import from multiconn_archicad.models.tapir.commands.
GetAutoTextNameParameters ¶
# Autotext keys as returned by GetAutoTextKeys or GetProjectInfoFields
# (without the surrounding '<' and '>'), e.g.
# 'PROPERTY-69A58F6F-DD3B-478D-B5EF-09A16BD0C548' or 'PROJECTNAME'.
keys: list[AutoTextKeyValue]
Import from multiconn_archicad.models.tapir.commands.
GetAutoTextNameResult ¶
# One result per input key, in the same order.
autoTextNames: list[AutoTextName | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetAvailableLibraryPartsParameters ¶
# Optional. Only list the library parts of this type, the typeId of the
# response. 'Pict' and 'Picture' both list the pictures.
filterByTypeId: LibraryPartType | None = None
Import from multiconn_archicad.models.tapir.commands.
GetAvailableLibraryPartsResult ¶
libraryParts: list[AvailableLibraryPart]
# Library parts that ACAPI_LibraryPart_Get failed to read. Non-zero means the
# inventory is partial.
skippedCount: int
# First five failed indices with their ACAPI error code, for diagnostic.
skippedSample: list[SkippedLibraryPart] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetBodyMaterialsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetBodyMaterialsOfElementsResult ¶
# The bodies of each element, aligned with the input, or an error.
bodyMaterials: list[ElementBodyMaterials | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetBuildingMaterialPhysicalPropertiesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetBuildingMaterialPhysicalPropertiesResult ¶
# A list of building material physical properties
properties: list[BuildingMaterialPhysicalPropertiesArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetBuildingMaterialsParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Building Material. If omitted, every
# field is returned.
fields: list[BuildingMaterialAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetBuildingMaterialsResult ¶
# A list of building materials or errors.
buildingMaterials: list[BuildingMaterialAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCalculatedParametersOfCurtainWallSubElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetCalculatedParametersOfCurtainWallSubElementsResult ¶
# The calculated parameters of each given element, in the order of the input,
# or an error for an element that is not a curtain wall frame, panel, junction
# or accessory.
calculatedParametersOfElements: list[CalculatedParametersOfElements | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCalculationUnitsResult ¶
length: Length
area: CalculationUnitAreaFormat
volume: CalculationUnitVolumeFormat
angle: AngleUnitFormat
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetCategoryValuesOfDefaultsParameters ¶
# The element types whose tool defaults (the settings new elements get) are
# read.
elementTypes: list[ElementType]
# The categories to read. Left out: every category of the project.
categories: list[ElementCategoryType] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCategoryValuesOfDefaultsResult ¶
# The category values of the tool defaults of each element type, in the order
# of the input. A category Archicad cannot read for the type is left out of
# its list; an invalid element type, or one with none of the requested
# categories, is represented by an error object.
categoryValuesOfDefaults: list[DefaultCategoryValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCategoryValuesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# The categories to read. Left out: every category the element has.
categories: list[ElementCategoryType] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCategoryValuesOfElementsResult ¶
# The category values of each element, in the order of the input. A category
# the element does not have is left out of its list; an element that does not
# exist or has none of the requested categories (an annotation, for example)
# is represented by an error object.
categoryValuesOfElements: list[ElementCategoryValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationItemParentsParameters ¶
# A list of classification item identifiers.
classificationItemIds: list[ClassificationItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationItemParentsResult ¶
# The parent and the system of each given item, in the order of the input. A
# non-existing item is an error item.
classificationItemParents: list[ClassificationItemParent | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationItemVisibilityParameters ¶
# The elements, element tool defaults and attributes to check the
# classification items for.
targets: list[ElementIdArrayItem | ClassificationVisibilityToolDefault | AttributeIdArrayItem]
# A list of classification item identifiers.
classificationItemIds: list[ClassificationItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationItemVisibilityResult ¶
# One entry per target, in the order of the input. A non-existing element or
# attribute, or an invalid element type, is represented by an error object.
classificationItemVisibilities: list[ClassificationItemVisibilities | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationOfAttributesInSystemParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
classificationSystemId: ClassificationSystemId
Import from multiconn_archicad.models.tapir.commands.
GetClassificationOfAttributesInSystemResult ¶
# Order of the items is the same as in the input. classificationItemId is
# omitted when the attribute is unclassified in the system. Non-existing
# attributes or a non-existing classification system are represented by error
# objects.
attributeClassifications: list[ClassificationIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfAttributesResult ¶
# The classifications of the attributes, in the order of the input. A non-
# existing attribute is represented by an error object.
attributeClassifications: list[AttributeClassifications | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfElementDefaultsParameters ¶
# The element types whose tool defaults (the settings new elements get) are
# read.
elementTypes: list[ElementType]
# A list of classification system identifiers.
classificationSystemIds: list[ClassificationSystemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfElementDefaultsResult ¶
# Order of the outer list is that of the given element types, the inner list
# that of the given classification systems. Invalid element types or non-
# existing classification systems are represented by error objects.
elementDefaultClassifications: list[ElementClassificationItemArray | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# A list of classification system identifiers.
classificationSystemIds: list[ClassificationSystemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfElementsResult ¶
# Order of the ids are the same as in the input. Non-existing elements or non-
# existing classification systems are represented by error objects.
elementClassifications: list[ElementClassificationItemArray | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfToolDefaultsParameters ¶
# The element types whose tool defaults (the settings new elements get) are
# read.
elementTypes: list[ElementType]
Import from multiconn_archicad.models.tapir.commands.
GetClassificationsOfToolDefaultsResult ¶
# The classifications of the tool defaults of each element type, in the order
# of the given element types. Invalid element types are represented by error
# objects.
classificationsOfToolDefaults: list[ToolDefaultClassifications | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCollisionsParameters ¶
# A list of elements.
elementsGroup1: list[ElementIdArrayItem]
# A list of elements.
elementsGroup2: list[ElementIdArrayItem]
settings: CollisionCheckSettings | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetCommandsResult ¶
# Every command of the Tapir Add-On, in the order of the command reference.
commands: list[TapirCommandDescription]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetComponentsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetComponentsOfElementsResult ¶
# The components of each element, in the order of the given elements. Each
# component id carries the element id too, so the items can be passed on to
# GetPropertyValuesOfElementComponents as they are.
componentsOfElements: list[ElementComponentsArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCompositesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Composite. If omitted, every field is
# returned.
fields: list[CompositeAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCompositesResult ¶
# A list of composites or errors.
composites: list[CompositeAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetConnectedElementsParameters ¶
# The owner (host) elements whose connected elements are collected, e.g.
# Walls, Curtain Walls, Stairs or Railings.
elements: list[ElementIdArrayItem]
# The type of the connected elements to collect, e.g. Window or Door for a
# Wall owner, or a subelement type of a Curtain Wall, Stair or Railing owner.
connectedElementType: ElementType
Import from multiconn_archicad.models.tapir.commands.
GetConnectedElementsResult ¶
GetConnectedElementsResult: TypeAlias = (
ConnectedElementsWrapper | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetContainingDatabasesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetContainingDatabasesResult ¶
# The database of each element, in the order of the input elements. Pass
# windowType and databaseId to ChangeWindow to open it.
databases: list[ContainingDatabase | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCoordinateOriginsResult ¶
# The offset of the origin of the virtual coordinate system from the world
# origin. Archicad sets it after a project is opened when the model is far
# from the world origin. Missing when Archicad does not return it for the
# current window.
virtualOriginOffset: Coordinate2D | None = None
# The user origin of the current database, relative to the origin of the
# virtual coordinate system. Missing when the current window has none (only
# floor plan, section, detail and 3D windows have one).
userOrigin: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetCurrentLayerCombinationResult ¶
# The layer combination in effect in the current window. Missing when the
# current state of the layers matches no layer combination.
layerCombinationId: AttributeId | None = None
# The name of the layer combination. Missing together with layerCombinationId.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCurrentPenTableResult ¶
# The attribute index of the current Pen Table, as returned by Archicad.
index: int
# True if the index refers to an existing Pen Table attribute. When false,
# attributeId and name are omitted; the pens in effect can not be read with
# GetPenTables.
isPenTableAttribute: bool
attributeId: AttributeId | None = None
# The name of the current Pen Table attribute.
name: str | None = None
# The number of pens in the current Pen Table. Omitted when it can not be
# read.
penCount: int | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCurrentRevisionChangesOfLayoutsParameters ¶
# A list of Archicad databases.
layoutDatabaseIds: list[DatabaseIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetCurrentRevisionChangesOfLayoutsResult ¶
# The revision changes of the requested entities, in the order of the input,
# or an error for an entity whose changes could not be retrieved.
currentRevisionChangesOfLayouts: list[RevisionChangesArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCurrentToolResult ¶
The tool active in the Toolbox, in the form SetCurrentTool accepts. Empty when the active tool makes no element, e.g. the Arrow or the Marquee.
# The element type of the tool. Unknown for the tools of add-ons, which
# classId identifies.
elementType: ElementType | None = None
# The four-character subtype of the tool, e.g. DOOR, SKYL, CRWD, or the
# signature of a library part subtype registered by an add-on. Missing for the
# generic tool of the element type.
variation: str | None = None
# The class id (a guid) of the tool of an add-on, whose elementType is
# Unknown. Archicad 26 and later.
classId: UUID | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCurrentViewImageParameters ¶
# Optional, 3DWindow by default.
source: ViewImageSource | None = None
# Optional, png by default.
format: ViewImageFormat | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCurrentViewImageResult ¶
# The base64 encoded image, in the requested format.
image: str
# The width of the image in pixels.
width: int
# The height of the image in pixels.
height: int
Import from multiconn_archicad.models.tapir.commands.
GetCurrentWindowDrawingScaleResult ¶
# The denominator of the drawing scale of the current window: 100.0 for 1:100,
# 20.0 for 1:20. Always 1.0 for layouts.
scale: float
Import from multiconn_archicad.models.tapir.commands.
GetCurrentWindowTypeResult ¶
currentWindowType: WindowType
# The database shown in the current (active) window, the same id GetDatabases
# and GetContainingDatabases return. Pass it to ChangeWindow to bring this
# window back. Missing when the window has no database of its own that can be
# identified, for example a report, a rendering or a custom add-on window. The
# saved view (View Map item) the window was opened from is not returned:
# Archicad does not tell which one it was, and several saved views can show
# the same database.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
GetCurtainWallAbsoluteBottomsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetCurtainWallAbsoluteBottomsResult ¶
# The absolute bottom of each element, aligned with the input, or an error.
absoluteBottoms: list[CurtainWallAbsoluteBottom | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCustomCurveMemberStretchParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetCustomCurveMemberStretchResult ¶
# The custom stretch of the curve member of each element, in the order of the
# input. An element the stretch cannot be got for is represented by an error
# object.
stretches: list[AnalyticalCurveMemberStretch | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetCutPolygonsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
cutPlane: ElementCutPlane
Import from multiconn_archicad.models.tapir.commands.
GetCutPolygonsOfElementsResult ¶
# The cut of each body of each element, aligned with the input, or an error.
cutPolygons: list[ElementCutPolygons | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDatabaseIdFromNavigatorItemIdParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDatabaseIdFromNavigatorItemIdResult ¶
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDatabasesParameters ¶
# The types of the databases to list. Optional, by default the databases of
# every type are listed.
types: list[DatabaseType] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetDatabasesResult ¶
databases: list[DatabaseDetails]
Import from multiconn_archicad.models.tapir.commands.
GetDefaultDesignOptionResult ¶
# True when new elements go to the Main Model, false when they go to
# designOption.
isMainModel: bool
# The default design option, which new elements go to. Only present when
# isMainModel is false.
designOption: DesignOptionDetails | None = None
Import from multiconn_archicad.models.tapir.commands.
GetDescriptorsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDescriptorsOfElementsResult ¶
# The descriptors of each element, aligned with the input array of elements,
# or an error.
descriptorsOfElements: list[ElementDescriptors | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionCombinationOfViewsParameters ¶
# The navigator items of the views (View Map items).
navigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionCombinationOfViewsResult ¶
designOptionCombinationOfViews: list[ViewDesignOptionCombination | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionCombinationsResult ¶
designOptionCombinations: list[DesignOptionCombinationDetails]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionForElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionForElementsResult ¶
designOptionForElements: list[DesignOptionForElement]
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionSetsResult ¶
designOptionSets: list[DesignOptionSet]
# The Teamwork identifier of the project's design options. Present only in
# Teamwork projects.
teamworkId: GuidId | None = None
Import from multiconn_archicad.models.tapir.commands.
GetDesignOptionsResult ¶
designOptions: list[DesignOptionDetails]
Import from multiconn_archicad.models.tapir.commands.
GetDetailsOfElementsParameters ¶
# Optional list of elements to get details for. When omitted, all elements in
# the current database (optionally filtered by the filter parameter) are used;
# an empty list returns no details.
elements: list[ElementIdArrayItem] | None = None
# Optional filter for the fields to return for each element. When omitted,
# every field is returned. Fields not listed are not computed at all, so
# listing only what you need skips in particular the floorPlanPolygons
# extraction, which regenerates each element's 2D drawing primitives and can
# dominate the execution time of batch reads.
fields: list[ElementDetailsField] | None = None
# Optional server-side filter. Without elements, only the elements matching it
# are returned. A listed element that does not match it gets an error entry in
# its place.
filter: ElementTypeFloorLayerFilter | None = None
# Optional extra fields to return for each element, on top of the ones
# selected by fields. None of them is returned unless listed here, so callers
# that do not give this parameter get the same response as before.
additionalFields: list[ElementDetailsAdditionalField] | None = None
# Optional, default false. When true, a listed element of another database (a
# drawing on a layout that is not open, an element of a worksheet, a section,
# a master layout ...) is read in full: the add-on makes the element's own
# database the current one while it reads it, without opening a window, and
# puts the starting database back afterwards. Without it, such an element
# returns only its header fields with fromOtherDatabase set to true. An
# element whose database cannot be made current (for example a worksheet whose
# window was never opened) still returns only its header. Archicad 29 already
# reads such elements in full without this key (seen on macOS), so it changes
# nothing there.
readFromOtherDatabases: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetDetailsOfElementsResult ¶
# One entry per input element, in the same order as the input elements array.
# An element that cannot be read, or that does not match the filter, gets an
# error entry in its place, so the position of an entry tells which input
# element it belongs to. Without elements, one entry per element that matches
# the filter.
detailsOfElements: list[DetailsOfElement | ElementHeaderFromOtherDatabase | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDialogAutoCloseResult ¶
# Whether the dialog auto close is on: true while Archicad closes the dialogs
# it would show with their default button instead of waiting for the user.
# This is the same state SetDialogAutoClose writes.
enabled: bool
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetDimensionDataResult ¶
dimensionsData: list[DimensionData | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDimensionStandardsParameters ¶
# Only the dimension standard with this name is returned (case-sensitive). The
# list is empty when no standard has this name.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetDimensionStandardsResult ¶
dimensionStandards: list[DimensionStandard]
Import from multiconn_archicad.models.tapir.commands.
GetDocumentFrom3DDefaultsResult ¶
# The name of a new 3D Document.
name: str
# The reference ID of a new 3D Document.
refId: str
# Vectorial 3D hatching.
vect3DHatching: bool
# Vectorial sun shadows.
vectSunShadow: bool
# Transparency of the model.
mustBeTransparent: bool
intPlanConn: Document3DPlanConnection | None = None
# Use the surfaces of the 3D model; when false, cMater is used for every
# element.
materialFrom3D: bool
# Contours off.
contureOff: bool
# The index of the uniform surface (material), used when materialFrom3D is
# false.
cMater: int
boundaryDisplay: Document3DBoundaryDisplay | None = None
# The pen of the boundary contours, used with OverrideContours.
boundaryPen: int
# The index of the line type of the boundary contours, used with
# OverrideContours.
boundaryLineType: int
attributeOptions: Document3DAttributeOptions
Import from multiconn_archicad.models.tapir.commands.
GetDocumentRevisionsResult ¶
documentRevisions: list[DocumentRevision]
Import from multiconn_archicad.models.tapir.commands.
GetDrawingContentBoxesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDrawingContentBoxesResult ¶
# One item per input element, in the same order: the full content box of the
# Drawing, or an error.
contentBoxes: list[DrawingContentBox | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetDrawingNumberingGridLinesResult ¶
# The lines of the grid of the grid-based drawing numbering of the current
# layout. Only a layout that uses grid-based drawing numbering has such a
# grid.
lines: list[DrawingNumberingGridLine]
Import from multiconn_archicad.models.tapir.commands.
GetDrawingPrimitivesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetDrawingPrimitivesOfElementsResult ¶
# The drawing primitives of each element, in the order of the input elements.
drawingPrimitivesOfElements: list[ElementDrawingPrimitives | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetEditModeStateResult ¶
# True when Archicad is in any hierarchical editing mode (curtain wall, stair,
# railing, beam, column, MEP elements, etc.). Only returned from Archicad 29.
inEditMode: bool | None = None
# Curtain wall editing mode.
curtainWall: EditModeStateItem
# Stair editing mode.
stair: EditModeStateItem
# Beam editing mode.
beam: EditModeStateItem
# Column editing mode.
column: EditModeStateItem
Import from multiconn_archicad.models.tapir.commands.
GetElectricalCircuitsParameters ¶
# Optional list of electrical circuits.
elements: list[ElementIdArrayItem] | None = None
# Optional list of electrical panels whose circuits are returned. When neither
# elements nor electricalPanels is given, every circuit of every electrical
# panel of the project is returned.
electricalPanels: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElectricalCircuitsResult ¶
# The given circuits first, in their order, then the circuits of the given
# panels, in the order of the panels.
electricalCircuits: list[ElectricalCircuitDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElectricalDevicesParameters ¶
# Optional list of electrical devices. Every electrical device of the project
# is returned when it is not given.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElectricalDevicesResult ¶
# The electrical devices, in the order of the given elements.
electricalDevices: list[ElectricalDeviceDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElectricalPanelsParameters ¶
# Optional list of electrical panels. Every electrical panel of the project is
# returned when it is not given.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElectricalPanelsResult ¶
# The electrical panels, in the order of the given elements.
electricalPanels: list[ElectricalPanelDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElectricalProjectSettingsResult ¶
# The default voltage of the project.
voltage: float
wiringTypes: list[ElectricalWiringType]
loadClassifications: list[ElectricalLoadClassification]
Import from multiconn_archicad.models.tapir.commands.
GetElementAtCoordinateParameters ¶
# The type of the element to look for. Only polygonal element types can be
# searched, for example Slab, Roof, Mesh, Zone or Hatch.
elementType: ElementType
# The point to search at, in the project's coordinates, on the floor plan of
# the current database.
coordinate: Coordinate2D
# Optional. The elevation of the search point, handed to Archicad together
# with the coordinate. Archicad finds the highest element whose top is below
# z. Default is 0; without z a point 1 mm higher is also tried, so an element
# whose top is at 0 (for example a slab at the story level) is found, and then
# the topmost element on the active story, so an element whose top is above
# the story level is found too, like a click on the floor plan.
z: float | None = None
# Optional. Only an element passing every given filter is found (the same
# values as FilterElements accepts).
filters: list[ElementFilter] | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetElementCategoriesResult ¶
# The element categories of the project, each with its possible values.
categories: list[ElementCategoryDetails]
Import from multiconn_archicad.models.tapir.commands.
GetElementChangesSinceParameters ¶
# The state to compare from, as returned by CaptureElementState.
stateId: ElementStateId
# The state to compare to, as returned by CaptureElementState with the same
# type as stateId. If omitted, the current state of the project is used, so
# the response lists what changed since stateId was captured.
toStateId: ElementStateId | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementChangesSinceResult ¶
# The elements that exist in the later state but not in the earlier one.
newElements: list[ElementIdArrayItem]
# The elements that exist in both states and changed between them.
modifiedElements: list[ElementIdArrayItem]
# The elements that exist in the earlier state but not in the later one. They
# cannot be read any more, only their identifiers are known.
deletedElements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementConnectionsParameters ¶
# The elements to search connections among. Only connections between two of
# these elements are returned.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementConnectionsResult ¶
# The connected pairs of the given elements. Each pair appears once.
connections: list[ElementConnection]
# Aligned with the input array of elements: whether the element was found and
# taken into the search.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
GetElementFieldDefinitionsParameters ¶
# The element type whose fields are listed.
elementType: ElementType
Import from multiconn_archicad.models.tapir.commands.
GetElementFieldDefinitionsResult ¶
# The C++ struct of the element type in the Archicad API, e.g.
# API_AngleDimensionType.
structName: str
# Every field GetElementFields reads and SetElementFields writes for this
# element type.
fields: list[ElementFieldDefinition]
Import from multiconn_archicad.models.tapir.commands.
GetElementFieldsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# The paths of the fields to read (see GetElementFieldDefinitions), e.g.
# ["note.noteFont", "note.frame"]. Every field of the element is read when it
# is left out. A path the element type does not have is listed in the
# element's missingFields.
fields: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementFieldsResult ¶
# The fields of each element, aligned with the input.
elementFields: list[ElementFieldValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementFromUserParameters ¶
# Shown in the control box while Archicad waits for the click. Single-byte
# text: the box takes a char field. Archicad's main thread waits for the click
# or for Escape, and every other JSON command queues behind this one until
# then.
prompt: str | None = None
# Only an element of one of these types is accepted. A click on empty space or
# on an element of another type asks for the click again. Default: any
# element.
elementTypes: list[ElementType] | None = None
# Which points and lines of the elements the cursor snaps to, for example only
# the points and edges of the element types asked for. Default: Archicad's
# usual snapping.
snapFilter: SnapFilter | None = None
# Constrains every click, for example to a fixed X coordinate or to a
# direction. Default: no constraint.
constraint: InputConstraint | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementFromUserResult ¶
# The clicked element. In a section or elevation window it is the model
# element the section element was cut from.
elementId: ElementId | None = None
# The type of the clicked element (one of the ElementType values, or Unknown).
elementType: str | None = None
# The clicked point in the project's coordinates, as GetPointFromUser returns
# it.
position: Coordinate3D | None = None
# The coordinate of the clicked part of the element (e.g. its node or
# hotspot), when Archicad gives one for it.
elementPosition: Coordinate3D | None = None
# True when the input was cancelled with Escape; no other field is returned
# then.
cancelled: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementPreviewImageParameters ¶
elementId: ElementId
# The type of the preview image. Default is 3D.
imageType: ImageType | None = None
# The image format. Default is png.
format: Format | None = None
# The width of the preview image in pixels. Default is 128.
width: int | None = None
# The height of the preview image in pixels. Default is 128.
height: int | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementPreviewImageResult ¶
# The base64 encoded preview image.
previewImage: str
Import from multiconn_archicad.models.tapir.commands.
GetElementsAttachedToIssueParameters ¶
issueId: IssueId
type: IssueElementType
Import from multiconn_archicad.models.tapir.commands.
GetElementsAttachedToIssueResult ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsByClassificationParameters ¶
# A list of classification item identifiers.
classificationItemIds: list[ClassificationItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsByClassificationResult ¶
# The elements classified with each classification item, aligned with the
# input, or an error for a non-existing classification item.
elementsOfClassificationItems: list[ClassificationItemElements | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsByCriteriaParameters ¶
# Optional filter for element types (e.g. ['Wall', 'Column']).
types: list[ElementType] | None = None
# Optional filter for story/floor indices (e.g. [0, 1]).
floorIndices: list[int] | None = None
# Optional filter for layer attribute indices.
layerIndices: list[int] | None = None
# Optional Archicad API element filter flags. Objects that belong to another
# element (zone stamps, the parts of stairs, railings and curtain walls) are
# left out unless IncludeSubElemObjects is given, as in GetElementsByType and
# GetAllElements.
filters: list[ElementFilter] | None = None
# Optional list of property evaluation criteria. All criteria must match (AND
# condition).
propertyCriteria: list[PropertyCriterion] | None = None
# If true, only returns the count of matching elements without listing their
# GUIDs. Minimizes token usage.
countOnly: bool | None = None
# Maximum number of matching elements to list. The count is still the total
# number of matches.
limit: int | None = None
# Optional. The databases to search, as GetDatabases lists them; an element
# found in more than one is counted once. If omitted, the current database is
# searched: the floor plan, or in a section or elevation window the model
# elements it shows.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementsByCriteriaResult ¶
# Total number of matching elements.
count: int
# List of matching elements.
elements: list[ElementIdArrayItem] | None = None
# Only when databases is given: whether each database could be searched, in
# the order of databases.
executionResultForDatabases: list[SuccessfulExecutionResult | FailedExecutionResult] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementsByIFCIdsParameters ¶
# A list of IFC identifiers to get the corresponding elements for. Each one is
# either an IFC GlobalId (22 characters) or, before Archicad 28, the 36
# character GUID form that GetIFCIdsOfElements returns there as ifcId.
ifcIds: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetElementsByIFCIdsResult ¶
# A list of elements identified by their IFC identifiers or errors.
elementsByIFCIds: list[ElementsByIFCId]
Import from multiconn_archicad.models.tapir.commands.
GetElementsByTypeParameters ¶
elementType: ElementType
filters: list[ElementFilter] | None = None
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementsByTypeResult ¶
GetElementsByTypeResult: TypeAlias = (
ElementsWithExecutionResults | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetElementSetDataParameters ¶
# The element sets to get the data of.
elementSets: list[ElementSetIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementSetDataResult ¶
# The data of each given element set, or an error.
elementSets: list[ElementSetDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementSetsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementSetsOfElementsResult ¶
# The element sets that contain each given element, or an error, in the order
# of the input. Only element sets created by the Tapir Add-On are examined.
elementSetsOfElements: list[ElementSetsOfElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsInCreationOrderParameters ¶
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementsInCreationOrderResult ¶
GetElementsInCreationOrderResult: TypeAlias = (
ElementsWithExecutionResults | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetElementsInDrawOrderParameters ¶
# Optional. Only elements of this type are returned, still in drawing order.
# If omitted, every element is returned.
elementType: ElementType | None = None
# Optional. The filters an element must pass to be returned, the same as for
# GetElementsByType.
filters: list[ElementFilter] | None = None
# The databases to list the elements of, each in its own drawing order. If
# omitted, the current database is used.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementsInDrawOrderResult ¶
GetElementsInDrawOrderResult: TypeAlias = (
ElementsWithExecutionResults | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetElementsOfDesignOptionsParameters ¶
designOptions: list[DesignOptionIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsOfDesignOptionsResult ¶
elementsOfDesignOptions: list[ElementsOfDesignOption | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsOfGroupsParameters ¶
# The groups to get the elements of.
groups: list[GroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementsOfGroupsResult ¶
# The elements directly contained by each given group, or an error.
elementsOfGroups: list[ElementsWrapper | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementTrimsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementTrimsResult ¶
# One item per queried element, in order. An unknown or deleted element is an
# error item, so it cannot be mistaken for an element that is simply not
# trimmed.
elementTrims: list[ElementTrims | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementTypeNamesParameters ¶
# The element types to get the localized names of.
elementTypes: list[ElementType]
Import from multiconn_archicad.models.tapir.commands.
GetElementTypeNamesResult ¶
# The localized name of each element type, aligned with the input, or an
# error.
names: list[ElementTypeName | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetElementUserDataParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional. Only the pairs with these keys are returned; a key an element does
# not hold is left out of its pairs. When omitted, every pair stored on each
# element is returned.
keys: list[UserDataKey] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetElementUserDataResult ¶
# One item per element, in the input order: the pairs stored on the element
# (none when the element holds no user data of Tapir), or an error when the
# element was not found or its data could not be read.
elementUserData: list[ElementUserData | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetExportToleranceResult ¶
# The largest distance allowed between an arc and the straight segments that
# replace it when Archicad segments curves for export, in meters.
arcTolerance: float
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteContentsParameters ¶
# The folder to read, the folder names from the root of the Favorites palette
# down. The Favorites of its subfolders are returned too. Omit it or leave it
# empty for every Favorite.
folderPath: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteContentsResult ¶
# The Favorites of the folder and of its subfolders, or an error for a
# Favorite that could not be read.
favorites: list[FavoriteContents | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteDefaultsParameters ¶
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteDefaultsResult ¶
# The element default of each given Favorite, in the order of the input, or an
# error for a Favorite that could not be read.
favoriteDefaults: list[FavoriteDefaults | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteDetailsParameters ¶
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteDetailsResult ¶
# The details of the given favorites, in the order of the input, or an error
# for a favorite that could not be read.
favoriteDetails: list[FavoriteDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteFoldersResult ¶
rootFolder: FavoriteFolderDetails
Import from multiconn_archicad.models.tapir.commands.
GetFavoritePreviewImageParameters ¶
# The name of the favorite.
favorite: str
# The type of the preview image. Default is 3D.
imageType: ImageType | None = None
# The image format. Default is png.
format: Format | None = None
# The width of the preview image in pixels. Default is 128.
width: int | None = None
# The height of the preview image in pixels. Default is 128.
height: int | None = None
Import from multiconn_archicad.models.tapir.commands.
GetFavoritePreviewImageResult ¶
# The base64 encoded preview image.
previewImage: str
Import from multiconn_archicad.models.tapir.commands.
GetFavoritesByTypeParameters ¶
elementType: ElementType
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteSettingsParameters ¶
# A list of favorite names
favorites: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetFavoriteSettingsResult ¶
# The settings of each given Favorite, in the order of the input, or an error
# for a Favorite that could not be read.
favoriteSettings: list[FavoriteSettings | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFieldsOfElementDefaultsParameters ¶
# The element types whose tool defaults are read.
elementTypes: list[ElementType]
# The paths of the fields to read (see GetElementFieldDefinitions), e.g.
# ["thickness", "height"]. Every field of the defaults is read when it is left
# out. A path the element type does not have is listed in missingFields.
fields: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetFieldsOfElementDefaultsResult ¶
# The fields of the tool defaults of each element type, in the input order, or
# an error when the type has no fields in the table or no tool defaults.
fieldsOfElementDefaults: list[ToolDefaultFieldValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFillsParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Fill. If omitted, every field is
# returned. Requesting only the fields you need avoids fetching
# lineItems/symbolLines/symbolArcs/symbolHotspots, which can be large.
fields: list[FillAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetFillsResult ¶
# A list of fills or errors.
fills: list[FillAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetFontsByNameParameters ¶
# Names of the fonts to find, as the Text tool's font list shows them and
# GetDetailsOfElements reports them in fontName, e.g. 'Arial'.
fontNames: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetFontsByNameResult ¶
# One item per name, in the order given: the font found, or an error when no
# loaded font has the name.
fonts: list[FontDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetGDLParametersOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional. Only the parameters with these GDL variable names are returned
# (case-insensitive), in the order of the library part. A name the element's
# library part does not have is left out. All parameters are returned when it
# is not given.
parameterNames: list[str] | None = None
# Optional, true by default. When false, possibleValues (the value lists of
# the Parameter Script, e.g. every installed font for a font parameter) is
# left out of the answer, which makes it much smaller.
includePossibleValues: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetGDLParametersOfElementsResult ¶
# The GDL parameters of elements.
gdlParametersOfElements: list[GDLParameterList]
Import from multiconn_archicad.models.tapir.commands.
GetGDLParametersOfLibraryPartsParameters ¶
# The library parts to read the default GDL parameters of.
libraryParts: list[LibraryPartGDLParameterQuery]
Import from multiconn_archicad.models.tapir.commands.
GetGDLParametersOfLibraryPartsResult ¶
# The default GDL parameters of each given library part, in the order of the
# input, or an error for a name that no loaded library part has.
gdlParametersOfLibraryParts: list[LibraryPartGDLParameters | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetGDLUserGlobalsResult ¶
# The GDL parameters, in the format GetGDLParametersOfElements uses.
# Separators, titles and dictionary parameters have no value here and are left
# out.
globals: list[GDLUserGlobal]
Import from multiconn_archicad.models.tapir.commands.
GetGeoLocationResult ¶
projectLocation: ProjectLocation
surveyPoint: SurveyPoint
Import from multiconn_archicad.models.tapir.commands.
GetGhostStorySettingsResult ¶
# Whether the ghost story (Trace & Reference) is shown on the floor plan.
on: bool
# Whether the story at storyIndex is the ghost story.
showOne: bool
# Whether the story above the current one is the ghost story.
showAbove: bool
# Whether the story below the current one is the ghost story.
showBelow: bool
# The index of the ghost story, as GetStories reports it. Meaningful when
# showOne is true.
storyIndex: int
# The color the ghost story is drawn in.
ghostColor: ColorRGB
# The element types shown in the ghost story. Types without a Tapir element
# type name (for example MEP or external ones) are left out, so passing this
# list to SetGhostStorySettings hides them.
filter: list[ElementType]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicalOverrideRulesResult ¶
rules: list[GraphicalOverrideRuleDetails]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicalOverrideStyleOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicalOverrideStyleOfElementsResult ¶
# The graphic override style of each element in the current window, aligned
# with the input, or an error.
styles: list[GraphicalOverrideStyle | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideCombinationsResult ¶
# The graphic override combinations of the project.
graphicOverrideCombinations: list[GraphicOverrideCombinationDetails]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideRuleGroupsResult ¶
# The graphic override rule groups of the project, empty ones included.
graphicOverrideRuleGroups: list[GraphicOverrideRuleGroup]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideRulesByNameParameters ¶
# The graphic override rules to get, by name.
graphicOverrideRules: list[GraphicOverrideRuleReference]
# Also return each rule's criterion as structured conditions ('criterion'), in
# the shape CreateGraphicOverrideRules and ModifyGraphicOverrideRules take.
# Default: false.
includeCriterion: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideRulesByNameResult ¶
# The rules, or errors, in the order of the input.
graphicOverrideRules: list[GraphicOverrideRule | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideRulesParameters ¶
# Also return each rule's criterion as structured conditions ('criterion'), in
# the shape CreateGraphicOverrideRules and ModifyGraphicOverrideRules take.
# Default: false.
includeCriterion: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetGraphicOverrideRulesResult ¶
# The graphic override rules of the project.
graphicOverrideRules: list[GraphicOverrideRule]
Import from multiconn_archicad.models.tapir.commands.
GetGridElementDefaultsParameters ¶
Import from multiconn_archicad.models.tapir.commands.
GetGridElementDefaultsResult ¶
# The grid element. The zero GUID for the tool defaults.
elementId: ElementId | None = None
# Four-character variation of the object: 'GREL' for a grid element.
variation: str
# Home story index.
floorIndex: int
# Layer attribute index.
layerIndex: int
# Insertion point: the start of the grid line.
pos: Coordinate2D
# Direction of the grid line in radians.
angle: float
# Length of the grid line: the GDL parameter AC_Length of the Grid Tool's grid
# marker, or the object's A size for a library part without it.
length: float
# The object's xRatio as stored: its A size with useXYFixSize on, otherwise
# the A size divided by the library part's own A.
xRatio: float
# The object's yRatio as stored, like xRatio for the B size.
yRatio: float
# Whether xRatio and yRatio hold the sizes themselves.
useXYFixSize: bool
# Elevation of the object from its home story.
level: float
# Library part index.
libInd: int
# Localized name of the library part.
libraryPartName: str
# GDL parameters, separators left out. Only when requested.
parameters: list[GridParameterDetails]
Import from multiconn_archicad.models.tapir.commands.
GetGridElementsParameters ¶
# Also return the GDL parameters of each grid element. Default false.
includeParameters: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetGridElementsResult ¶
gridElements: list[GridElementDetails]
Import from multiconn_archicad.models.tapir.commands.
GetGroupsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetGroupsOfElementsResult ¶
# The identifier of the group that directly contains each given element, or an
# error for elements that are not part of any group.
groupGuids: list[GroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHierarchicalElementOwnersParameters ¶
# The elements whose owners are looked up, e.g. Curtain Wall frames or panels,
# Stair treads or Railing posts.
elements: list[ElementIdArrayItem]
# root by default.
ownerMode: HierarchicalOwnerMode | None = None
Import from multiconn_archicad.models.tapir.commands.
GetHierarchicalElementOwnersResult ¶
# The owner of each element, aligned with the input.
owners: list[HierarchicalElementOwner | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkDesignOptionTableDetailsParameters ¶
# The hotlink nodes, from GetHotlinks or CreateHotlinkNodes.
hotlinkNodes: list[HotlinkNodeReference]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkDesignOptionTableDetailsResult ¶
# One item per requested node, in order: the design options of the hotlinked
# source file and which of them the node shows, or an error.
hotlinkDesignOptionTables: list[HotlinkDesignOptionTableDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkDesignOptionTablesParameters ¶
# The hotlink nodes (hotlinkNodeId from GetHotlinks) and placed hotlink
# instances (elementId of a Hotlink element) to read the design option table
# of.
hotlinks: list[HotlinkDesignOptionsByNode | HotlinkDesignOptionsByElement]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkDesignOptionTablesResult ¶
# The design option tables, in the order of the given hotlinks.
hotlinkDesignOptionTables: list[HotlinkDesignOptionTable | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkOwnersOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkOwnersOfElementsResult ¶
# The hotlink each element comes from, aligned with the input.
hotlinkOwners: list[HotlinkOwnersOfElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkProxyElementTableParameters ¶
# The placed hotlink instances: elements of type Hotlink, for example the
# hotlinkId of an element inside one. Not the nodes GetHotlinks returns.
hotlinkInstances: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkProxyElementTableResult ¶
# One item per requested instance, in order: its proxy elements with the
# source elements they were made from, or an error.
proxyElementTables: list[HotlinkProxyElementTable | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkSourceStatusParameters ¶
# The source files of hotlinks of the project, for example the location of
# each node GetHotlinks returns.
hotlinks: list[HotlinkSourceReference]
Import from multiconn_archicad.models.tapir.commands.
GetHotlinkSourceStatusResult ¶
# One item per requested hotlink, in order: the availability of its source
# file, or an error.
hotlinkSourceStatuses: list[HotlinkSourceStatusResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetHotspotsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetHotspotsOfElementsResult ¶
# The hotspots of the given library part instances, in the order of the input.
hotspotsOfElements: list[ElementHotspots | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCAssignmentsResult ¶
# The IFC groups (e.g. IfcGroup, IfcZone, IfcSystem) that are not assigned to
# another group.
rootGroups: list[IFCObject]
# Each IFC object that has objects assigned to it, with those objects.
childObjects: list[IFCObjectWithChildren]
# Each IFC object that is assigned to other objects, with those objects.
parentObjects: list[IFCObjectWithParents]
Import from multiconn_archicad.models.tapir.commands.
GetIFCAttributesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Return only the attributes stored on the elements, not the ones Archicad
# would generate on IFC export. Used only in Archicad 25, 26 and 27. Default:
# false.
storedOnly: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetIFCAttributesOfElementsResult ¶
# A list of the IFC attributes of elements or errors.
elementIFCAttributes: list[ElementIFCAttributes | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCClassificationReferencesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Return only the classification references stored on the elements, not the
# ones Archicad would generate on IFC export. Used only in Archicad 25, 26 and
# 27. Default: false.
storedOnly: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetIFCClassificationReferencesOfElementsResult ¶
# A list of the IFC classification references of elements or errors.
elementIFCClassificationReferences: list[ElementIFCClassificationReferences | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCExportTranslatorsResult ¶
# The IFC export translators of the project, in the order of Archicad's
# translator list. The first one, which the Archicad API documents as the
# preview translator, has preview true.
translators: list[IFCExportTranslator]
Import from multiconn_archicad.models.tapir.commands.
GetIFCIdsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCIdsOfElementsResult ¶
# A list of the IFC identifiers of elements or errors.
elementIFCIds: list[ElementIFCIds | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCPropertiesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCPropertiesOfElementsResult ¶
# A list of the IFC properties of elements or errors.
elementIFCProperties: list[ElementIFCProperties | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCSpatialStructureParameters ¶
# Elements to get the IFC story index of. Optional.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetIFCSpatialStructureResult ¶
# The IfcProject object. Left out when Archicad does not report it.
project: IFCObject | None = None
# The IfcSite object. Left out when Archicad does not report it.
site: IFCObject | None = None
# The IfcBuilding object. Left out when Archicad does not report it.
building: IFCObject | None = None
# The story of each given element in the IFC model, in the order of the input.
# Left out when no elements were given.
elements: list[IFCSpatialStructureOfElement | ErrorItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetIFCTypeOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetIFCTypeOfElementsResult ¶
# A list of the IFC types of elements or errors.
elementIFCTypes: list[ElementIFCType | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetKeynoteAutoTextsParameters ¶
# The keynote items to get the autotext tokens for.
keynoteItems: list[KeynoteItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetKeynoteAutoTextsResult ¶
# A list of keynote autotext tokens or errors.
autoTexts: list[KeynoteAutoTextTokens | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetKeynoteTreeResult ¶
# The top-level keynote folders with their content recursively. The technical
# root folder itself is not included.
foldersInRoot: list[KeynoteFolderDetails]
# The keynote items located directly in the technical root folder.
itemsInRoot: list[KeynoteItemDetails]
Import from multiconn_archicad.models.tapir.commands.
GetLast3DDefaultLevelsParameters ¶
# The element types to get the last 3D default level of.
elementTypes: list[ElementType]
Import from multiconn_archicad.models.tapir.commands.
GetLast3DDefaultLevelsResult ¶
# The last 3D default level of each element type, in the order of
# elementTypes, in meters.
levels: list[float]
Import from multiconn_archicad.models.tapir.commands.
GetLastValidEmbeddedLibraryPartNameResult ¶
# The name of the last valid library part of the embedded library.
name: str
# The path of the file of that library part.
path: str
Import from multiconn_archicad.models.tapir.commands.
GetLayerCombinationsParameters ¶
# A list of attributes.
attributes: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayerCombinationsResult ¶
# A list of layer combinations.
layerCombinations: list[LayerCombinationAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayerOfElementDefaultsParameters ¶
# The element types whose tool defaults are read.
elementTypes: list[ElementType]
Import from multiconn_archicad.models.tapir.commands.
GetLayerOfElementDefaultsResult ¶
# One item per element type, in the input order: the layer of its tool
# defaults, or an error when the type is unknown or has no tool defaults.
layersOfElementDefaults: list[LayersOfElementDefaults | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayersParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Layer. If omitted, every field is
# returned.
fields: list[LayerAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLayersResult ¶
# A list of layers or errors.
layers: list[LayerAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayoutCustomSchemeResult ¶
customScheme: list[CustomSchemeItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayoutSettingsParameters ¶
layoutDatabaseIds: list[LayoutDatabaseId]
Import from multiconn_archicad.models.tapir.commands.
GetLayoutSettingsResult ¶
layoutSettings: list[LayoutSetting]
Import from multiconn_archicad.models.tapir.commands.
GetLayoutSubsetSettingsParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetLayoutSubsetSettingsResult ¶
# One item per input navigator item, in the same order: the subset's settings
# with the field names of CreateLayoutSubset, or an error.
subsetSettings: list[LayoutSubsetSettings | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLCSOfAnalyticalMembersParameters ¶
# The member parts to get the local coordinate system of.
memberParts: list[AnalyticalMemberCoordinateSystemRequest]
Import from multiconn_archicad.models.tapir.commands.
GetLCSOfAnalyticalMembersResult ¶
# The local coordinate system of each member part, in the order of the input.
# A member part the coordinate system cannot be got for is represented by an
# error object.
localCoordinateSystems: list[AnalyticalMemberCoordinateSystem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibPartTransformationsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibPartTransformationsResult ¶
# The placement transformation of each element, aligned with the input, or an
# error.
transformations: list[ElementLibraryPartTransformation | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibrariesOfLibPartsParameters ¶
# Library parts to look up, each given by exactly one of name and guid.
libraryParts: list[LibraryPartNameOrGuid]
Import from multiconn_archicad.models.tapir.commands.
GetLibrariesOfLibPartsResult ¶
# One entry per input library part, in the same order.
libraries: list[LibraryOfLibraryPart]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPart2DPrimitivesParameters ¶
# The name of the loaded library part, without the file extension (a trailing
# '.gsm' is accepted too).
name: str
# Optional. A placed instance of the library part whose parameters are used
# for drawing the symbol. Without it the default parameters of the library
# part are used.
elementId: ElementId | None = None
# Optional. The GDL context the 2D symbol is drawn in, the value of the
# GLOB_CONTEXT GDL global (2 is the floor plan). Default value is 2.
gdlContext: int | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPart2DPrimitivesResult ¶
# The lines, arcs and polygons of the 2D symbol, in the order Archicad draws
# them, in the coordinate system of the library part. Other primitives (texts,
# hotspots, ...) are not returned.
primitives: list[LibraryPart2DPrimitive]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartCustomSectionParameters ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
# The type identifier of the custom section. A four-character code is given as
# its integer value, the first character in the highest byte (e.g. 'ABCD' is
# 1094861636).
sectionId: int
# Optional. The index of the section among the sections with the same
# identifier. By default 0.
index: int | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartCustomSectionResult ¶
# Whether the library part has this custom section.
exists: bool
# The data version stored with the section. Left out when the section does not
# exist.
dataVersion: int | None = None
# The content of the section, base64 encoded. Left out when the section does
# not exist.
data: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartDetailsParameters ¶
# The library parts to read, each by its name or by its index.
libraryParts: list[LibraryPartNameOrIndex]
# Optional. The name of another loaded library part, e.g. a subtype template.
# When given, the isInSubTypeOf field of each library part tells whether it is
# in that subtype.
subTypeOf: str | None = None
# Optional. When true, the interface script and the forward and backward
# migration scripts are returned too. By default false.
includeScripts: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartDetailsResult ¶
# The details of each given library part, or an error, in the order of the
# input. A field is omitted when Archicad cannot return it for that library
# part.
libraryParts: list[LibraryPartDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartFileInfoParameters ¶
# The absolute paths of the library part files (.gsm) to read. The files are
# read without loading them into the libraries of the project.
files: list[str]
# The scripts to read. All five by default.
scripts: list[LibraryPartReadableScriptType] | None = None
# The password of password protected library parts. Reading a script of a
# protected part without the right password is an error for that file.
password: str | None = None
# Also returns the parameters of each file with their default values and
# descriptions, in the format of GetLibraryPartParameterValues. Default is
# false, so a caller that only wants the scripts gets them even when the
# parameters of a file cannot be read.
includeParameters: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartFileInfoResult ¶
# The information of the files in the order of the input, or an error for a
# file that cannot be read.
files: list[LibraryPartFileInfo | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartIdentitiesParameters ¶
# The library parts, each given by its index or by the path of its file.
libraryParts: list[LibraryPartIndexOrPath]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartIdentitiesResult ¶
# One item for each given library part, in the same order.
identities: list[LibraryPartIdentity | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartMetadataParameters ¶
# The library parts to read the metadata of.
libraryParts: list[LibraryPartName]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartMetadataResult ¶
# The metadata of each given library part, or an error, in the order of the
# input.
libraryParts: list[LibraryPartMetadataDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartOriginalLocationsParameters ¶
# The library parts to look up.
libraryParts: list[LibraryPartByIndex]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartOriginalLocationsResult ¶
# The original location of each given library part, in the order of the input.
locations: list[LibraryPartOriginalLocation | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartParameterValuesParameters ¶
# The library parts to read.
libraryParts: list[LibraryPartParameterValuesByName]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartParameterValuesResult ¶
# The default parameters of each given library part, in the order of the
# input, or an error for a library part that could not be read.
libraryParts: list[LibraryPartParameterValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartPicturesParameters ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartPicturesResult ¶
# The preview picture as a base64 encoded PNG. Left out when the library part
# has none.
previewPicture: str | None = None
# The preview picture for the dark user interface as a base64 encoded PNG.
# Left out when the library part has none, and before Archicad 29.
darkPreviewPicture: str | None = None
# The pictures stored in the library part for its GDL scripts, as base64
# encoded PNGs, in their stored order. Left out when they cannot be read;
# gdlPicturesError then says why.
gdlPictures: list[str] | None = None
# Why the GDL pictures could not be read or encoded. Only present when
# gdlPictures is left out; the other pictures are still returned.
gdlPicturesError: str | None = None
# The GDL pictures for the dark user interface, as base64 encoded PNGs. Left
# out before Archicad 29, and when they cannot be read; darkGdlPicturesError
# then says why.
darkGdlPictures: list[str] | None = None
# Why the dark GDL pictures could not be read or encoded. Only present when
# darkGdlPictures is left out; the other pictures are still returned.
darkGdlPicturesError: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartScriptsParameters ¶
# The library parts to read, each given by its name or by an element placed
# from it.
libraryParts: list[LibraryPartScriptQueryByName | LibraryPartScriptQueryByElement]
# The scripts to read. All five by default.
scripts: list[LibraryPartReadableScriptType] | None = None
# The password of password protected library parts. Reading a script of a
# protected part without the right password is an error for that part.
password: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartScriptsResult ¶
# The scripts of the library parts in the order of the input, or an error for
# a library part that cannot be read.
libraryParts: list[LibraryPartScriptsDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartSectionParameters ¶
# The index of a loaded library part, as GetAvailableLibraryParts returns it.
index: int
# The four-character code of the section type, as GetLibraryPartSections
# returns it. A shorter code is padded with spaces.
sectionType: str
# The sub-identifier of the section, as GetLibraryPartSections returns it. 0
# when not given.
subIdent: int | None = None
# The password of a protected library part.
password: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartSectionResult ¶
# The text of the section.
content: str
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartSectionsParameters ¶
# The library parts to list the sections of.
libraryParts: list[LibraryPartIndexAndPassword]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartSectionsResult ¶
# One item for each given library part, in the same order.
libraryParts: list[LibraryPartSections | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartTypeDetailsParameters ¶
# The library parts to get the details of.
libraryParts: list[LibraryPartIdentifier]
Import from multiconn_archicad.models.tapir.commands.
GetLibraryPartTypeDetailsResult ¶
# The details of the library parts, in the order of the input, or an error for
# a library part that was not found.
libraryParts: list[LibraryPartTypeDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLineFromUserParameters ¶
# Prompt for selecting the line start point.
startPrompt: str | None = 'Click the start point of the line'
# Prompt for selecting the line end point.
endPrompt: str | None = 'Click the end point of the line'
# If true, draws a unit-square rubber feedback around the cursor while input
# is active.
showRubberLineFeedback: bool | None = True
# Which points and lines of the elements the cursor snaps to, for both points.
# Default: Archicad's usual snapping.
snapFilter: SnapFilter | None = None
# Constrains the end point, for example to a direction from the start point
# (type Angle with fromLastPoint). The start point is not constrained.
# Default: no constraint.
constraint: InputConstraint | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLineFromUserResult ¶
# True if the user cancelled the input (ESC).
cancelled: bool | None = None
# The start point of the line.
startPoint: Coordinate3D | None = None
# The end point of the line. It is only valid if cancelled is false.
endPoint: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLinesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Line. If omitted, every field is
# returned. Requesting only the fields you need avoids fetching
# dashItems/lineItems, which can be large.
fields: list[LineAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetLinesResult ¶
# A list of lines or errors.
lines: list[LineAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLinkedPropertyObjectsOfElementsParameters ¶
# A list of elements, or of element types to read the links of the element
# defaults of that type.
elements: list[ElementIdArrayItem | PropertyObjectToolDefault]
Import from multiconn_archicad.models.tapir.commands.
GetLinkedPropertyObjectsOfElementsResult ¶
# The property object links of each element or element default, aligned with
# the input array of elements, or an error.
linkedPropertyObjectsOfElements: list[ElementLinkedPropertyObjects | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLinksOfElementsParameters ¶
# The elements whose outgoing links are returned.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetLinksOfElementsResult ¶
# The links starting from each element, aligned with the input.
linksOfElements: list[ElementLinks | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetLockableObjectSetStatusParameters ¶
# The name of the lockable object set, as the Archicad API documents it:
# BuildingMaterials, Cities, Composites, Favorites, FillTypes,
# LayerSettingsDialog (layers and layer combinations), LineTypes,
# MarkupStyles, MEPSystems, ModelViewOptions, OperationProfiles, PenTables,
# Profiles, ProjectInfo, GeoLocation (project location), PreferencesDialog
# (project preferences and dimension standards), GraphicOverrides (renovation
# override styles), Surfaces or ZoneCategories. Other names the Archicad API
# accepts work too.
objectSetName: str
Import from multiconn_archicad.models.tapir.commands.
GetLockableObjectSetStatusResult ¶
status: LockableObjectSetStatus
# The users who hold a reservation on the object set.
conflicts: list[User] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMagicWandSettingsResult ¶
# How the Magic Wand approximates curves with straight segments: a fixed
# number of segments along arcs or along full circles (segmentCount), segments
# that deviate from the curve by at most maxDeviation, or segments of
# segmentLength. Unknown for a mode this version of Tapir does not know.
curveApproximation: CurveApproximation
# The number of segments along an arc or circle, used by SegmentsAlongArcs and
# SegmentsAlongCircles.
segmentCount: int
# The largest distance of the segments from the curve, in meters, used by
# DeviationFromCurves.
maxDeviation: float
# The length of the segments, in meters, used by SegmentLength.
segmentLength: float
# How curves are traced: Linear traces them with straight segments as set
# above, BestMatch with the curves that match them best. Unknown for a method
# this version of Tapir does not know.
traceMethod: TraceMethod
Import from multiconn_archicad.models.tapir.commands.
GetMainGroupsParameters ¶
# The groups to get the top level group of.
groups: list[GroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMainGroupsResult ¶
# The top level group of each given group (the group itself if it is not
# nested in another group), or an error.
mainGroups: list[GroupIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMarkerParametersOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMarkerParametersOfElementsResult ¶
# The marker of each given element, in the order of the input, or an error for
# an element that is not a window, a door or a change marker, or has no marker
# (a change marker with only a cloud).
markerParametersOfElements: list[MarkerParametersOfElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMarqueeResult ¶
type: MarqueeType
# True for a multi-story (thick) marquee, false for a single-story (thin) one.
# Absent when there is no marquee.
multiStory: bool | None = None
# The rectangle of a 'rectangle' or 'rotatedRectangle' marquee. For a rotated
# rectangle it is given as Archicad stores it: in the coordinate system
# rotated by rotationAngle around the project origin, not around the box
# itself. Use polygon for the corners on the plan.
box: BoundingBox2D | None = None
# The rotation angle (radians) of a 'rotatedRectangle' marquee.
rotationAngle: float | None = None
# The vertices of the marquee outline on the plan, each listed once: the four
# corners of a 'rectangle' or 'rotatedRectangle' marquee, the vertices of a
# 'polygon' marquee.
polygon: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPDistributionSystemsParameters ¶
# Whether to return the tree of each system: its elements from the root
# element on, each with the element it is connected to on the way from the
# root. False when not given.
includeTree: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPDistributionSystemsResult ¶
# The distribution systems of the project.
distributionSystems: list[MEPDistributionSystem]
# The ports in the distribution systems graph (see GetMEPPorts).
ports: list[Guid] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPElementDetailsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPElementDetailsResult ¶
# The details of the given MEP elements, in the order of the input, or an
# error for an element that is not an MEP element, and in Archicad 28 for an
# elbow. A value that cannot be read is left out.
elementDetails: list[MEPElementDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPElementsParameters ¶
# Optional filter for the MEP element types.
elementTypes: list[MEPElementType] | None = None
# Optional filter for the MEP domains.
domains: list[MEPDomain] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPElementsResult ¶
# The MEP elements.
elements: list[MEPElement]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPhysicalSystemsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPhysicalSystemsOfElementsResult ¶
# The physical systems of each given element, in the order of the elements.
physicalSystemsOfElements: list[MEPPhysicalSystemsOfElement]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPortsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPortsResult ¶
# A list of MEP element ports or errors.
elementPorts: list[MEPElementPorts | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTableContainersParameters ¶
# The domains whose preference tables to list. Defaults to all three.
domains: list[MEPPreferenceTableDomain] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTableContainersResult ¶
# The preference table container of each domain, in the order of the domains.
containers: list[MEPPreferenceTableContainer | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTableRowsParameters ¶
# The guid of a preference table, as returned by GetMEPPreferenceTables (the
# branch, elbow and transition tables with includeFittingTables): a pipe or
# circular duct segment table, a branch or elbow table of the Piping or
# Ventilation domain, or, from Archicad 29, a transition table. Rectangular
# duct and cable carrier segment tables are found too, but their rows have no
# key. Archicad 27: any preference table, as returned by
# GetMEPPreferenceTableContainers.
tableId: MEPPreferenceTableId
# The keys of the rows to get.
keys: list[MEPPreferenceRowKey]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTableRowsResult ¶
# Whether the table exists.
exists: bool
# Archicad 27 only: the name of the table.
name: str | None = None
# Archicad 27 only: the number of rows of each shape.
sizes: MEPPreferenceTableSizes | None = None
# The rows in the order of the keys.
rows: list[MEPPreferenceRowDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTablesParameters ¶
# The MEP domain of the segment preference tables.
domain: MEPPreferenceTableDomain
# Also return the elbow, branch and transition preference tables. Defaults to
# false. Ignored for the CableCarrier domain.
includeFittingTables: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPPreferenceTablesResult ¶
# The circular segment preference tables of the domain. Empty for the
# CableCarrier domain.
tables: list[MEPPreferenceTable]
# The rectangular segment preference tables of the Ventilation domain.
rectangularTables: list[MEPValuePreferenceTable] | None = None
# The segment preference tables of the CableCarrier domain.
cableCarrierTables: list[MEPValuePreferenceTable] | None = None
# The reference set of the Piping or Ventilation domain. Not returned for the
# CableCarrier domain.
referenceSet: MEPReferenceSet | None = None
# Available from Archicad 29.
angleSet: MEPAngleSet | None = None
# The elbow preference tables of the domain. Only when includeFittingTables is
# true.
elbowTables: list[MEPElbowPreferenceTable] | None = None
# The branch preference tables of the domain. Only when includeFittingTables
# is true.
branchTables: list[MEPBranchPreferenceTable] | None = None
# The transition preference tables of the domain. Only when
# includeFittingTables is true, available from Archicad 29.
transitionTables: list[MEPTransitionPreferenceTable] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPRoutingElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPRoutingElementsResult ¶
# A list of MEP routing element details or errors.
routingElements: list[MEPRoutingElementDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPRoutingParametersParameters ¶
# MEP routing elements, routing nodes or routing segments.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPRoutingParametersResult ¶
# The routing parameters of the given elements, in their order.
routingParameters: list[MEPRoutingParameters | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPSystemGroupsResult ¶
# The system groups of the project with their physical systems.
systemGroups: list[MEPSystemGroupDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMEPSystemsParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each MEP System. If omitted, every field
# is returned.
fields: list[MEPSystemAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMEPSystemsResult ¶
# A list of MEP systems or errors.
mepSystems: list[MEPSystemAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetMEPToolDefaultsResult ¶
# The tool defaults of each requested domain, in the order requested.
toolDefaults: list[MEPDomainToolDefaults]
# The default of the Equipment tool, which has no domain. Left out when
# Archicad gives none.
equipment: MEPElementDefaultDetails | None = None
electricalPanel: ElectricalPanelToolDefaults | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMergedElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMergedElementsResult ¶
# One item per queried element, in order: the elements it is merged with. An
# unknown or deleted element is an error item, so it cannot be mistaken for an
# element that is simply not merged.
elementMerges: list[MergedElements | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetMissingAttributesParameters ¶
# The attribute types to check. All of them when omitted.
attributeTypes: list[AttributeUsageType] | None = None
# What to check: the placed elements (element), the tool default settings
# (toolDefault), the Favorites (favorite), the graphic override rules
# (overrideRule), the Model View Options combinations (modelViewOption) and
# the attributes that refer to other attributes (attribute: composites,
# building materials, surfaces, MEP systems and profiles). All of them when
# omitted.
sources: list[MissingAttributeSource] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMissingAttributesResult ¶
# One item per reference to an attribute index that has no attribute in the
# project: first the placed elements in the order they were found (the floor
# plan first, then the views and layouts), then the tool defaults, then the
# Favorites, then the graphic override rules, then the Model View Options
# combinations, then the attributes that refer to other attributes.
missingAttributes: list[MissingAttribute]
# The number of placed elements checked; 0 when the elements were not checked.
checkedElementCount: int
# The number of tool defaults checked. Missing when the tool defaults were not
# checked.
checkedToolDefaultCount: int | None = None
# The number of Favorites checked. Missing when the Favorites were not
# checked.
checkedFavoriteCount: int | None = None
# The number of graphic override rules checked. Missing when the rules were
# not checked or could not be listed.
checkedOverrideRuleCount: int | None = None
# The number of Model View Options combinations checked. Missing when they
# were not checked.
checkedModelViewOptionCount: int | None = None
# The number of composites, building materials, surfaces, MEP systems and
# profiles checked for references to other attributes. Missing when they were
# not checked.
checkedAttributeCount: int | None = None
# What could not be checked. Missing when everything was checked.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetMissingLibPartNamesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetMissingLibPartNamesResult ¶
# The library part name of each given element, in the order of the input, or
# an error.
libPartNames: list[MissingLibraryPartName | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetModelViewOptionDetailsParameters ¶
# The model view option combinations to read, each given by id or by name.
# When omitted, every combination of the project is returned.
modelViewOptions: list[ModelViewOptionDetailsSelector] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetModelViewOptionDetailsResult ¶
# The settings of each model view option combination, in the order of the
# input, or in the order of the project when no input is given.
modelViewOptionDetails: list[ModelViewOptionDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetModelViewOptionsResult ¶
modelViewOptions: list[ModelViewOption]
Import from multiconn_archicad.models.tapir.commands.
GetModulDataParameters ¶
# The names of the module data to get; the empty name is the default section.
# When omitted, every module data Tapir stored in the project is returned.
names: list[str] | None = None
# Whether the content is returned too. When false, only the names and data
# versions are read, without loading the data. The default is true.
includeContent: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetNavigatorItemTreeParameters ¶
# The navigator map to retrieve.
navigatorMapId: NavigatorMapId
# The name of the publisher set to retrieve. Used only when navigatorMapId is
# PublisherSets. Without it the first publisher set is returned.
publisherSetName: str | None = None
# Set to true to add childCount, the number of direct children Archicad
# reports, to every item. Defaults to false.
includeChildCount: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetNavigatorItemTreeResult ¶
navigatorItemTree: NavigatorItem
Import from multiconn_archicad.models.tapir.commands.
GetNavigatorParentItemsParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetNavigatorParentItemsResult ¶
# The parent of each requested navigator item, in the order of the input, or
# an error for an item whose parent cannot be read.
parentItems: list[NavigatorParentItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetNoteAutoTextKeywordsParameters ¶
# Numeric values of the API_NoteAutotextID enumeration of the Archicad API
# (the autotexts of dimension, label and other element notes).
autoTextIds: list[AutoTextId]
Import from multiconn_archicad.models.tapir.commands.
GetNoteAutoTextKeywordsResult ¶
# One result per input id, in the same order.
keywords: list[NoteAutoTextKeyword | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetNoteAutotextsParameters ¶
# The type of the element that owns the note, e.g. 'Dimension',
# 'RadialDimension', 'LevelDimension' or 'AngleDimension'.
noteOwnerType: ElementType
# Optional dimension type, as in the Dimension Settings, whose note autotexts
# are listed when noteOwnerType is 'Dimension'. Defaults to Linear. Not
# allowed with other owner types.
dimensionAppearance: DimensionAppearance | None = None
Import from multiconn_archicad.models.tapir.commands.
GetNoteAutotextsResult ¶
# The autotexts available in the notes of the given owner type, in ascending
# order of autotextId.
noteAutotexts: list[NoteAutotextDetails]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningDefaultParameters ¶
Import from multiconn_archicad.models.tapir.commands.
GetOpeningDefaultResult ¶
extrusionParameters: OpeningExtrusionParameters
floorPlanParameters: OpeningDefaultFloorPlanParameters
Import from multiconn_archicad.models.tapir.commands.
GetOpeningDetailsParameters ¶
# The Opening elements (made with the Opening tool) to read.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningDetailsResult ¶
# The details of the openings, in the order of the given elements.
openings: list[OpeningDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningFloorPlanParametersParameters ¶
# The Opening elements (made with the Opening tool) to read.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningFloorPlanParametersResult ¶
# The floor plan parameters of the openings, in the order of the given
# elements.
openings: list[OpeningFloorPlanDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningSymbolParametersParameters ¶
# The Opening elements (made with the Opening tool) to read.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningSymbolParametersResult ¶
# The GDL parameters of the floor plan symbols of the openings, in the order
# of the given elements.
openings: list[OpeningSymbolParameters | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningTransformationsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetOpeningTransformationsResult ¶
# The transformation of each given Opening, or an error, in the order of the
# input elements.
openingTransformations: list[OpeningTransformation | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPensParameters ¶
# The indices of the pens to return, from 1 to the number of pens
# (GetCurrentPenTable returns penCount). If omitted, every pen is returned.
indices: list[int] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPensResult ¶
# The pens in effect in the current window, or errors. The order is that of
# the given indices.
pens: list[PenTablePen | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPenTablesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Pen Table. If omitted, every field is
# returned. Requesting only the fields you need avoids fetching the
# 255-element pens array.
fields: list[PenTableAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPenTablesResult ¶
# A list of pen tables or errors.
penTables: list[PenTableAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPointFromUserParameters ¶
# Shown in the control box while Archicad waits for the click. Single-byte
# text: the box takes a char field. Archicad's main thread waits for the click
# or for Escape, and every other JSON command queues behind this one until
# then.
prompt: str | None = None
# Which points and lines of the elements the cursor snaps to. Default:
# Archicad's usual snapping.
snapFilter: SnapFilter | None = None
# Constrains the click, for example to a fixed X coordinate or to a direction.
# Default: no constraint.
constraint: InputConstraint | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPointFromUserResult ¶
# The clicked point in the project's coordinates.
position: Coordinate3D
Import from multiconn_archicad.models.tapir.commands.
GetPolygonFromUserParameters ¶
# Prompt for selecting the polygon start point.
startPrompt: str | None = 'Click the start point of the polygon'
# Prompt shown while placing the remaining polygon nodes.
prompt: str | None = 'Click polygon nodes and finish the input'
method: PolygonInputMethod | None = 'General'
# Which points and lines of the elements the cursor snaps to for the start
# point. Archicad's polygon input has no snap filter, so the other nodes snap
# as usual. Default: Archicad's usual snapping.
snapFilter: SnapFilter | None = None
# Constrains the nodes after the start point, for example to a direction from
# the previous node (type Angle with fromLastPoint). The start point is not
# constrained. Default: no constraint.
constraint: InputConstraint | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPolygonFromUserResult ¶
# True if the user cancelled the input (ESC).
cancelled: bool
points: list[Coordinate2D] | None = None
arcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPolygonVertexIdsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPolygonVertexIdsOfElementsResult ¶
# The polygon vertices of each element, aligned with the input array of
# elements, or an error for an element without a polygon that has vertex IDs.
polygonVertexIdsOfElements: list[ElementPolygonVertexIds | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPrinterAndPlotterInfoResult ¶
# The printer selected in Archicad, or an error when it cannot be read.
printer: PrinterInfo | ErrorItem
# The plotter selected in Archicad, or an error when it cannot be read.
plotter: PlotterInfo | ErrorItem
Import from multiconn_archicad.models.tapir.commands.
GetPrinterInfoResult ¶
printArea: PrinterPrintArea
# Whether the grid is printed.
grid: bool
# Whether text is printed in fixed size.
fixText: bool
# The print scale.
scale: int
Import from multiconn_archicad.models.tapir.commands.
GetProductVersionInfoResult ¶
# The name of the product. Archicad 29 or later.
productName: str | None = None
# The Graphisoft product type. Archicad 29 or later.
productType: str | None = None
# The identifier of the product family.
productFamilyId: str
# The Graphisoft language code of the running Archicad (for example INT, GER).
languageCode: str
# The build number of the running Archicad.
buildNumber: int
# The full version of the running Archicad as text.
versionString: str
# The main version, as text. Archicad 29 or later.
mainVersion: str | None = None
# The update version, as text. Archicad 29 or later.
updateVersion: str | None = None
# The hotfix version, as text. Archicad 29 or later.
hotfixVersion: str | None = None
# The three parts of the version number. Archicad 28 only.
versionNumbers: list[int] | None = None
# The domains available in the running Archicad. Archicad 29 or later.
availableDomains: list[ProductDomain] | None = None
# The CEIP project identifier of the open project. Left out when no saved
# project is open. Archicad 29 or later.
ceipProjectId: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetProfilesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Profile. If omitted, every field is
# returned. Note the raw cross-section vector geometry itself is not exposed;
# width/height/minimumWidth/minimumHeight/widthStretchable/heightStretchable/s
# tretchZones/hasCoreSkin/profileModifiers are derived measurements matching
# what the Profile Editor shows, computed from the profile's internal
# stretch/parameter data.
fields: list[ProfileAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetProfilesResult ¶
# A list of profiles or errors.
profiles: list[ProfileAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetProfileValuesOfElementsParameters ¶
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetProfileValuesOfElementsResult ¶
profileValuesOfElements: list[ElementProfileValues | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetProjectDataKeysResult ¶
# The project data stored by Tapir in the project.
keys: list[ProjectDataKey]
Import from multiconn_archicad.models.tapir.commands.
GetProjectDataParameters ¶
# The names of the project data to get.
names: list[ProjectDataName]
Import from multiconn_archicad.models.tapir.commands.
GetProjectDataResult ¶
# The project data in the order of the given names, or an error for a name
# that has no project data.
values: list[ProjectDataValue | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetProjectInfoFieldsResult ¶
# A list of project info fields.
fields: list[ProjectInfoField]
Import from multiconn_archicad.models.tapir.commands.
GetProjectInfoGroupsResult ¶
# The Project Info groups in their order in the Project Info dialog. Available
# from Archicad 30.
projectInfoGroups: list[ProjectInfoGroup]
Import from multiconn_archicad.models.tapir.commands.
GetProjectInfoResult ¶
# True, if the project is not saved yet.
isUntitled: bool
# True, if the project is a Teamwork (BIMcloud) project.
isTeamwork: bool
# The location of the project in the filesystem or a BIMcloud project
# reference. A BIMcloud project reference is returned without the user name
# and login token.
projectLocation: str | None = None
# The path of the project. A filesystem path or a BIMcloud server relative
# path.
projectPath: str | None = None
# The name of the project.
projectName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetProjectNotesResult ¶
# Client.
client: str
# Project name.
projectName: str
# Company.
company: str
# Street.
street: str
# City.
city: str
# Country.
country: str
# Postal code.
postalCode: str
# Architect: the full name of the Project Info contact. Archicad keeps it as
# name parts (title prefix, given, middle and family name, title suffix);
# SetProjectNotes puts a new value into the given name and clears the other
# parts, so it reads back unchanged. Use SetProjectInfoField to set the parts.
architect: str
# Draftsmen: the full name of the Project Info CAD technician, kept as name
# parts like architect.
draftsmen: str
# Project status.
projectStatus: str
# Date of issue (free text, as typed in Project Notes).
dateOfIssue: str
# Keywords.
keywords: str
# Notes.
notes: str
Import from multiconn_archicad.models.tapir.commands.
GetProjectPreferencesParameters ¶
# The preference pages to get. Every page when missing.
preferenceTypes: list[ProjectPreferenceType] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetProjectPreferencesResult ¶
The pages asked for, by name.
workingUnits: WorkingUnitPreferences | None = None
dimensions: DimensionPreferences | None = None
calculationUnits: CalculationUnitPreferences | None = None
zones: ZonePreferences | None = None
referenceLevels: ProjectReferenceLevels | None = None
floorPlanCutPlane: FloorPlanCutPlanePreferences | None = None
legacy: LegacyPreferences | None = None
imagingAndCalculation: ImagingAndCalculationPreferences | None = None
layouts: LayoutPreferences | None = None
dataSafety: DataSafetyPreferences | None = None
calculationRules: CalculationRulePreferences | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertiesOfToolDefaultsParameters ¶
# The element types whose tool defaults (the settings new elements get) are
# read.
elementTypes: list[ElementType]
filter: ToolDefaultPropertyFilter | None = None
# Adds the value of each property in the tool default (propertyValue), or an
# error in its place when it has none. Default is false.
includeValues: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertiesOfToolDefaultsResult ¶
# The properties of the tool defaults of each element type, in the order of
# the given element types. Invalid element types are represented by error
# objects.
propertiesOfToolDefaults: list[ToolDefaultProperties | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyAvailabilityOfDefaultsParameters ¶
# The element type whose current tool default is checked. This is the native
# tool default, a Favorite counts only after it was applied.
elementType: ElementType
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyAvailabilityOfDefaultsResult ¶
# The order is that of the given properties.
propertyAvailabilities: list[DefaultPropertyAvailability | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyDefinitionsOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# The default is UserDefined.
filter: AttributePropertyDefinitionFilter | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertyDefinitionsOfAttributesResult ¶
# The property definitions of each attribute, in the order of the given
# attributes.
propertyDefinitionsOfAttributes: list[AttributePropertyIds | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyDefinitionsOfElementComponentsParameters ¶
# A list of element components.
elementComponents: list[ElementComponentIdArrayItem]
# Which property definitions to return: the user defined (Custom) ones, the
# built-in ones, or all. The default is All.
filter: Filter | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertyDefinitionsOfElementComponentsResult ¶
# The property definitions available on each element component, in the order
# of the given element components. GetAllProperties returns the full details
# of a property.
propertyDefinitionsOfElementComponents: list[ComponentPropertyDefinitions | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyEditabilityParameters ¶
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
# Checks whether the value of each property can be modified for these
# elements, and whether each property is visible for them.
elements: list[ElementIdArrayItem] | None = None
# Checks whether the value of each property can be modified in the tool
# default of these element types.
elementTypes: list[ElementType] | None = None
# When true, checks whether the default value of each property definition can
# be modified. This is the default value of the property definition itself,
# not the tool default of an element type.
propertyDefinitionDefaults: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertyEditabilityResult ¶
Only the lists that were asked for are present.
# Present when elements were given. The order of the outer list is that of the
# given elements. The order of the inner lists are that of the given
# properties.
editabilityOfElements: list[ElementPropertyEditabilityResult | ErrorItem] | None = None
# Present when elementTypes were given. The order of the outer list is that of
# the given element types. The order of the inner lists are that of the given
# properties.
editabilityOfElementTypeDefaults: list[ToolDefaultPropertyEditabilityResult | ErrorItem] | None = None
# Present when propertyDefinitionDefaults is true. The order is that of the
# given properties.
editabilityOfPropertyDefinitionDefaults: list[EditabilityOfPropertyDefinitionDefaults | ErrorItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertyExpressionReferencesParameters ¶
# A list of property identifiers.
propertyIds: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyExpressionReferencesResult ¶
# One item for each property, in the order of the input: its expression
# reference, or an error.
references: list[References | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyObjectsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyObjectsOfElementsResult ¶
# The property objects of each element, aligned with the input array of
# elements, or an error.
propertyObjectsOfElements: list[ElementPropertyObjects | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
# If true, each item also tells whether the property is available, editable
# and visible for the attribute, and a property without an available value is
# returned with its status and without a value instead of as an error. The
# default is false.
includeStatus: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfAttributesResult ¶
# The order of the outer list is that of the given attributes. The order of
# the inner lists are that of the given properties.
propertyValuesForAttributes: list[AttributePropertyValuesResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementComponentsParameters ¶
# A list of element components.
elementComponents: list[ElementComponentIdArrayItem]
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementComponentsResult ¶
# The order of the outer list is that of the given element components. The
# order of the inner lists are that of the given properties. The items have
# the shape of GetPropertyValuesOfElements.
propertyValuesForElementComponents: list[PropertyValuesArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementDefaultsParameters ¶
# The element type whose current tool default is read. This is the native tool
# default of the generic variation of the type, a Favorite counts only after
# it was applied.
elementType: ElementType
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementDefaultsResult ¶
# The order is that of the given properties. A property that is not available
# for the tool default is an error item.
propertyValues: list[PropertyValueArrayItem | PropertyValueErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
# Adds isAvailable to each property value or error, telling whether the
# property is available for the element (for example by its classification).
# Default is false.
includeAvailability: bool | None = None
# Returns precise, locale-independent numeric strings in SI units, except
# degrees for angles. Default is false.
useSIUnits: bool | None = False
Import from multiconn_archicad.models.tapir.commands.
GetPropertyValuesOfElementsResult ¶
# The order of the outer list is that of the given elements. The order of the
# inner lists are that of the given properties.
propertyValuesForElements: list[PropertyValuesArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetPublisherSetsResult ¶
# The publisher sets of the project, in the order of the Publisher Sets map.
publisherSets: list[PublisherSet]
Import from multiconn_archicad.models.tapir.commands.
GetQuantitiesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional minimum opening size in square meters. Openings smaller than this
# are not subtracted from the conditional surfaces of a Wall
# (referenceSideSurfaceConditional and oppositeSideSurfaceConditional).
# Archicad only uses it for walls; the conditional volume follows the
# project's calculation rules instead. Default value is 0, so every opening is
# subtracted.
minOpeningSize: float | None = None
# Optional. When true, Archicad calculates the quantities of all the supported
# elements of one type in one call (one call per element type, because
# Archicad only calculates elements of the same type together) instead of one
# call per element, which can be faster for many elements. The output has the
# same format. If the call of a type fails, every element of that type gets
# the same error. Default value is false.
calculateInOneCall: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetQuantitiesOfElementsResult ¶
# The quantities of the elements, in the order of the given elements. Lengths
# are in meters, areas in square meters and volumes in cubic meters.
quantitiesOfElements: list[ElementQuantityDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRailingSegmentPatternsParameters ¶
# The railings to read.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetRailingSegmentPatternsResult ¶
# One item per given element, in the order of the input. An element that is
# not a railing, or whose segments cannot be read, is represented by an error
# object.
railings: list[RailingSegmentPatternsResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRelationsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional filter: only relations to elements of this type are returned.
otherElementType: ElementType | None = None
Import from multiconn_archicad.models.tapir.commands.
GetRelationsOfElementsResult ¶
# Type-specific relations of each element, aligned with the input.
relations: list[WallRelations | BeamRelations | BeamSegmentRelations | ZoneRelationsOfElement | OpeningRelationsOfElement | RoofOrShellRelationsOfElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRenderingScenesResult ¶
# The names of the rendering scenes of the project (the Scene list of the
# PhotoRendering Settings palette), in the order of recent usage: the most
# recently used scene, the current one, first.
sceneNames: list[str]
# The name of the current rendering scene, the one selected in the
# PhotoRendering Settings palette: the first of sceneNames. Left out when the
# project has no rendering scene.
currentSceneName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetRenovationFiltersResult ¶
# Every renovation filter of the project.
renovationFilters: list[RenovationFilterDetails]
# Identifier of the renovation filter of the current window. Absent when the
# current window has none or it could not be read.
activeRenovationFilterId: GuidId | None = None
Import from multiconn_archicad.models.tapir.commands.
GetRenovationStatusNamesResult ¶
# The renovation statuses an element can have, in the order Existing, New,
# Demolished.
renovationStatuses: list[RenovationStatusName | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetReservationStatusOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetReservationStatusOfElementsResult ¶
# One item per input element, in the same order.
reservationStatuses: list[ElementReservationStatus | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRevisionChangeCustomSchemeResult ¶
customScheme: list[RevisionChangeCustomSchemeItem]
Import from multiconn_archicad.models.tapir.commands.
GetRevisionChangesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetRevisionChangesOfElementsResult ¶
# The revision changes of the requested entities, in the order of the input,
# or an error for an entity whose changes could not be retrieved.
revisionChangesOfElements: list[RevisionChangesArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRevisionChangesResult ¶
revisionChanges: list[RevisionChange]
Import from multiconn_archicad.models.tapir.commands.
GetRevisionIssuesResult ¶
revisionIssues: list[RevisionIssue]
# The custom scheme fields of the revision issues (key and name). Present only
# when the project defines any.
customScheme: list[RevisionIssueCustomSchemeItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetRoofPlanesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetRoofPlanesResult ¶
# The planes of each roof, aligned with the input, or an error.
roofPlanesOfElements: list[RoofPlanesOfElements | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetRoomImageParameters ¶
zoneId: ElementId
# The image format. Default is png.
format: Format | None = None
# The width of the preview image in pixels. Default is 256.
width: int | None = None
# The height of the preview image in pixels. Default is 256.
height: int | None = None
# Offset of the clip polygon from the edge of the zone. Default is 0.001.
offset: float | None = None
# Scale of the view (e.g. 0.005 for 1:200). Default is 0.005.
scale: float | None = None
# Background color of the generated image. Default is white (1.0, 1.0, 1.0).
backgroundColor: ColorRGB | None = None
Import from multiconn_archicad.models.tapir.commands.
GetRoomImageResult ¶
# The base64 encoded room image.
roomImage: str
Import from multiconn_archicad.models.tapir.commands.
GetSchedulesResult ¶
# The Interactive Schedules of the Project Map, in navigator order.
schedules: list[ScheduleSummary]
Import from multiconn_archicad.models.tapir.commands.
GetScriptUIResultParameters ¶
# The window to use, as returned by ShowScriptUI (1 to 8). Takes precedence
# over scriptId.
uiId: int | None = None
# Any text that identifies the calling script, so it uses its own window:
# ShowScriptUI gives a script without a window a free one, preferring the
# closed windows. The Tapir palette gives each script it starts its own id in
# the TAPIR_SCRIPT_ID environment variable, which aclib passes here
# automatically; that script's window is titled with its name and is freed
# when it ends. Without uiId and scriptId the first window is used.
scriptId: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetScriptUIResultResult ¶
# The window the result was read from (1 to 8). Missing when scriptId was
# given and that script has no window.
uiId: int | None = None
# True if the Script UI page has submitted a result since the last call.
hasResult: bool
# The submitted content (as passed to window.ACAPI.SubmitResult). Only present
# when hasResult is true.
result: str | None = None
# True while the Script UI palette is open. False before the first
# ShowScriptUI call and once the user closed the palette with its close box,
# the page called window.ACAPI.ClosePalette or Archicad closed it; stays true
# while Archicad only temporarily hides all palettes (e.g. during a modal
# dialog). Lets a waiting script stop polling when the user closes the
# palette.
isOpen: bool
Import from multiconn_archicad.models.tapir.commands.
GetSectionElementsParameters ¶
# The section, elevation or interior elevation databases to list the section
# elements of. If omitted, the current database is used.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSectionElementsResult ¶
# The elements drawn in the given databases, each with the owner element it
# was generated from.
sectionElements: list[SectionElement]
# A list of execution results.
executionResultForDatabases: list[SuccessfulExecutionResult | FailedExecutionResult] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSectionsAndElevationsDetailsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSectionsAndElevationsDetailsResult ¶
detailsOfElements: list[SectionElevationDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSelectedElementsResult ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetShapePrimitivesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Whether the objects attached to the elements (window and door markers,
# drawing titles, ...) are drawn with them. When omitted, Archicad's current
# setting is used. The setting is changed back after the drawing.
includeMarkers: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetShapePrimitivesOfElementsResult ¶
# The drawing primitives of each element, in the order of the input elements.
shapePrimitivesOfElements: list[ElementDrawingPrimitives | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSkylightHolePolygonsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSkylightHolePolygonsResult ¶
# The hole each Skylight cuts into its host Roof or Shell, aligned with the
# input: its polygon, or an error (for example for an element that is not a
# Skylight).
skylightHolePolygons: list[SkylightHolePolygon | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSnapPointsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSnapPointsOfElementsResult ¶
# The snap points (hotspots) of each element, aligned with the input array of
# elements, or an error.
snapPointsOfElements: list[SnapPointsOfElements | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSolidElementLinksParameters ¶
# Elements to query. Returns all solid links where each element is a target or
# an operator.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSolidElementLinksResult ¶
# For each input element, the solid links where it acts as target and where it
# acts as operator.
solidLinks: list[SolidLinksOfElement]
Import from multiconn_archicad.models.tapir.commands.
GetSpecialFoldersParameters ¶
# The types of the special folders to retrieve.
folderTypes: list[SpecialFolderType]
Import from multiconn_archicad.models.tapir.commands.
GetSpecialFoldersResult ¶
# A list of special folder paths or errors.
folderPaths: list[SpecialFolderPath | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSplineMaxDistancesParameters ¶
# The spline segments to measure and the coordinates to measure from them.
splines: list[SplineDistanceInput]
Import from multiconn_archicad.models.tapir.commands.
GetSplineMaxDistancesResult ¶
# The result of each input item, in the same order, or an error.
results: list[SplineMaxDistance | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetStoriesResult ¶
# First story index.
firstStory: int
# Last story index.
lastStory: int
# Actual (currently visible in 2D) story index.
actStory: int
# Floor indices above ground-floor level may start with 1 instead of 0.
skipNullFloor: bool
# A list of project stories, each with their complete parameters.
stories: list[StoryParameters]
Import from multiconn_archicad.models.tapir.commands.
GetStoryControlPrimitivesParameters ¶
# A section, elevation or interior elevation database, for example as
# GetDatabaseIdFromNavigatorItemId returns it.
databaseId: DatabaseId
Import from multiconn_archicad.models.tapir.commands.
GetStoryControlPrimitivesResult ¶
# The primitives of the story levels drawn in the database, in the order
# Archicad draws them. The Ctrl_* items mark the beginning and the end of sub-
# parts (texts, ...).
primitives: list[DrawingPrimitive]
Import from multiconn_archicad.models.tapir.commands.
GetStructureDisplayResult ¶
The Partial Structure Display of the current window.
structureDisplay: PartialStructureDisplay
# True when the setting belongs to the 3D window.
is3D: bool
Import from multiconn_archicad.models.tapir.commands.
GetSubelementsOfHierarchicalElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSubelementsOfHierarchicalElementsResult ¶
subelements: list[Subelement]
Import from multiconn_archicad.models.tapir.commands.
GetSunSettingsResult ¶
dateTime: SunDateTime
# The time zone of the project location in minutes, as Archicad stores it.
timeZoneInMinutes: int
# The time zone offset of the project location in minutes, as Archicad stores
# it.
timeZoneOffset: int
# The sun position for the project's date, time and location.
sunPosition: SunPosition
sunLight: SunLightSettings | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSurfaceQuantitiesOfElementsParameters ¶
# The elements to get the surface quantities of.
elements: list[ElementIdArrayItem]
# Optional covering elements: the area where one of them overlaps a surface of
# an element is subtracted from that surface, so for example a slab on a wall
# takes its footprint off the top surface of the wall. When omitted, every
# Wall, Column, Beam, Slab, Roof, Shell, Morph, Mesh, Stair and Curtain Wall
# of the project is a covering element. Pass an empty array to get the whole
# surfaces with nothing subtracted. An element never covers itself.
coverElements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSurfaceQuantitiesOfElementsResult ¶
# The surface quantities of the elements, in the order of the given elements.
# Areas are in square meters.
surfaceQuantitiesOfElements: list[ElementSurfaceQuantities | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSurfacesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Surface. If omitted, every field is
# returned.
fields: list[SurfaceAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSurfacesResult ¶
# A list of surfaces or errors.
surfaces: list[SurfaceAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSurfaceTypesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetSurfaceTypesOfElementsResult ¶
# The polygons of the 3D model of each element with their surface types,
# aligned with the input, or an error.
surfaceTypes: list[ElementSurfaceTypes | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetSurveyPointTransformationResult ¶
# The 3x4 matrix that transforms a point given in the Project Origin
# coordinate system into the Survey Point coordinate system, row by row (12
# numbers): x' = m[0]*x + m[1]*y + m[2]*z + m[3], y' = m[4]*x + m[5]*y +
# m[6]*z + m[7], z' = m[8]*x + m[9]*y + m[10]*z + m[11].
projectToSurvey: list[float]
# The inverse of projectToSurvey in the same row by row layout: it transforms
# a point given in the Survey Point coordinate system into the Project Origin
# coordinate system. Missing when projectToSurvey is not invertible.
surveyToProject: list[float] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetSuspendGroupsModeResult ¶
# True if the Suspend Groups mode is currently on.
suspendGroups: bool
Import from multiconn_archicad.models.tapir.commands.
GetTeamworkAccessRightsParameters ¶
# The names of the access rights to check, the API_TWAccessRights enumerators
# without the API prefix, e.g. LayersCreate or LibraryPartDeleteModify. All
# rights available in this Archicad version are checked when omitted.
accessRights: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetTeamworkAccessRightsResult ¶
# The rights of the current user, in the requested order.
accessRights: list[AccessRight]
Import from multiconn_archicad.models.tapir.commands.
GetTeamworkOwnersOfDatabasesParameters ¶
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetTeamworkProjectInfoResult ¶
# True, if the opened project is a Teamwork (BIMcloud) project. When false,
# every other Teamwork field is left out.
isTeamwork: bool
# True, if the Teamwork project is connected to its BIMcloud server. False in
# a solo project or when the Teamwork project works offline.
isOnline: bool
# The Teamwork user identifier of the current user, as the Teamwork commands
# report users.
userId: float | None = None
# The name of the current Teamwork user.
userName: str | None = None
# The address of the BIMcloud server of the Teamwork project.
serverUrl: str | None = None
# The name of the Teamwork project on the server.
projectName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
GetTeamworkStatusResult ¶
# Whether the opened project is a Teamwork (BIMcloud) project.
isShared: bool
# Whether there is a live connection to the Teamwork server. Always false for
# a project that is not shared.
isOnline: bool
# The members of the shared project. Only present when the project is shared.
users: list[TeamworkUser] | None = None
# The user who has reserved the Hotlink and XRef management. Only present when
# somebody has reserved it.
hotlinkCacheManagementOwner: User | None = None
Import from multiconn_archicad.models.tapir.commands.
GetTextureCoordinatesParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetTextureCoordinatesResult ¶
# The texture coordinates of each element, aligned with the input: per solid
# body of its 3D model, or an error.
textureCoordinates: list[ElementTextureCoordinates | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetToolboxItemsParameters ¶
# Also list the tools that have no icon in the Toolbox but can be active, e.g.
# the Slab Accessory. Default: false.
includeHidden: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetToolboxItemsResult ¶
# The tools installed in the Toolbox, the tools of add-ons included, each in
# the form SetCurrentTool accepts.
toolboxItems: list[ToolboxItem]
# The tool active in the Toolbox, as GetCurrentTool returns it. Empty for the
# Arrow and the Marquee.
currentTool: CurrentTool
Import from multiconn_archicad.models.tapir.commands.
GetTypedPropertyValuesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# A list of property identifiers.
properties: list[PropertyIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetTypedPropertyValuesOfElementsResult ¶
# One item per given element, in their order: the values of the element's
# properties, or an error for an element that was not found.
propertyValuesForElements: list[TypedPropertyValuesForElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetUnusedAttributesParameters ¶
# The attribute types to check. All of them when omitted.
types: list[AttributeUsageType] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetUnusedAttributesResult ¶
# One item per checked attribute type, in the order layer, fill, surface,
# buildingMaterial, composite, profile, lineType, penTable, zoneCategory.
attributeTypes: list[UnusedAttributeTypeSummary]
# Archicad's usedAttributes report as it came, e.g. 'Layer: 16, LineType: 9,
# Fill: 17'. Missing when the query failed.
archicadReport: str | None = None
# What could not be checked. Missing when everything was checked.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetUnusedLibraryPartsParameters ¶
# Optional. Only list the unused library parts of this type (the typeId of
# GetAvailableLibraryParts).
filterByTypeId: LibraryPartType | None = None
# Also list the library parts that cannot be placed (macros, pictures,
# property objects, list schemes and the like), which are never placed on
# their own. Default: false.
includeNotPlaceable: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
GetUnusedLibraryPartsResult ¶
# The loaded library parts that no element of the project is placed from, in
# index order.
unusedLibraryParts: list[UnusedLibraryPart]
# The number of different loaded library parts that are placed in the project.
usedLibraryPartCount: int
# The number of elements checked, in the floor plan and every view and layout
# database.
scannedElementCount: int
# False when a view or layout database or a library part could not be read
# (see warnings): then a listed library part may still be used.
complete: bool
warnings: list[str]
Import from multiconn_archicad.models.tapir.commands.
GetURLReferencesOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetURLReferencesOfElementsResult ¶
# The web link of each given element, or an error. An element without a link
# gets the error APIERR_NOUSERDATA.
urlReferences: list[ElementURLReference | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetUsedAttributesResult ¶
How many attributes of each type are in use, as Archicad reports them for the usedAttributes JSON query.
# The number of attributes in use per attribute type. The keys are the
# attribute types of Tapir (Layer, Line, Fill, Composite, Surface,
# LayerCombination, ZoneCategory, Profile, MEPSystem, OperationProfile,
# BuildingMaterial) where they exist, otherwise Archicad's own names (e.g.
# City, DimStand, MarkupStyle, GraphicOverride). Archicad lists only the types
# it found in use. Missing when the report could not be read.
usedAttributes: dict[str, int] | None = None
# The report as Archicad wrote it, e.g. 'Layer: 16, LineType: 9, Fill: 17'.
raw: str
Import from multiconn_archicad.models.tapir.commands.
GetUserDataOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetUserDataOfAttributesResult ¶
# One item per attribute, in the input order: the pairs stored on the
# attribute (none when it holds no user data), or an error when the attribute
# was not found or holds user data in another layout.
userDataOfAttributes: list[AttributeUserData | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetUserDataOfGroupsParameters ¶
# The groups to get the user data of.
groups: list[GroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetUserDataOfGroupsResult ¶
# The user data attached to each given group, or an error for groups that have
# none.
userDataOfGroups: list[GroupUserDataResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetUserGSIDResult ¶
# The stable GSID User ID of the logged-in user.
userId: str
# The list of organization IDs the user belongs to. Empty if not part of any
# organization or if the information cannot be retrieved.
organizationIds: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetView2DTransformationsParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem] | None = None
# A list of Archicad databases.
databases: list[DatabaseIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetView2DTransformationsResult ¶
transformations: list[ViewTransformations | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetViewOptionsResult ¶
# The index of the model view option combination the window applies, 0 when
# its options are not a stored combination (Custom). It is the index
# FindModelViewOption and GetModelViewOptionDetails return, which is not
# always the position in the list of GetModelViewOptions.
modelViewOptionIndex: int
# The name of that combination, empty when there is none. Archicad may
# renumber the combinations when the view options of a window change, so look
# the index up by this name (FindModelViewOption) before switching back to it
# with SetViewOptions.
modelViewOptionName: str
viewOptions: ViewOptions
Import from multiconn_archicad.models.tapir.commands.
GetViewSettingsParameters ¶
# A list of navigator item identifiers.
navigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetViewSettingsResult ¶
viewSettings: list[ViewSettings | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetVisibleSkinStatusParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# The Partial Structure Display mode to check the elements in. The current
# window is not changed.
structureDisplay: PartialStructureDisplay
Import from multiconn_archicad.models.tapir.commands.
GetVisibleSkinStatusResult ¶
# Whether each element has a visible skin in the given Partial Structure
# Display mode, aligned with the input, or an error.
visibleSkinStatuses: list[VisibleSkinStatus | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetZoneBoundariesParameters ¶
# The identifier of a single Zone. Prefer the zones array: querying many Zones
# in one call is much faster than one call per Zone.
zoneElementId: ElementId | None = None
# A list of Zones. Only one of zoneElementId and zones can be given.
zones: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetZoneBoundariesResult ¶
GetZoneBoundariesResult: TypeAlias = (
ZoneBoundariesOfZonesWrapper
| ZoneBoundariesWrapper
| ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
GetZoneCategoriesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# Names of the fields to return for each Zone Category. If omitted, every
# field is returned.
fields: list[ZoneCategoryAttributeField] | None = None
Import from multiconn_archicad.models.tapir.commands.
GetZoneCategoriesResult ¶
# A list of zone categories or errors.
zoneCategories: list[ZoneCategoryAttribute | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetZoneLabelingSettingsResult ¶
# Whether the automatic labeling of Zones (placing a Label on each new Zone)
# is on.
isAutomaticLabelingOn: bool
# The name of the Label Favorite that is placed on each new Zone. Missing when
# no Favorite is selected.
selectedFavoriteName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
GetZoneReductionsParameters ¶
# A list of Zones.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
GetZoneReductionsResult ¶
# The area reductions of each Zone, aligned with the input array of elements,
# or an error.
reductionsOfZones: list[ZoneReductions | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
GetZoneStampOfDefaultsResult ¶
# The zone stamp of the Zone tool defaults.
stamp: ZoneStampOfDefaults
category: ZoneStampCategory | None = None
Import from multiconn_archicad.models.tapir.commands.
GrantElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# The Teamwork user id of the user to hand the elements over to, as
# GetTeamworkProjectInfo, GetReservationStatusOfElements and the conflicts of
# ReserveElements report users.
userId: float
Import from multiconn_archicad.models.tapir.commands.
GrantElementsResult ¶
GrantElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
GrantProjectDataParameters ¶
# The names of the project data, reserved by the current user, to grant.
names: list[ProjectDataName]
# The Teamwork user id of the user who gets the project data, for example the
# userId of a user returned by GetProjectDataKeys or ReserveProjectData.
toUserId: int
Import from multiconn_archicad.models.tapir.commands.
GrantProjectDataResult ¶
GrantProjectDataResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
GraphicalOverrideStyle ¶
lineType: OverriddenValue | None = None
lineMarkerTextPen: OverriddenValue | None = None
overrideLinePenThickness: bool | None = None
cutFillType: OverriddenValue | None = None
cutFillForegroundPen: OverriddenValue | None = None
cutFillBackgroundPen: OverriddenValue | None = None
overrideCutFillForegroundThickness: bool | None = None
coverFillType: OverriddenValue | None = None
coverFillForegroundPen: OverriddenValue | None = None
coverFillBackgroundPen: OverriddenValue | None = None
overrideCoverFillForegroundThickness: bool | None = None
draftFillType: OverriddenValue | None = None
draftFillForegroundPen: OverriddenValue | None = None
draftFillBackgroundPen: OverriddenValue | None = None
overrideDraftFillForegroundThickness: bool | None = None
cutSurface: OverriddenValue | None = None
uncutSurface: OverriddenValue | None = None
showSkinSeparators: bool | None = None
hideCutContours: bool | None = None
hideUncutContours: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideColumnCoatingType ¶
The column coating type compared by a graphic override criterion.
CORE = 'Core'
FINISH = 'Finish'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideColumnCrossSectionType ¶
The column cross section type compared by a graphic override criterion.
RECTANGULAR = 'Rectangular'
CIRCULAR = 'Circular'
PROFILED = 'Profiled'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationData ¶
# The name of the combination, unique within the project.
name: str
# The rules of the combination, in priority order.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationDetails ¶
graphicOverrideCombinationId: GraphicOverrideCombinationId
name: str
# The rules of the combination, in priority order.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationId ¶
The identifier of a graphic override combination.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationIdArrayItem ¶
graphicOverrideCombinationId: GraphicOverrideCombinationId
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationIdOrError ¶
GraphicOverrideCombinationIdOrError: TypeAlias = (
GraphicOverrideCombinationIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCombinationModificationData ¶
graphicOverrideCombinationId: GraphicOverrideCombinationId
# The new name of the combination, unique within the project. The current name
# is kept when omitted.
name: str | None = None
# The new rules of the combination, in priority order. They replace the
# current rules. The current rules are kept when omitted.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCriterion ¶
Structured conditions of a graphic override rule, turned into Archicad's criterion XML (an alternative to criterionXML). Give exactly one property (classificationSystem and libraryPartSubtype go next to the condition they belong to). 'and'/'or' combine other conditions, nested at most three levels like the rows of the criteria editor (see their description). GetGraphicOverrideRules returns this shape with includeCriterion. 'elementType' filters by the tool an element was created with; 'all3DTypes'/'all2DTypes' match every 3D or 2D element. The other properties are conditions of Archicad's criteria editor: classification, layer and Model View, Construction, Positioning, Plan and Section, Surfaces and Materials, ID and Categories, Geometry, custom properties, and fields of the Wall, Column, Beam, Slab, Roof, Shell, Object/Lamp, Door/Window, Opening, Curtain Wall and Stair tools. Their identifiers were captured from rules made in the criteria editor of Archicad 29; Archicad 27 keeps the generated rules as well. Not available: text content, the line pen of a dimension, hotlinked modules and Xrefs, and the MEP system (their stored format is not decoded yet).
# Matches if all of the nested criteria match. Nesting follows the criteria
# editor's table, at most three levels: the top 'and' holds the rows, a row
# with several values is an 'or' (values joined with 'or') or an 'and' (joined
# with 'and'), and values joined with 'and' within an 'or' row are one more
# 'and'. A deeper 'and'/'or' is rejected.
and_: list[GraphicOverrideCriterion] | None = None
# Matches if any of the nested criteria match. As a row of the criteria
# editor's table: the values of one condition joined with 'or'. Nested at most
# three levels, see 'and'.
or_: list[GraphicOverrideCriterion] | None = None
# One condition in Archicad's criterion XML: a <ClassGuid> followed by the
# condition's element, as GetGraphicOverrideRules returns a condition it does
# not decode. Written into the criterion unchanged.
criterionXML: str | None = None
# Matches elements created with this tool. 'AllTypes' matches elements of
# every type.
elementType: GraphicOverrideElementType | None = None
# Matches elements not created with this tool (the criteria editor's 'is
# not'). 'AllTypes' is not allowed here.
elementTypeNot: GraphicOverrideElementType | None = None
# Narrows elementType or elementTypeNot to a library part subtype of the tool,
# as the criteria editor stores it: the subtype's main and revision guid.
# GetGraphicOverrideRules returns it for the tools it decodes.
libraryPartSubtype: LibraryPartSubtype | None = None
# Matches elements classified with this Classification System item ID (e.g.
# 'Slab'), or with any descendant of it in the classification tree (ArchiCAD's
# 'is in the branch of' operator - not a strict equality check).
classification: str | None = None
# Matches elements NOT classified with this Classification System item ID and
# not with any descendant of it in the classification tree (ArchiCAD's 'is not
# in the branch of' operator - not a strict inequality check).
classificationNot: str | None = None
# The classification system 'classification'/'classificationNot' refers to:
# its name as shown in the Classification Manager (e.g. 'Classification
# Archicad'), or its name and version as the criteria editor shows them (e.g.
# 'Classification Archicad - v 2.0'). Left out: the only classification system
# of the project that contains the item ID (the only system at all for
# classificationHasValue and classificationHasNoValue); an error when several
# do.
classificationSystem: str | None = None
# If true, matches every 3D model element type.
all3DTypes: bool | None = None
# If true, matches every 2D drawing element type.
all2DTypes: bool | None = None
# Matches elements whose 'Missing attributes' status equals this value.
missingAttributes: bool | None = None
# Matches elements whose 'Missing library part' status equals this value (e.g.
# an Object/Lamp referencing a library part not found in the loaded
# libraries).
missingLibraryPart: bool | None = None
# Matches elements on this layer (by layer name).
layer: str | None = None
# Matches elements NOT on this layer (by layer name).
layerNot: str | None = None
# Matches elements whose layer's locked state equals this value.
layerLocked: bool | None = None
# Matches elements whose layer's visible state equals this value.
layerVisible: bool | None = None
# Matches elements whose layer is shown in this layer combination (by layer
# combination name). ArchiCAD only offers 'contains'/'does not contain' for
# this field, no strict equality.
layerCombination: str | None = None
# Matches elements whose layer is NOT shown in this layer combination (by
# layer combination name).
layerCombinationNot: str | None = None
# Matches elements whose layer name equals this string exactly.
layerNameIs: str | None = None
# Matches elements whose layer name does not equal this string.
layerNameIsNot: str | None = None
# Matches elements whose layer name contains this substring.
layerNameContains: str | None = None
# Matches elements whose layer name does not contain this substring.
layerNameNotContains: str | None = None
# Matches elements whose layer name starts with this substring.
layerNameStartsWith: str | None = None
# Matches elements whose layer name ends with this substring.
layerNameEndsWith: str | None = None
# Matches elements built with this Composite Structure attribute (by name).
compositeStructure: str | None = None
# Matches elements NOT built with this Composite Structure attribute (by
# name).
compositeStructureNot: str | None = None
# Matches zones of this Zone Category attribute (by name), the criteria
# editor's "Zone Category" condition (ID and Categories).
zoneCategory: str | None = None
# Matches elements whose Zone Category is NOT this attribute (by name).
zoneCategoryNot: str | None = None
# Matches elements built with this Complex Profile attribute (by name).
complexProfile: str | None = None
# Matches elements NOT built with this Complex Profile attribute (by name).
complexProfileNot: str | None = None
# Matches elements whose Composite Structure attribute name equals this string
# exactly.
compositeStructureNameIs: str | None = None
# Matches elements whose Composite Structure attribute name does not equal
# this string.
compositeStructureNameIsNot: str | None = None
# Matches elements whose Composite Structure attribute name contains this
# substring.
compositeStructureNameContains: str | None = None
# Matches elements whose Composite Structure attribute name does not contain
# this substring.
compositeStructureNameNotContains: str | None = None
# Matches elements whose Composite Structure attribute name starts with this
# substring.
compositeStructureNameStartsWith: str | None = None
# Matches elements whose Composite Structure attribute name ends with this
# substring.
compositeStructureNameEndsWith: str | None = None
# Matches elements whose Complex Profile attribute name equals this string
# exactly.
complexProfileNameIs: str | None = None
# Matches elements whose Complex Profile attribute name does not equal this
# string.
complexProfileNameIsNot: str | None = None
# Matches elements whose Complex Profile attribute name contains this
# substring.
complexProfileNameContains: str | None = None
# Matches elements whose Complex Profile attribute name does not contain this
# substring.
complexProfileNameNotContains: str | None = None
# Matches elements whose Complex Profile attribute name starts with this
# substring.
complexProfileNameStartsWith: str | None = None
# Matches elements whose Complex Profile attribute name ends with this
# substring.
complexProfileNameEndsWith: str | None = None
# Matches roofs whose 'connected to other roof(s)' status equals this value.
roofConnected: bool | None = None
# Matches elements whose structure type (Wall/Beam/Column basic vs. composite
# vs. complex profile) equals this value.
structureType: GraphicOverrideStructureType | None = None
# Matches elements whose sea level altitude equals this value.
seaLevelAltitude: float | None = None
# Matches elements whose sea level altitude does not equal this value.
seaLevelAltitudeNot: float | None = None
# Matches elements whose sea level altitude is less than this value.
seaLevelAltitudeLessThan: float | None = None
# Matches elements whose sea level altitude is greater than this value.
seaLevelAltitudeGreaterThan: float | None = None
# Matches elements whose sea level altitude is less than or equal to this
# value.
seaLevelAltitudeLessOrEqual: float | None = None
# Matches elements whose sea level altitude is greater than or equal to this
# value.
seaLevelAltitudeGreaterOrEqual: float | None = None
# Matches elements whose altitude to project zero equals this value.
projectZeroAltitude: float | None = None
# Matches elements whose altitude to project zero does not equal this value.
projectZeroAltitudeNot: float | None = None
# Matches elements whose altitude to project zero is less than this value.
projectZeroAltitudeLessThan: float | None = None
# Matches elements whose altitude to project zero is greater than this value.
projectZeroAltitudeGreaterThan: float | None = None
# Matches elements whose altitude to project zero is less than or equal to
# this value.
projectZeroAltitudeLessOrEqual: float | None = None
# Matches elements whose altitude to project zero is greater than or equal to
# this value.
projectZeroAltitudeGreaterOrEqual: float | None = None
# Matches elements whose altitude to the ground floor equals this value.
groundFloorAltitude: float | None = None
# Matches elements whose altitude to the ground floor does not equal this
# value.
groundFloorAltitudeNot: float | None = None
# Matches elements whose altitude to the ground floor is less than this value.
groundFloorAltitudeLessThan: float | None = None
# Matches elements whose altitude to the ground floor is greater than this
# value.
groundFloorAltitudeGreaterThan: float | None = None
# Matches elements whose altitude to the ground floor is less than or equal to
# this value.
groundFloorAltitudeLessOrEqual: float | None = None
# Matches elements whose altitude to the ground floor is greater than or equal
# to this value.
groundFloorAltitudeGreaterOrEqual: float | None = None
# Matches elements whose roof altitude equals this value.
roofAltitude: float | None = None
# Matches elements whose roof altitude does not equal this value.
roofAltitudeNot: float | None = None
# Matches elements whose roof altitude is less than this value.
roofAltitudeLessThan: float | None = None
# Matches elements whose roof altitude is greater than this value.
roofAltitudeGreaterThan: float | None = None
# Matches elements whose roof altitude is less than or equal to this value.
roofAltitudeLessOrEqual: float | None = None
# Matches elements whose roof altitude is greater than or equal to this value.
roofAltitudeGreaterOrEqual: float | None = None
# Matches elements whose placement story equals this 0-based story/floor index
# (same convention as floorIndex elsewhere in Tapir). Only equality is
# supported - ArchiCAD's criteria editor does not offer a 'not equal' option
# for this field.
floorIndex: int | None = None
# Matches Door/Window/RoofWindow/Opening elements whose sill height equals
# this value.
sillHeight: float | None = None
sillHeightNot: float | None = None
sillHeightLessThan: float | None = None
sillHeightGreaterThan: float | None = None
sillHeightLessOrEqual: float | None = None
sillHeightGreaterOrEqual: float | None = None
# Matches Door/Window/RoofWindow/Opening elements whose lintel height equals
# this value.
lintelHeight: float | None = None
lintelHeightNot: float | None = None
lintelHeightLessThan: float | None = None
lintelHeightGreaterThan: float | None = None
lintelHeightLessOrEqual: float | None = None
lintelHeightGreaterOrEqual: float | None = None
# Matches Door/Window/RoofWindow elements whose screed thickness ('Epaisseur
# chape') equals this value.
screedThickness: float | None = None
screedThicknessNot: float | None = None
screedThicknessLessThan: float | None = None
screedThicknessGreaterThan: float | None = None
screedThicknessLessOrEqual: float | None = None
screedThicknessGreaterOrEqual: float | None = None
# Matches Stair/Zone elements whose absolute linked upper story equals this
# 0-based story index. Only equality is supported. -31001 means 'not linked'
# ('Non lie').
linkedUpperStoryAbsolute: int | None = None
# Matches Stair/Zone elements whose relative linked upper story equals this
# value. Only equality is supported. -31001 means 'not linked' ('Non lie').
linkedUpperStoryRelative: int | None = None
# Matches MEP elements whose diameter equals this value.
mepDiameter: float | None = None
mepDiameterNot: float | None = None
mepDiameterLessThan: float | None = None
mepDiameterGreaterThan: float | None = None
mepDiameterLessOrEqual: float | None = None
mepDiameterGreaterOrEqual: float | None = None
# Matches MEP elements whose 2nd diameter equals this value.
mepDiameter2: float | None = None
mepDiameter2Not: float | None = None
mepDiameter2LessThan: float | None = None
mepDiameter2GreaterThan: float | None = None
mepDiameter2LessOrEqual: float | None = None
mepDiameter2GreaterOrEqual: float | None = None
# Matches MEP elements whose nominal diameter (DN) equals this value.
mepDN: int | None = None
mepDNNot: int | None = None
mepDNLessThan: int | None = None
mepDNGreaterThan: int | None = None
mepDNLessOrEqual: int | None = None
mepDNGreaterOrEqual: int | None = None
# Matches MEP elements whose 2nd nominal diameter (DN) equals this value.
mepDN2: int | None = None
mepDN2Not: int | None = None
mepDN2LessThan: int | None = None
mepDN2GreaterThan: int | None = None
mepDN2LessOrEqual: int | None = None
mepDN2GreaterOrEqual: int | None = None
# Matches MEP elements whose height equals this value.
mepHeight: float | None = None
mepHeightNot: float | None = None
mepHeightLessThan: float | None = None
mepHeightGreaterThan: float | None = None
mepHeightLessOrEqual: float | None = None
mepHeightGreaterOrEqual: float | None = None
# Matches MEP elements whose 2nd height equals this value.
mepHeight2: float | None = None
mepHeight2Not: float | None = None
mepHeight2LessThan: float | None = None
mepHeight2GreaterThan: float | None = None
mepHeight2LessOrEqual: float | None = None
mepHeight2GreaterOrEqual: float | None = None
# Matches MEP elements whose width equals this value.
mepWidth: float | None = None
mepWidthNot: float | None = None
mepWidthLessThan: float | None = None
mepWidthGreaterThan: float | None = None
mepWidthLessOrEqual: float | None = None
mepWidthGreaterOrEqual: float | None = None
# Matches MEP elements whose 2nd width equals this value.
mepWidth2: float | None = None
mepWidth2Not: float | None = None
mepWidth2LessThan: float | None = None
mepWidth2GreaterThan: float | None = None
mepWidth2LessOrEqual: float | None = None
mepWidth2GreaterOrEqual: float | None = None
# Matches MEP elements whose angle equals this value (degrees).
mepAngle: float | None = None
mepAngleNot: float | None = None
mepAngleLessThan: float | None = None
mepAngleGreaterThan: float | None = None
mepAngleLessOrEqual: float | None = None
mepAngleGreaterOrEqual: float | None = None
# Matches MEP elements whose custom angle equals this value (degrees).
mepCustomAngle: float | None = None
mepCustomAngleNot: float | None = None
mepCustomAngleLessThan: float | None = None
mepCustomAngleGreaterThan: float | None = None
mepCustomAngleLessOrEqual: float | None = None
mepCustomAngleGreaterOrEqual: float | None = None
# Matches MEP elements whose insulation thickness equals this value.
mepInsulationThickness: float | None = None
mepInsulationThicknessNot: float | None = None
mepInsulationThicknessLessThan: float | None = None
mepInsulationThicknessGreaterThan: float | None = None
mepInsulationThicknessLessOrEqual: float | None = None
mepInsulationThicknessGreaterOrEqual: float | None = None
# Matches MEP elements whose length equals this value.
mepLength: float | None = None
mepLengthNot: float | None = None
mepLengthLessThan: float | None = None
mepLengthGreaterThan: float | None = None
mepLengthLessOrEqual: float | None = None
mepLengthGreaterOrEqual: float | None = None
# Matches MEP elements whose description equals this string exactly.
mepDescriptionIs: str | None = None
mepDescriptionIsNot: str | None = None
mepDescriptionContains: str | None = None
mepDescriptionNotContains: str | None = None
mepDescriptionStartsWith: str | None = None
mepDescriptionEndsWith: str | None = None
# Matches MEP elements whose material name equals this string exactly.
mepMaterialNameIs: str | None = None
mepMaterialNameIsNot: str | None = None
mepMaterialNameContains: str | None = None
mepMaterialNameNotContains: str | None = None
mepMaterialNameStartsWith: str | None = None
mepMaterialNameEndsWith: str | None = None
# Matches walls whose complexity equals this.
wallComplexity: GraphicOverrideWallComplexity | None = None
# Matches walls whose complexity is NOT this.
wallComplexityNot: GraphicOverrideWallComplexity | None = None
# Matches walls whose home story level offset equals this value.
wallLevelOffset: float | None = None
wallLevelOffsetNot: float | None = None
wallLevelOffsetLessThan: float | None = None
wallLevelOffsetGreaterThan: float | None = None
wallLevelOffsetLessOrEqual: float | None = None
wallLevelOffsetGreaterOrEqual: float | None = None
# Matches walls whose top offset equals this value.
wallTopOffset: float | None = None
wallTopOffsetNot: float | None = None
wallTopOffsetLessThan: float | None = None
wallTopOffsetGreaterThan: float | None = None
wallTopOffsetLessOrEqual: float | None = None
wallTopOffsetGreaterOrEqual: float | None = None
# Matches walls whose reference line position equals this.
wallReferenceLinePosition: WallReferenceLineLocation | None = None
wallReferenceLinePositionNot: WallReferenceLineLocation | None = None
# Matches walls whose outside slant angle equals this value (degrees).
wallOutsideAngle: float | None = None
wallOutsideAngleNot: float | None = None
wallOutsideAngleLessThan: float | None = None
wallOutsideAngleGreaterThan: float | None = None
wallOutsideAngleLessOrEqual: float | None = None
wallOutsideAngleGreaterOrEqual: float | None = None
# Matches walls whose inside slant angle equals this value (degrees).
wallInsideAngle: float | None = None
wallInsideAngleNot: float | None = None
wallInsideAngleLessThan: float | None = None
wallInsideAngleGreaterThan: float | None = None
wallInsideAngleLessOrEqual: float | None = None
wallInsideAngleGreaterOrEqual: float | None = None
# Matches walls whose thickness equals this value.
wallThickness: float | None = None
wallThicknessNot: float | None = None
wallThicknessLessThan: float | None = None
wallThicknessGreaterThan: float | None = None
wallThicknessLessOrEqual: float | None = None
wallThicknessGreaterOrEqual: float | None = None
# Matches walls whose height equals this value.
wallHeight: float | None = None
wallHeightNot: float | None = None
wallHeightLessThan: float | None = None
wallHeightGreaterThan: float | None = None
wallHeightLessOrEqual: float | None = None
wallHeightGreaterOrEqual: float | None = None
# Matches walls whose profile height equals this value.
wallProfileHeight: float | None = None
wallProfileHeightNot: float | None = None
wallProfileHeightLessThan: float | None = None
wallProfileHeightGreaterThan: float | None = None
wallProfileHeightLessOrEqual: float | None = None
wallProfileHeightGreaterOrEqual: float | None = None
# Matches walls whose height is measured downward (reversed) if true.
wallHeightReversed: bool | None = None
# Matches walls whose width equals this value.
wallWidth: float | None = None
wallWidthNot: float | None = None
wallWidthLessThan: float | None = None
wallWidthGreaterThan: float | None = None
wallWidthLessOrEqual: float | None = None
wallWidthGreaterOrEqual: float | None = None
# Matches walls whose profile width equals this value.
wallProfileWidth: float | None = None
wallProfileWidthNot: float | None = None
wallProfileWidthLessThan: float | None = None
wallProfileWidthGreaterThan: float | None = None
wallProfileWidthLessOrEqual: float | None = None
wallProfileWidthGreaterOrEqual: float | None = None
# Matches Object/Lamp elements whose length parameter ('A') equals this value.
objectLength: float | None = None
objectLengthNot: float | None = None
objectLengthLessThan: float | None = None
objectLengthGreaterThan: float | None = None
objectLengthLessOrEqual: float | None = None
objectLengthGreaterOrEqual: float | None = None
# Matches Door/Window elements whose jamb thickness 1 ('Epaisseur Montant1')
# equals this value.
jambThickness1: float | None = None
jambThickness1Not: float | None = None
jambThickness1LessThan: float | None = None
jambThickness1GreaterThan: float | None = None
jambThickness1LessOrEqual: float | None = None
jambThickness1GreaterOrEqual: float | None = None
# Matches Door/Window elements whose jamb thickness 2 ('Epaisseur Montant2')
# equals this value.
jambThickness2: float | None = None
jambThickness2Not: float | None = None
jambThickness2LessThan: float | None = None
jambThickness2GreaterThan: float | None = None
jambThickness2LessOrEqual: float | None = None
jambThickness2GreaterOrEqual: float | None = None
# Matches Curtain Wall elements whose panel offset equals this value.
curtainWallPanelOffset: float | None = None
curtainWallPanelOffsetNot: float | None = None
curtainWallPanelOffsetLessThan: float | None = None
curtainWallPanelOffsetGreaterThan: float | None = None
curtainWallPanelOffsetLessOrEqual: float | None = None
curtainWallPanelOffsetGreaterOrEqual: float | None = None
# Matches stairs whose riser incline angle equals this value.
stairRiserInclineAngle: float | None = None
stairRiserInclineAngleNot: float | None = None
stairRiserInclineAngleLessThan: float | None = None
stairRiserInclineAngleGreaterThan: float | None = None
stairRiserInclineAngleLessOrEqual: float | None = None
stairRiserInclineAngleGreaterOrEqual: float | None = None
# Matches stairs whose minimum headroom height equals this value.
stairMinHeadroom: float | None = None
stairMinHeadroomNot: float | None = None
stairMinHeadroomLessThan: float | None = None
stairMinHeadroomGreaterThan: float | None = None
stairMinHeadroomLessOrEqual: float | None = None
stairMinHeadroomGreaterOrEqual: float | None = None
# Matches stairs whose 'Invalid height' status equals this value.
stairInvalidHeight: bool | None = None
# Matches stairs whose default width equals this value.
stairDefaultWidth: float | None = None
stairDefaultWidthNot: float | None = None
stairDefaultWidthLessThan: float | None = None
stairDefaultWidthGreaterThan: float | None = None
stairDefaultWidthLessOrEqual: float | None = None
stairDefaultWidthGreaterOrEqual: float | None = None
# Matches stairs whose slope equals this value.
stairSlope: float | None = None
stairSlopeNot: float | None = None
stairSlopeLessThan: float | None = None
stairSlopeGreaterThan: float | None = None
stairSlopeLessOrEqual: float | None = None
stairSlopeGreaterOrEqual: float | None = None
# Matches stairs whose maximum riser height equals this value.
stairMaxRiserHeight: float | None = None
# Matches stairs whose maximum riser height does not equal this value.
stairMaxRiserHeightNot: float | None = None
# Matches stairs whose maximum riser height is less than this value.
stairMaxRiserHeightLessThan: float | None = None
# Matches stairs whose maximum riser height is greater than this value.
stairMaxRiserHeightGreaterThan: float | None = None
# Matches stairs whose maximum riser height is less than or equal to this
# value.
stairMaxRiserHeightLessOrEqual: float | None = None
# Matches stairs whose maximum riser height is greater than or equal to this
# value.
stairMaxRiserHeightGreaterOrEqual: float | None = None
# Matches stairs whose minimum riser height equals this value.
stairMinRiserHeight: float | None = None
# Matches stairs whose minimum riser height does not equal this value.
stairMinRiserHeightNot: float | None = None
# Matches stairs whose minimum riser height is less than this value.
stairMinRiserHeightLessThan: float | None = None
# Matches stairs whose minimum riser height is greater than this value.
stairMinRiserHeightGreaterThan: float | None = None
# Matches stairs whose minimum riser height is less than or equal to this
# value.
stairMinRiserHeightLessOrEqual: float | None = None
# Matches stairs whose minimum riser height is greater than or equal to this
# value.
stairMinRiserHeightGreaterOrEqual: float | None = None
# Matches stairs whose maximum going equals this value.
stairMaxGoing: float | None = None
# Matches stairs whose maximum going does not equal this value.
stairMaxGoingNot: float | None = None
# Matches stairs whose maximum going is less than this value.
stairMaxGoingLessThan: float | None = None
# Matches stairs whose maximum going is greater than this value.
stairMaxGoingGreaterThan: float | None = None
# Matches stairs whose maximum going is less than or equal to this value.
stairMaxGoingLessOrEqual: float | None = None
# Matches stairs whose maximum going is greater than or equal to this value.
stairMaxGoingGreaterOrEqual: float | None = None
# Matches stairs whose minimum going equals this value.
stairMinGoing: float | None = None
# Matches stairs whose minimum going does not equal this value.
stairMinGoingNot: float | None = None
# Matches stairs whose minimum going is less than this value.
stairMinGoingLessThan: float | None = None
# Matches stairs whose minimum going is greater than this value.
stairMinGoingGreaterThan: float | None = None
# Matches stairs whose minimum going is less than or equal to this value.
stairMinGoingLessOrEqual: float | None = None
# Matches stairs whose minimum going is greater than or equal to this value.
stairMinGoingGreaterOrEqual: float | None = None
# Matches stairs whose number of risers equals this value.
stairRiserCount: int | None = None
# Matches stairs whose number of risers does not equal this value.
stairRiserCountNot: int | None = None
# Matches stairs whose number of risers is less than this value.
stairRiserCountLessThan: int | None = None
# Matches stairs whose number of risers is greater than this value.
stairRiserCountGreaterThan: int | None = None
# Matches stairs whose number of risers is less than or equal to this value.
stairRiserCountLessOrEqual: int | None = None
# Matches stairs whose number of risers is greater than or equal to this
# value.
stairRiserCountGreaterOrEqual: int | None = None
# Matches stairs whose number of steps equals this value.
stairStepCount: int | None = None
# Matches stairs whose number of steps does not equal this value.
stairStepCountNot: int | None = None
# Matches stairs whose number of steps is less than this value.
stairStepCountLessThan: int | None = None
# Matches stairs whose number of steps is greater than this value.
stairStepCountGreaterThan: int | None = None
# Matches stairs whose number of steps is less than or equal to this value.
stairStepCountLessOrEqual: int | None = None
# Matches stairs whose number of steps is greater than or equal to this value.
stairStepCountGreaterOrEqual: int | None = None
# Matches stairs whose number of steps per flight equals this value. Only
# equality is supported.
stairStepCountPerFlight: int | None = None
# Matches elements classified with exactly this Classification System item ID,
# not with its descendants.
classificationIs: str | None = None
# Matches elements not classified with exactly this Classification System item
# ID.
classificationIsNot: str | None = None
# Matches elements classified with a direct child of this Classification
# System item ID.
classificationChildOf: str | None = None
# Matches elements not classified with a direct child of this Classification
# System item ID.
classificationNotChildOf: str | None = None
# true matches elements that have any item of the classification system
# (classificationSystem, or the project's only system); false matches elements
# that have none.
classificationHasValue: bool | None = None
# true matches elements that have no item of the classification system; false
# matches elements that have one.
classificationHasNoValue: bool | None = None
# Matches morphs whose body type equals this.
morphBodyType: MorphBodyType | None = None
# Matches morphs whose body type does not equal this.
morphBodyTypeNot: MorphBodyTypeNot | None = None
# Matches beams whose cross section equals this.
beamCrossSectionType: BeamCrossSectionType | None = None
# Matches hatches whose category equals this: drafting, cover or cut fill,
# building material cut fill, surface color, cover or texture fill.
hatchCategory: HatchCategory | None = None
# Matches openings whose shape equals this.
openingShape: OpeningShape | None = None
# Matches openings whose shape does not equal this.
openingShapeNot: OpeningShapeNot | None = None
# Matches openings whose extrusion limits equal this: infinite, limited on
# both sides, limited on one side.
openingLimits: OpeningLimits | None = None
# Matches openings whose extrusion limits do not equal this.
openingLimitsNot: OpeningLimitsNot | None = None
# Matches openings whose orientation equals this.
openingOrientation: OpeningOrientation | None = None
# Matches openings whose orientation does not equal this.
openingOrientationNot: OpeningOrientationNot | None = None
# Matches texts whose alignment equals this.
textAlignment: TextAlignment | None = None
# Matches texts with exactly this combination of styles (an empty list matches
# texts with none).
textStyle: list[TextStyleEnum] | None = None
# Matches texts whose line spacing equals this percentage (100 is single
# spacing).
textLineSpacing: int | None = None
# Matches meshes whose edge pen equals this pen index.
meshEdgePen: int | None = None
# Matches meshes whose skirt surface is this Surface attribute (by name).
meshSkirtSurface: str | None = None
# Matches meshes whose skirt surface is not this Surface attribute (by name).
meshSkirtSurfaceNot: str | None = None
# Matches dimensions whose marker size equals this value.
dimensionMarkerSize: float | None = None
# Matches dimensions whose marker size does not equal this value.
dimensionMarkerSizeNot: float | None = None
# Matches dimensions whose marker size is less than this value.
dimensionMarkerSizeLessThan: float | None = None
# Matches dimensions whose marker size is greater than this value.
dimensionMarkerSizeGreaterThan: float | None = None
# Matches dimensions whose marker size is less than or equal to this value.
dimensionMarkerSizeLessOrEqual: float | None = None
# Matches dimensions whose marker size is greater than or equal to this value.
dimensionMarkerSizeGreaterOrEqual: float | None = None
# Matches dimensions whose marker pen equals this pen index.
dimensionMarkerPen: int | None = None
# Matches dimensions whose dimension marker pens contain this pen index.
dimensionMarkerPenContains: int | None = None
# Matches dimensions whose pointer pens contain this pen index.
dimensionPointerPenContains: int | None = None
# Matches dimensions whose pointer line types contain this Line Type attribute
# (by name).
dimensionPointerLineTypeContains: str | None = None
# Matches stairs whose number of risers per flight equals this value.
stairRisersPerFlight: int | None = None
# Matches elements whose renovation status equals this.
renovationStatus: GraphicOverrideRenovationStatus | None = None
# Matches elements whose design option set name contains this text.
variantSetNameContains: str | None = None
# Matches elements whose design option name contains this text.
variantNameContains: str | None = None
# Matches MEP elements whose 'open connection' status equals this value.
# Archicad 29 (Archicad 27 drops it).
mepOpenConnection: bool | None = None
# Matches elements by a Complex Profile parameter that holds one value per
# profile component, identified by its plain name (e.g. 'Epaisseur'). The
# criteria editor only offers equality for it. Archicad 29 (Archicad 27 drops
# it).
profileParameterList: ProfileParameterList | None = None
# Matches walls whose geometry type equals this.
wallGeometryType: GraphicOverrideWallGeometryType | None = None
wallGeometryTypeNot: GraphicOverrideWallGeometryType | None = None
# Matches walls whose reference line offset equals this value. Uses a
# different underlying mechanism than every other numeric field in this
# schema, reverse-engineered separately - support all 6 comparison operators
# like the rest.
wallReferenceLineOffset: float | None = None
wallReferenceLineOffsetNot: float | None = None
wallReferenceLineOffsetLessThan: float | None = None
wallReferenceLineOffsetGreaterThan: float | None = None
wallReferenceLineOffsetLessOrEqual: float | None = None
wallReferenceLineOffsetGreaterOrEqual: float | None = None
# Matches walls whose ceiling line is this Line Type attribute (by name).
wallTopLine: str | None = None
wallTopLineNot: str | None = None
# Matches walls whose cut line is this Line Type attribute (by name).
wallCutLine: str | None = None
wallCutLineNot: str | None = None
# Matches walls whose uncut line is this Line Type attribute (by name).
wallUncutLine: str | None = None
wallUncutLineNot: str | None = None
# Matches walls whose hatch foreground pen equals this plain pen index.
wallHatchForegroundPen: int | None = None
wallHatchForegroundPenNot: int | None = None
# Matches walls whose 2D contour pen equals this plain pen index.
wallContourPen: int | None = None
wallContourPenNot: int | None = None
# Matches walls whose ceiling line pen equals this plain pen index.
wallTopLinePen: int | None = None
wallTopLinePenNot: int | None = None
# Matches walls whose cut hatch background pen equals this plain pen index.
wallCutHatchBackgroundPen: int | None = None
wallCutHatchBackgroundPenNot: int | None = None
# Matches walls whose hatch background pen equals this plain pen index.
wallHatchBackgroundPen: int | None = None
wallHatchBackgroundPenNot: int | None = None
# Matches walls whose uncut line pen equals this plain pen index.
wallUncutLinePen: int | None = None
wallUncutLinePenNot: int | None = None
# Matches walls whose outside face surface is this Surface attribute (by
# name).
wallOutsideSurface: str | None = None
wallOutsideSurfaceNot: str | None = None
# Matches walls whose inside face surface is this Surface attribute (by name).
wallInsideSurface: str | None = None
wallInsideSurfaceNot: str | None = None
# Matches walls whose side surface is this Surface attribute (by name).
wallSideSurface: str | None = None
wallSideSurfaceNot: str | None = None
# Matches walls whose parent element ID equals this string exactly.
wallParentIdIs: str | None = None
wallParentIdIsNot: str | None = None
wallParentIdContains: str | None = None
wallParentIdNotContains: str | None = None
wallParentIdStartsWith: str | None = None
wallParentIdEndsWith: str | None = None
# Matches walls whose connected opening IDs list equals this string exactly.
wallConnectedOpeningIdsIs: str | None = None
wallConnectedOpeningIdsIsNot: str | None = None
wallConnectedOpeningIdsContains: str | None = None
wallConnectedOpeningIdsNotContains: str | None = None
wallConnectedOpeningIdsStartsWith: str | None = None
wallConnectedOpeningIdsEndsWith: str | None = None
# Matches elements whose library part name equals this string exactly.
libraryPartNameIs: str | None = None
libraryPartNameIsNot: str | None = None
libraryPartNameContains: str | None = None
libraryPartNameNotContains: str | None = None
libraryPartNameStartsWith: str | None = None
libraryPartNameEndsWith: str | None = None
# Matches elements whose subtype name equals this string exactly.
subTypeNameIs: str | None = None
subTypeNameIsNot: str | None = None
subTypeNameContains: str | None = None
subTypeNameNotContains: str | None = None
subTypeNameStartsWith: str | None = None
subTypeNameEndsWith: str | None = None
# Matches columns whose coating type equals this.
columnCoatingType: GraphicOverrideColumnCoatingType | None = None
columnCoatingTypeNot: GraphicOverrideColumnCoatingType | None = None
# Matches columns whose inclination angle equals this value (degrees).
columnInclinationAngle: float | None = None
columnInclinationAngleNot: float | None = None
columnInclinationAngleLessThan: float | None = None
columnInclinationAngleGreaterThan: float | None = None
columnInclinationAngleLessOrEqual: float | None = None
columnInclinationAngleGreaterOrEqual: float | None = None
# Matches columns whose cross section type equals this.
columnCrossSectionType: GraphicOverrideColumnCrossSectionType | None = None
# Matches columns whose core diameter equals this value.
columnCoreDiameter: float | None = None
columnCoreDiameterNot: float | None = None
columnCoreDiameterLessThan: float | None = None
columnCoreDiameterGreaterThan: float | None = None
columnCoreDiameterLessOrEqual: float | None = None
columnCoreDiameterGreaterOrEqual: float | None = None
# Matches columns whose coating thickness equals this value.
columnCoatingThickness: float | None = None
columnCoatingThicknessNot: float | None = None
columnCoatingThicknessLessThan: float | None = None
columnCoatingThicknessGreaterThan: float | None = None
columnCoatingThicknessLessOrEqual: float | None = None
columnCoatingThicknessGreaterOrEqual: float | None = None
columnBottomCrossSectionHeightCut: float | None = None
columnBottomCrossSectionHeightCutNot: float | None = None
columnBottomCrossSectionHeightCutLessThan: float | None = None
columnBottomCrossSectionHeightCutGreaterThan: float | None = None
columnBottomCrossSectionHeightCutLessOrEqual: float | None = None
columnBottomCrossSectionHeightCutGreaterOrEqual: float | None = None
columnBottomCrossSectionHeightPerpendicular: float | None = None
columnBottomCrossSectionHeightPerpendicularNot: float | None = None
columnBottomCrossSectionHeightPerpendicularLessThan: float | None = None
columnBottomCrossSectionHeightPerpendicularGreaterThan: float | None = None
columnBottomCrossSectionHeightPerpendicularLessOrEqual: float | None = None
columnBottomCrossSectionHeightPerpendicularGreaterOrEqual: float | None = None
columnTopCrossSectionHeightCut: float | None = None
columnTopCrossSectionHeightCutNot: float | None = None
columnTopCrossSectionHeightCutLessThan: float | None = None
columnTopCrossSectionHeightCutGreaterThan: float | None = None
columnTopCrossSectionHeightCutLessOrEqual: float | None = None
columnTopCrossSectionHeightCutGreaterOrEqual: float | None = None
columnTopCrossSectionHeightPerpendicular: float | None = None
columnTopCrossSectionHeightPerpendicularNot: float | None = None
columnTopCrossSectionHeightPerpendicularLessThan: float | None = None
columnTopCrossSectionHeightPerpendicularGreaterThan: float | None = None
columnTopCrossSectionHeightPerpendicularLessOrEqual: float | None = None
columnTopCrossSectionHeightPerpendicularGreaterOrEqual: float | None = None
columnProfileCoreHeight: float | None = None
columnProfileCoreHeightNot: float | None = None
columnProfileCoreHeightLessThan: float | None = None
columnProfileCoreHeightGreaterThan: float | None = None
columnProfileCoreHeightLessOrEqual: float | None = None
columnProfileCoreHeightGreaterOrEqual: float | None = None
columnCoreHeightDiameterRatio: float | None = None
columnCoreHeightDiameterRatioNot: float | None = None
columnCoreHeightDiameterRatioLessThan: float | None = None
columnCoreHeightDiameterRatioGreaterThan: float | None = None
columnCoreHeightDiameterRatioLessOrEqual: float | None = None
columnCoreHeightDiameterRatioGreaterOrEqual: float | None = None
columnBottomCrossSectionWidthCut: float | None = None
columnBottomCrossSectionWidthCutNot: float | None = None
columnBottomCrossSectionWidthCutLessThan: float | None = None
columnBottomCrossSectionWidthCutGreaterThan: float | None = None
columnBottomCrossSectionWidthCutLessOrEqual: float | None = None
columnBottomCrossSectionWidthCutGreaterOrEqual: float | None = None
columnBottomCrossSectionWidthPerpendicular: float | None = None
columnBottomCrossSectionWidthPerpendicularNot: float | None = None
columnBottomCrossSectionWidthPerpendicularLessThan: float | None = None
columnBottomCrossSectionWidthPerpendicularGreaterThan: float | None = None
columnBottomCrossSectionWidthPerpendicularLessOrEqual: float | None = None
columnBottomCrossSectionWidthPerpendicularGreaterOrEqual: float | None = None
columnTopCrossSectionWidthCut: float | None = None
columnTopCrossSectionWidthCutNot: float | None = None
columnTopCrossSectionWidthCutLessThan: float | None = None
columnTopCrossSectionWidthCutGreaterThan: float | None = None
columnTopCrossSectionWidthCutLessOrEqual: float | None = None
columnTopCrossSectionWidthCutGreaterOrEqual: float | None = None
columnTopCrossSectionWidthPerpendicular: float | None = None
columnTopCrossSectionWidthPerpendicularNot: float | None = None
columnTopCrossSectionWidthPerpendicularLessThan: float | None = None
columnTopCrossSectionWidthPerpendicularGreaterThan: float | None = None
columnTopCrossSectionWidthPerpendicularLessOrEqual: float | None = None
columnTopCrossSectionWidthPerpendicularGreaterOrEqual: float | None = None
columnCoreWidth: float | None = None
columnCoreWidthNot: float | None = None
columnCoreWidthLessThan: float | None = None
columnCoreWidthGreaterThan: float | None = None
columnCoreWidthLessOrEqual: float | None = None
columnCoreWidthGreaterOrEqual: float | None = None
columnProfileCoreWidth: float | None = None
columnProfileCoreWidthNot: float | None = None
columnProfileCoreWidthLessThan: float | None = None
columnProfileCoreWidthGreaterThan: float | None = None
columnProfileCoreWidthLessOrEqual: float | None = None
columnProfileCoreWidthGreaterOrEqual: float | None = None
# Matches columns whose covering hatch is this Fill attribute (by name).
columnCoveringHatch: str | None = None
columnCoveringHatchNot: str | None = None
# Matches columns whose coating hatch is this Fill attribute (by name).
columnCoatingHatch: str | None = None
columnCoatingHatchNot: str | None = None
# Matches columns whose core foreground pen equals this plain pen index.
columnCoreForegroundPen: int | None = None
columnCoreForegroundPenNot: int | None = None
# Matches columns whose coating foreground pen equals this plain pen index.
columnCoatingForegroundPen: int | None = None
columnCoatingForegroundPenNot: int | None = None
# Matches columns whose covering hatch foreground pen equals this plain pen
# index.
columnCoveringHatchForegroundPen: int | None = None
columnCoveringHatchForegroundPenNot: int | None = None
# Matches columns whose covering hatch background pen equals this plain pen
# index.
columnCoveringHatchBackgroundPen: int | None = None
columnCoveringHatchBackgroundPenNot: int | None = None
# Matches columns whose coating background pen equals this plain pen index.
columnCoatingBackgroundPen: int | None = None
columnCoatingBackgroundPenNot: int | None = None
# Matches columns whose core background pen equals this plain pen index.
columnCoreBackgroundPen: int | None = None
columnCoreBackgroundPenNot: int | None = None
# Matches columns whose hidden line pen equals this plain pen index.
columnHiddenLinePen: int | None = None
columnHiddenLinePenNot: int | None = None
# Matches columns whose hidden line type is this Line Type attribute (by
# name).
columnHiddenLineType: str | None = None
columnHiddenLineTypeNot: str | None = None
# Matches columns whose core surface is this Surface attribute (by name).
columnCoreSurface: str | None = None
columnCoreSurfaceNot: str | None = None
# Matches columns whose coating surface is this Surface attribute (by name).
columnCoatingSurface: str | None = None
columnCoatingSurfaceNot: str | None = None
# Matches columns whose extrusion surface is this Surface attribute (by name).
columnExtrusionSurface: str | None = None
columnExtrusionSurfaceNot: str | None = None
# Matches beams whose axis pen equals this plain pen index.
beamAxisPen: int | None = None
beamAxisPenNot: int | None = None
# Matches beams whose axis line type is this Line Type attribute (by name).
beamAxisLineType: str | None = None
beamAxisLineTypeNot: str | None = None
# Matches beams whose end surface is this Surface attribute (by name).
beamEndSurface: str | None = None
beamEndSurfaceNot: str | None = None
# Matches beams whose right surface is this Surface attribute (by name).
beamRightSurface: str | None = None
beamRightSurfaceNot: str | None = None
# Matches beams whose left surface is this Surface attribute (by name).
beamLeftSurface: str | None = None
beamLeftSurfaceNot: str | None = None
# Matches beams whose bottom surface is this Surface attribute (by name).
beamBottomSurface: str | None = None
beamBottomSurfaceNot: str | None = None
# Matches beams whose top surface is this Surface attribute (by name).
beamTopSurface: str | None = None
beamTopSurfaceNot: str | None = None
# Matches slabs whose reference plane location equals this.
slabReferencePlaneLocation: SlabReferencePlaneLocation | None = None
slabReferencePlaneLocationNot: SlabReferencePlaneLocation | None = None
# Matches slabs whose edge angle mode equals this.
slabEdgeAngle: GraphicOverrideSlabEdgeAngle | None = None
slabEdgeAngleNot: GraphicOverrideSlabEdgeAngle | None = None
# Matches slabs whose default edge angle equals this value (degrees).
slabDefaultEdgeAngle: float | None = None
slabDefaultEdgeAngleNot: float | None = None
slabDefaultEdgeAngleLessThan: float | None = None
slabDefaultEdgeAngleGreaterThan: float | None = None
slabDefaultEdgeAngleLessOrEqual: float | None = None
slabDefaultEdgeAngleGreaterOrEqual: float | None = None
# Matches slabs whose cut line pen equals this plain pen index.
slabCutLinePen: int | None = None
slabCutLinePenNot: int | None = None
# Matches slabs whose construction material fill is this Fill attribute (by
# name). Despite the field's label in the criteria editor, Archicad stores a
# Fill here, not a Building Material (checked on rules made in the editor).
slabConstructionMaterialFill: str | None = None
slabConstructionMaterialFillNot: str | None = None
# Matches roofs whose cut body type equals this.
roofCutBodyType: GraphicOverrideRoofCutBodyType | None = None
roofCutBodyTypeNot: GraphicOverrideRoofCutBodyType | None = None
# Matches roofs whose level number equals this value.
roofLevelNumber: int | None = None
roofLevelNumberNot: int | None = None
roofLevelNumberLessThan: int | None = None
roofLevelNumberGreaterThan: int | None = None
roofLevelNumberLessOrEqual: int | None = None
roofLevelNumberGreaterOrEqual: int | None = None
# Matches roofs whose eave overhang type equals this.
roofEaveOverhangType: GraphicOverrideRoofEaveOverhangType | None = None
# Matches roofs whose edge angle mode equals this.
roofEdgeAngle: GraphicOverrideRoofEdgeAngle | None = None
roofEdgeAngleNot: GraphicOverrideRoofEdgeAngle | None = None
# Matches roofs whose eave overhang equals this value.
roofEaveOverhang: float | None = None
roofEaveOverhangNot: float | None = None
roofEaveOverhangLessThan: float | None = None
roofEaveOverhangGreaterThan: float | None = None
roofEaveOverhangLessOrEqual: float | None = None
roofEaveOverhangGreaterOrEqual: float | None = None
# Matches roofs whose geometry type equals this.
roofGeometryType: GraphicOverrideRoofGeometryType | None = None
roofGeometryTypeNot: GraphicOverrideRoofGeometryType | None = None
# Matches roofs that have a pitch equal to this value (degrees) among their
# panels.
roofPitch: float | None = None
roofPitchNot: float | None = None
roofPitchLessThan: float | None = None
roofPitchGreaterThan: float | None = None
roofPitchLessOrEqual: float | None = None
roofPitchGreaterOrEqual: float | None = None
# Matches shells whose cut body type equals this.
shellCutBodyType: GraphicOverrideShellCutBodyType | None = None
# Matches shells whose tilt angle equals this value (degrees).
shellTiltAngle: float | None = None
shellTiltAngleNot: float | None = None
shellTiltAngleLessThan: float | None = None
shellTiltAngleGreaterThan: float | None = None
shellTiltAngleLessOrEqual: float | None = None
shellTiltAngleGreaterOrEqual: float | None = None
# Matches shells whose geometry type equals this.
shellGeometryType: GraphicOverrideShellGeometryType | None = None
# Matches elements whose hatch is this Fill attribute (by name). ArchiCAD only
# offers 'contains'/'does not contain' for this field, no strict equality.
hatchFill: str | None = None
# Matches elements whose hatch is NOT this Fill attribute (by name).
hatchFillNot: str | None = None
# Matches elements whose contour/line is this Line Type attribute (by name).
# ArchiCAD only offers 'contains'/'does not contain' for this field, no strict
# equality.
lineAttribute: str | None = None
# Matches elements whose contour/line is NOT this Line Type attribute (by
# name).
lineAttributeNot: str | None = None
# Matches elements whose font equals this font name (as GetDetailsOfElements
# reports it in fontName, with its script, e.g. 'Arial Western') exactly.
# Applies to 2D annotation (Text/Label) elements - unlike every other field in
# this schema, this one and 'textPen*' are NOT combined with a 3D-model-
# element anchor when used alone or together, since they don't apply to 3D
# model elements.
fontIs: str | None = None
# Matches elements whose font is one of a list containing this font name (as
# GetDetailsOfElements reports it in fontName, with its script, e.g. 'Arial
# Western') (ArchiCAD's 'contains' operator for a font field).
fontContains: str | None = None
# Matches elements whose font is not one of a list containing this font name
# (as GetDetailsOfElements reports it in fontName, with its script, e.g.
# 'Arial Western').
fontNotContains: str | None = None
# Matches elements whose pen replacement rule equals this value.
penReplacement: GraphicOverridePenReplacement | None = None
# Matches elements whose pen replacement rule does not equal this value.
penReplacementNot: GraphicOverridePenReplacement | None = None
# Matches elements whose line pen number is this value (by plain pen number
# 1-255, not an attribute name). ArchiCAD only offers 'contains'/'does not
# contain' for this field, no strict equality.
linePenContains: int | None = None
# Matches elements whose line pen number is NOT this value (by plain pen
# number 1-255).
linePenNotContains: int | None = None
# Matches elements whose text pen number equals this value (by plain pen
# number 1-255). Applies to 2D annotation elements - see 'fontIs' for the
# anchor-exemption note.
textPenIs: int | None = None
# Matches elements whose text pen number is this value (ArchiCAD's 'contains'
# operator for a pen field, by plain pen number 1-255).
textPenContains: int | None = None
# Matches elements whose text pen number is NOT this value (by plain pen
# number 1-255).
textPenNotContains: int | None = None
# Matches elements whose hatch contour pen number equals this value (by plain
# pen number 1-255). Unlike 'linePenContains', ArchiCAD offers strict is/is-
# not here, not contains/does-not-contain.
hatchContourPen: int | None = None
# Matches elements whose hatch contour pen number does not equal this value
# (by plain pen number 1-255).
hatchContourPenNot: int | None = None
# Matches Opening elements whose end surface equals this Surface attribute (by
# name).
openingEndSurface: str | None = None
# Matches Opening elements whose end surface does not equal this Surface
# attribute (by name).
openingEndSurfaceNot: str | None = None
# Matches Opening elements whose extrusion surface equals this Surface
# attribute (by name).
openingExtrusionSurface: str | None = None
# Matches Opening elements whose extrusion surface does not equal this Surface
# attribute (by name).
openingExtrusionSurfaceNot: str | None = None
# Matches Curtain Wall elements whose frame cut line equals this Line Type
# attribute (by name).
curtainWallFrameCutLine: str | None = None
# Matches Curtain Wall elements whose frame cut line does not equal this Line
# Type attribute (by name).
curtainWallFrameCutLineNot: str | None = None
# Matches Curtain Wall elements whose panel cut line equals this Line Type
# attribute (by name).
curtainWallPanelCutLine: str | None = None
# Matches Curtain Wall elements whose panel cut line does not equal this Line
# Type attribute (by name).
curtainWallPanelCutLineNot: str | None = None
# Matches Curtain Wall elements whose frame cut line pen number equals this
# value (by plain pen number 1-255).
curtainWallFrameCutLinePen: int | None = None
# Matches Curtain Wall elements whose frame cut line pen number does not equal
# this value.
curtainWallFrameCutLinePenNot: int | None = None
# Matches Curtain Wall elements whose panel cut line pen number equals this
# value (by plain pen number 1-255).
curtainWallPanelCutLinePen: int | None = None
# Matches Curtain Wall elements whose panel cut line pen number does not equal
# this value.
curtainWallPanelCutLinePenNot: int | None = None
# Matches elements built with this Building Material attribute (by name).
# ArchiCAD only offers 'contains'/'does not contain' for this field, no strict
# equality.
constructionMaterial: str | None = None
# Matches elements NOT built with this Building Material attribute (by name).
constructionMaterialNot: str | None = None
# Matches elements whose surface is this Surface (Material) attribute (by
# name). ArchiCAD only offers 'contains'/'does not contain' for this field, no
# strict equality.
surface: str | None = None
# Matches elements whose surface is NOT this Surface (Material) attribute (by
# name).
surfaceNot: str | None = None
# Matches elements whose construction material ID equals this string exactly.
constructionMaterialIdIs: str | None = None
# Matches elements whose construction material ID does not equal this string.
constructionMaterialIdIsNot: str | None = None
# Matches elements whose construction material ID contains this substring.
constructionMaterialIdContains: str | None = None
# Matches elements whose construction material ID does not contain this
# substring.
constructionMaterialIdNotContains: str | None = None
# Matches elements whose construction material ID starts with this substring.
constructionMaterialIdStartsWith: str | None = None
# Matches elements whose construction material ID ends with this substring.
constructionMaterialIdEndsWith: str | None = None
# Matches elements whose Building Material attribute name equals this string
# exactly.
constructionMaterialNameIs: str | None = None
# Matches elements whose Building Material attribute name does not equal this
# string.
constructionMaterialNameIsNot: str | None = None
# Matches elements whose Building Material attribute name contains this
# substring.
constructionMaterialNameContains: str | None = None
# Matches elements whose Building Material attribute name does not contain
# this substring.
constructionMaterialNameNotContains: str | None = None
# Matches elements whose Building Material attribute name starts with this
# substring.
constructionMaterialNameStartsWith: str | None = None
# Matches elements whose Building Material attribute name ends with this
# substring.
constructionMaterialNameEndsWith: str | None = None
# Matches elements whose Surface (Material) attribute name equals this string
# exactly.
surfaceNameIs: str | None = None
# Matches elements whose Surface (Material) attribute name does not equal this
# string.
surfaceNameIsNot: str | None = None
# Matches elements whose Surface (Material) attribute name contains this
# substring.
surfaceNameContains: str | None = None
# Matches elements whose Surface (Material) attribute name does not contain
# this substring.
surfaceNameNotContains: str | None = None
# Matches elements whose Surface (Material) attribute name starts with this
# substring.
surfaceNameStartsWith: str | None = None
# Matches elements whose Surface (Material) attribute name ends with this
# substring.
surfaceNameEndsWith: str | None = None
# Matches elements whose Renovation Filter display status equals this filter
# name exactly.
renovationFilterIs: str | None = None
# Matches elements whose Renovation Filter display status does not equal this
# filter name.
renovationFilterIsNot: str | None = None
# Matches elements whose structural function equals this value.
structuralFunction: GraphicOverrideStructuralFunction | None = None
# Matches elements whose structural function does not equal this value.
structuralFunctionNot: GraphicOverrideStructuralFunction | None = None
# Matches elements whose position equals this value.
position: GraphicOverridePosition | None = None
# Matches elements whose position does not equal this value.
positionNot: GraphicOverridePosition | None = None
# Matches elements whose Variant State equals this string exactly (e.g. 'Main
# Model'). Variants are an Archicad 27+ feature - this criterion is
# meaningless on earlier versions.
variantStateIs: str | None = None
# Matches elements whose Variant State does not equal this string. Variants
# are an Archicad 27+ feature - this criterion is meaningless on earlier
# versions.
variantStateIsNot: str | None = None
# Matches elements whose Variant Set equals this string exactly (e.g. 'Main
# Model'). Variants are an Archicad 27+ feature - this criterion is
# meaningless on earlier versions.
variantSetIs: str | None = None
# Matches elements whose Variant Set does not equal this string. Variants are
# an Archicad 27+ feature - this criterion is meaningless on earlier versions.
variantSetIsNot: str | None = None
# Matches elements whose element ID equals this string exactly.
elementIdIs: str | None = None
# Matches elements whose element ID does not equal this string.
elementIdIsNot: str | None = None
# Matches elements whose element ID is less than this string (lexicographic
# comparison, stored as text).
elementIdLessThan: str | None = None
# Matches elements whose element ID is greater than this string.
elementIdGreaterThan: str | None = None
# Matches elements whose element ID is less than or equal to this string.
elementIdLessOrEqual: str | None = None
# Matches elements whose element ID is greater than or equal to this string.
elementIdGreaterOrEqual: str | None = None
# Matches elements whose element ID contains this substring.
elementIdContains: str | None = None
# Matches elements whose element ID does not contain this substring.
elementIdNotContains: str | None = None
# Matches elements whose element ID starts with this substring.
elementIdStartsWith: str | None = None
# Matches elements whose element ID ends with this substring.
elementIdEndsWith: str | None = None
# Matches elements whose unique ID equals this string exactly.
uniqueIdIs: str | None = None
# Matches elements whose unique ID does not equal this string.
uniqueIdIsNot: str | None = None
# Matches elements whose unique ID contains this substring.
uniqueIdContains: str | None = None
# Matches elements whose unique ID does not contain this substring.
uniqueIdNotContains: str | None = None
# Matches elements whose unique ID starts with this substring.
uniqueIdStartsWith: str | None = None
# Matches elements whose unique ID ends with this substring.
uniqueIdEndsWith: str | None = None
# Matches elements whose link's main identifier equals this string exactly.
linkMainIdIs: str | None = None
# Matches elements whose link's main identifier does not equal this string.
linkMainIdIsNot: str | None = None
# Matches elements whose link's main identifier is less than this string.
linkMainIdLessThan: str | None = None
# Matches elements whose link's main identifier is greater than this string.
linkMainIdGreaterThan: str | None = None
# Matches elements whose link's main identifier is less than or equal to this
# string.
linkMainIdLessOrEqual: str | None = None
# Matches elements whose link's main identifier is greater than or equal to
# this string.
linkMainIdGreaterOrEqual: str | None = None
# Matches elements whose link's main identifier contains this substring.
linkMainIdContains: str | None = None
# Matches elements whose link's main identifier does not contain this
# substring.
linkMainIdNotContains: str | None = None
# Matches elements whose link's main identifier starts with this substring.
linkMainIdStartsWith: str | None = None
# Matches elements whose link's main identifier ends with this substring.
linkMainIdEndsWith: str | None = None
# Matches elements whose 'linked element ID' equals this string exactly.
linkedElementIdIs: str | None = None
# Matches elements whose 'linked element ID' does not equal this string.
linkedElementIdIsNot: str | None = None
# Matches elements whose 'linked element ID' is less than this string.
linkedElementIdLessThan: str | None = None
# Matches elements whose 'linked element ID' is greater than this string.
linkedElementIdGreaterThan: str | None = None
# Matches elements whose 'linked element ID' is less than or equal to this
# string.
linkedElementIdLessOrEqual: str | None = None
# Matches elements whose 'linked element ID' is greater than or equal to this
# string.
linkedElementIdGreaterOrEqual: str | None = None
# Matches elements whose 'linked element ID' contains this substring.
linkedElementIdContains: str | None = None
# Matches elements whose 'linked element ID' does not contain this substring.
linkedElementIdNotContains: str | None = None
# Matches elements whose 'linked element ID' starts with this substring.
linkedElementIdStartsWith: str | None = None
# Matches elements whose 'linked element ID' ends with this substring.
linkedElementIdEndsWith: str | None = None
# Matches elements whose name equals this string exactly.
nameIs: str | None = None
# Matches elements whose name does not equal this string.
nameIsNot: str | None = None
# Matches elements whose name contains this substring.
nameContains: str | None = None
# Matches elements whose name does not contain this substring.
nameNotContains: str | None = None
# Matches elements whose name starts with this substring.
nameStartsWith: str | None = None
# Matches elements whose name ends with this substring.
nameEndsWith: str | None = None
# If true, matches elements linked to any link source.
hasLinkSource: bool | None = None
# If true, matches elements NOT linked to any link source.
hasLinkSourceNot: bool | None = None
# Matches elements whose 'missing variant' status equals this value.
missingVariant: bool | None = None
# Matches elements whose Complex Profile 'height stretch' modifier equals this
# value.
profileStretchHeight: float | None = None
# Matches elements whose Complex Profile 'height stretch' modifier does not
# equal this value.
profileStretchHeightNot: float | None = None
# Matches elements whose Complex Profile 'height stretch' modifier is less
# than this value.
profileStretchHeightLessThan: float | None = None
# Matches elements whose Complex Profile 'height stretch' modifier is greater
# than this value.
profileStretchHeightGreaterThan: float | None = None
# Matches elements whose Complex Profile 'height stretch' modifier is less
# than or equal to this value.
profileStretchHeightLessOrEqual: float | None = None
# Matches elements whose Complex Profile 'height stretch' modifier is greater
# than or equal to this value.
profileStretchHeightGreaterOrEqual: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier equals this
# value.
profileStretchWidth: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier does not
# equal this value.
profileStretchWidthNot: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier is less than
# this value.
profileStretchWidthLessThan: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier is greater
# than this value.
profileStretchWidthGreaterThan: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier is less than
# or equal to this value.
profileStretchWidthLessOrEqual: float | None = None
# Matches elements whose Complex Profile 'width stretch' modifier is greater
# than or equal to this value.
profileStretchWidthGreaterOrEqual: float | None = None
# Matches elements whose Complex Profile nominal height equals this value.
profileNominalHeight: float | None = None
# Matches elements whose Complex Profile nominal height does not equal this
# value.
profileNominalHeightNot: float | None = None
# Matches elements whose Complex Profile nominal height is less than this
# value.
profileNominalHeightLessThan: float | None = None
# Matches elements whose Complex Profile nominal height is greater than this
# value.
profileNominalHeightGreaterThan: float | None = None
# Matches elements whose Complex Profile nominal height is less than or equal
# to this value.
profileNominalHeightLessOrEqual: float | None = None
# Matches elements whose Complex Profile nominal height is greater than or
# equal to this value.
profileNominalHeightGreaterOrEqual: float | None = None
# Matches elements whose Complex Profile total height equals this value.
profileTotalHeight: float | None = None
# Matches elements whose Complex Profile total height does not equal this
# value.
profileTotalHeightNot: float | None = None
# Matches elements whose Complex Profile total height is less than this value.
profileTotalHeightLessThan: float | None = None
# Matches elements whose Complex Profile total height is greater than this
# value.
profileTotalHeightGreaterThan: float | None = None
# Matches elements whose Complex Profile total height is less than or equal to
# this value.
profileTotalHeightLessOrEqual: float | None = None
# Matches elements whose Complex Profile total height is greater than or equal
# to this value.
profileTotalHeightGreaterOrEqual: float | None = None
# Matches elements whose Complex Profile total width equals this value.
profileTotalWidth: float | None = None
# Matches elements whose Complex Profile total width does not equal this
# value.
profileTotalWidthNot: float | None = None
# Matches elements whose Complex Profile total width is less than this value.
profileTotalWidthLessThan: float | None = None
# Matches elements whose Complex Profile total width is greater than this
# value.
profileTotalWidthGreaterThan: float | None = None
# Matches elements whose Complex Profile total width is less than or equal to
# this value.
profileTotalWidthLessOrEqual: float | None = None
# Matches elements whose Complex Profile total width is greater than or equal
# to this value.
profileTotalWidthGreaterOrEqual: float | None = None
# Matches elements whose Complex Profile nominal width equals this value.
profileNominalWidth: float | None = None
# Matches elements whose Complex Profile nominal width does not equal this
# value.
profileNominalWidthNot: float | None = None
# Matches elements whose Complex Profile nominal width is less than this
# value.
profileNominalWidthLessThan: float | None = None
# Matches elements whose Complex Profile nominal width is greater than this
# value.
profileNominalWidthGreaterThan: float | None = None
# Matches elements whose Complex Profile nominal width is less than or equal
# to this value.
profileNominalWidthLessOrEqual: float | None = None
# Matches elements whose Complex Profile nominal width is greater than or
# equal to this value.
profileNominalWidthGreaterOrEqual: float | None = None
profileParameter: GraphicOverrideProfileParameter | None = None
customPropertyBool: GraphicOverrideCustomPropertyBool | None = None
customPropertyString: GraphicOverrideCustomPropertyString | None = None
customPropertyNumber: GraphicOverrideCustomPropertyNumber | None = None
customPropertyInteger: GraphicOverrideCustomPropertyInteger | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCustomPropertyBool ¶
Matches elements by a custom (user-defined) boolean property, identified by its plain name and the name of the property group it appears under (both exactly as shown in the Property Manager). Provide 'name', 'group', and exactly one of the operators below. The 6 'has.../is...' operators are available on every custom property type, not just boolean ones.
# The custom property's name, exactly as defined.
name: str
# The custom property group's name, exactly as defined (e.g. 'Generalites').
group: str
# Matches if the property's value equals this.
equals: bool | None = None
# If true, matches elements where this property currently has its default
# value.
hasDefaultValue: bool | None = None
# If true, matches elements where this property has a custom (overridden, non-
# default) value.
hasCustomValue: bool | None = None
# If true, matches elements where this property is available.
isAvailable: bool | None = None
# If true, matches elements where this property is not available.
isNotAvailable: bool | None = None
# If true, matches elements where this property is undefined.
isUndefined: bool | None = None
# If true, matches elements where this property is not undefined.
isNotUndefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCustomPropertyInteger ¶
Matches elements by a custom (user-defined) integer property, identified by its plain name and the name of the property group it appears under. Provide 'name', 'group', and exactly one operator.
# The custom property's name, exactly as defined.
name: str
# The custom property group's name, exactly as defined.
group: str
equals: int | None = None
notEquals: int | None = None
lessThan: int | None = None
greaterThan: int | None = None
lessOrEqual: int | None = None
greaterOrEqual: int | None = None
hasDefaultValue: bool | None = None
hasCustomValue: bool | None = None
isAvailable: bool | None = None
isNotAvailable: bool | None = None
isUndefined: bool | None = None
isNotUndefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCustomPropertyNumber ¶
Matches elements by a custom (user-defined) numeric property, identified by its plain name and the name of the property group it appears under. Provide 'name', 'group', and exactly one operator.
# The custom property's name, exactly as defined.
name: str
# The custom property group's name, exactly as defined.
group: str
equals: float | None = None
notEquals: float | None = None
lessThan: float | None = None
greaterThan: float | None = None
lessOrEqual: float | None = None
greaterOrEqual: float | None = None
hasDefaultValue: bool | None = None
hasCustomValue: bool | None = None
isAvailable: bool | None = None
isNotAvailable: bool | None = None
isUndefined: bool | None = None
isNotUndefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideCustomPropertyString ¶
Matches elements by a custom (user-defined) text or option-set property, identified by its plain name and the name of the property group it appears under. Provide 'name', 'group', and exactly one operator. The value is written in the form the criteria editor uses for the property: wrapped for a free text property, bare for a single choice option set, as a list of one option for a multiple choice option set, which takes equals only. contains, notContains, startsWith and endsWith are available for a free text property only.
# The custom property's name, exactly as defined.
name: str
# The custom property group's name, exactly as defined.
group: str
# Matches if the property's value equals this string exactly.
equals: str | None = None
# Matches if the property's value does not equal this string.
notEquals: str | None = None
# Matches if the property's value contains this text (free text properties
# only).
contains: str | None = None
# Matches if the property's value does not contain this text (free text
# properties only).
notContains: str | None = None
# Matches if the property's value starts with this text (free text properties
# only).
startsWith: str | None = None
# Matches if the property's value ends with this text (free text properties
# only).
endsWith: str | None = None
hasDefaultValue: bool | None = None
hasCustomValue: bool | None = None
isAvailable: bool | None = None
isNotAvailable: bool | None = None
isUndefined: bool | None = None
isNotUndefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideElementType ¶
The tool an element was created with. Window, Door, Zone, Label, Object, Lamp and GridElement were checked on Archicad 27 and 29 against the override Archicad applies to each element; Skylight, CornerWindow, WallEnd and the MEP parts are recognized by Archicad but were not checked on elements. Sub-elements (curtain wall panels, stair treads, railing posts, ...) and groups are not offered by the criteria editor: a rule on CurtainWall, Stair or Railing applies to the whole element.
WALL = 'Wall'
COLUMN = 'Column'
BEAM = 'Beam'
SLAB = 'Slab'
ROOF = 'Roof'
SHELL = 'Shell'
STAIR = 'Stair'
RAILING = 'Railing'
CURTAIN_WALL = 'CurtainWall'
OPENING = 'Opening'
MESH = 'Mesh'
MORPH = 'Morph'
DIMENSION = 'Dimension'
LEVEL_DIMENSION = 'LevelDimension'
RADIAL_DIMENSION = 'RadialDimension'
ANGLE_DIMENSION = 'AngleDimension'
TEXT = 'Text'
CHANGE_MARKER = 'ChangeMarker'
HATCH = 'Hatch'
LINE = 'Line'
ARC = 'Arc'
POLY_LINE = 'PolyLine'
SPLINE = 'Spline'
HOTSPOT = 'Hotspot'
SECTION = 'Section'
ELEVATION = 'Elevation'
INTERIOR_ELEVATION = 'InteriorElevation'
DETAIL = 'Detail'
WORKSHEET = 'Worksheet'
CAMERA = 'Camera'
FIGURE = 'Figure'
DRAWING = 'Drawing'
STRUCTURAL_LINK = 'StructuralLink'
STRUCTURAL_SUPPORT = 'StructuralSupport'
LINEAR_LOAD = 'LinearLoad'
POINT_LOAD = 'PointLoad'
SURFACE_LOAD = 'SurfaceLoad'
DUCT_ROUTING = 'DuctRouting'
CABLE_CARRIER_ROUTING = 'CableCarrierRouting'
PIPE_ROUTING = 'PipeRouting'
WINDOW = 'Window'
DOOR = 'Door'
ZONE = 'Zone'
LABEL = 'Label'
OBJECT = 'Object'
LAMP = 'Lamp'
GRID_ELEMENT = 'GridElement'
SKYLIGHT = 'Skylight'
CORNER_WINDOW = 'CornerWindow'
WALL_END = 'WallEnd'
DUCT_BRANCH = 'DuctBranch'
DUCT_TERMINAL = 'DuctTerminal'
DUCT_ACCESSORY = 'DuctAccessory'
DUCT_FITTING = 'DuctFitting'
DUCT_FLEXIBLE_SEGMENT = 'DuctFlexibleSegment'
CABLE_CARRIER_BRANCH = 'CableCarrierBranch'
CABLE_CARRIER_FITTING = 'CableCarrierFitting'
PIPE_BRANCH = 'PipeBranch'
PIPE_TERMINAL = 'PipeTerminal'
PIPE_ACCESSORY = 'PipeAccessory'
PIPE_FITTING = 'PipeFitting'
EQUIPMENT = 'Equipment'
ALL_TYPES = 'AllTypes'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideFillTypes ¶
The fill types an override applies to.
# Applies to cut fills.
cutFill: bool
# Applies to cover fills.
coverFill: bool
# Applies to drafting fills.
draftingFill: bool
Import from multiconn_archicad.models.tapir.types.
GraphicOverridePenReplacement ¶
The pen replacement rule compared by a graphic override criterion.
NONE = 'None'
FOREGROUND_ONLY = 'ForegroundOnly'
BACKGROUND_ONLY = 'BackgroundOnly'
BOTH = 'Both'
Import from multiconn_archicad.models.tapir.types.
GraphicOverridePosition ¶
The position compared by a graphic override criterion.
EXTERIOR = 'Exterior'
INTERIOR = 'Interior'
UNDEFINED = 'Undefined'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideProfileParameter ¶
Matches elements by a custom Complex Profile modifier parameter, identified by its plain name as defined on that Complex Profile attribute (e.g. 'Debord tole') rather than a fixed field - use this for any profile modifier not covered by the profileStretchHeight/profileNominalWidth/... fields above. Provide 'name' and exactly one comparison operator.
# The profile modifier parameter's name, exactly as defined on the Complex
# Profile attribute.
name: str
equals: float | None = None
notEquals: float | None = None
lessThan: float | None = None
greaterThan: float | None = None
lessOrEqual: float | None = None
greaterOrEqual: float | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRenovationStatus ¶
The renovation status compared by a graphic override criterion.
EXISTING = 'Existing'
TO_BE_DEMOLISHED = 'ToBeDemolished'
NEW = 'New'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRoofCutBodyType ¶
The roof cut body type compared by a graphic override criterion.
CONTOURS_DOWN = 'ContoursDown'
REFERENCE_LINE_DOWN = 'ReferenceLineDown'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRoofEaveOverhangType ¶
The roof eave overhang type compared by a graphic override criterion.
OFFSET = 'Offset'
MANUAL = 'Manual'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRoofEdgeAngle ¶
The roof edge angle mode compared by a graphic override criterion.
VERTICAL = 'Vertical'
PERPENDICULAR = 'Perpendicular'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRoofGeometryType ¶
The roof geometry type compared by a graphic override criterion.
SINGLE_PANEL = 'SinglePanel'
MULTIPLE_PANELS = 'MultiplePanels'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRule ¶
A graphic override rule with its rule group, criterion and style.
graphicOverrideRuleId: GraphicOverrideRuleId
name: str
# The name of the rule group the rule belongs to.
ruleGroupName: str | None = None
# The criterion of the rule, in the XML format Archicad saves override rules
# in. Change its values and pass it to CreateGraphicOverrideRules or
# ModifyGraphicOverrideRules to make similar rules.
criterionXML: str
# The criterion as structured conditions, returned with includeCriterion. It
# can be passed to CreateGraphicOverrideRules or ModifyGraphicOverrideRules as
# it is. The top 'and' holds the rows of the criteria editor's table; a row
# with several values is an 'or' or 'and' of them, and values joined with
# 'and' within an 'or' row are one more 'and'. A condition that is not decoded
# yet is a {"criterionXML": ...} leaf, written back unchanged. Left out when
# criterionXML is not in the format Archicad keeps rules in.
criterion: GraphicOverrideCriterion | None = None
style: GraphicOverrideStyle
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleData ¶
# The name of the rule, unique within the project.
name: str
# The name of the rule group to put the rule in. Created when it does not
# exist.
ruleGroupName: str
# The criterion of the rule, in the XML format Archicad saves override rules
# in. Take it from GetGraphicOverrideRules and change its values: Archicad
# drops XML written from scratch without an error, and the rule then applies
# to all elements. Left out together with 'criterion': Archicad's default
# criterion for new rules.
criterionXML: str | None = None
# The criterion of the rule as structured conditions, turned into Archicad's
# criterion XML. Use it instead of criterionXML, not with it.
criterion: GraphicOverrideCriterion | None = None
style: GraphicOverrideStyle | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleGroup ¶
name: str
# The rules of the group.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleGroupRename ¶
# The current name of the rule group.
name: str
# The new name of the rule group. It must not be empty or used by another rule
# group.
newName: str
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleId ¶
The identifier of a graphic override rule.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleIdArrayItem ¶
graphicOverrideRuleId: GraphicOverrideRuleId
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleIdOrError ¶
GraphicOverrideRuleIdOrError: TypeAlias = (
GraphicOverrideRuleIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleModificationData ¶
graphicOverrideRuleId: GraphicOverrideRuleId
# The new name of the rule.
name: str | None = None
# The new criterion of the rule, in the XML format Archicad saves override
# rules in. Take it from GetGraphicOverrideRules and change its values:
# Archicad drops XML written from scratch without an error, and the rule then
# applies to all elements.
criterionXML: str | None = None
# The new criterion of the rule as structured conditions, turned into
# Archicad's criterion XML. Use it instead of criterionXML, not with it.
criterion: GraphicOverrideCriterion | None = None
style: GraphicOverrideStyle | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleMove ¶
graphicOverrideRuleId: GraphicOverrideRuleId
# The rule group the rule is moved to; it can be the rule's own group to
# change its place there. Created when no rule group has this name.
ruleGroupName: str
# The rule of the target group the moved rule is put in front of. Left out:
# the rule becomes the last of the group.
beforeGraphicOverrideRuleId: GraphicOverrideRuleId | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleOrder ¶
# The name of the rule group.
name: str
# The rules of the group in their new order. Each must be a rule of this
# group, listed once. The listed rules come first, in this order; the rules of
# the group that are not listed keep their order after them.
graphicOverrideRuleIds: list[GraphicOverrideRuleIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleOrError ¶
GraphicOverrideRuleOrError: TypeAlias = (
GraphicOverrideRule | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideRuleReference ¶
# The name of the rule. Rule names are unique within the project.
name: str
# The name of the rule group to search the rule in. Left out: every rule group
# is searched.
ruleGroupName: str | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideShellCutBodyType ¶
The shell cut body type compared by a graphic override criterion.
EDITABLE = 'Editable'
EXTRUDE_UP = 'ExtrudeUp'
EXTRUDE_DOWN = 'ExtrudeDown'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideShellGeometryType ¶
The shell geometry type compared by a graphic override criterion.
EXTRUDE = 'Extrude'
REVOLVED = 'Revolved'
RULED = 'Ruled'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideSlabEdgeAngle ¶
The slab edge angle mode compared by a graphic override criterion.
VERTICAL = 'Vertical'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideStructuralFunction ¶
The structural function compared by a graphic override criterion.
LOAD_BEARING = 'LoadBearing'
NON_LOAD_BEARING = 'NonLoadBearing'
UNDEFINED = 'Undefined'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideStructureType ¶
The structure type compared by a graphic override criterion.
BASIC = 'Basic'
COMPOSITE = 'Composite'
COMPLEX_PROFILE = 'ComplexProfile'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideStyle ¶
What a graphic override rule overrides and how. A field that is left out is not overridden.
# The line type that replaces the line type of lines.
lineType: AttributeId | None = None
# The pen index that replaces the pen of lines, markers and texts.
lineMarkerTextPen: int | None = None
# The fill type that replaces the fill type of fills.
fillType: AttributeId | None = None
# The fills the fill type override applies to. Left out: all fills.
fillTypeAppliesTo: GraphicOverrideFillTypes | None = None
# The pen index that replaces the foreground pen of fills.
fillForegroundPen: int | None = None
# The fills the foreground pen override applies to. Left out: all fills.
fillForegroundPenAppliesTo: GraphicOverrideFillTypes | None = None
# The pen index that replaces the background pen of fills. Use either this or
# fillBackgroundColor.
fillBackgroundPen: int | None = None
# The color that replaces the background pen of fills. Use either this or
# fillBackgroundPen.
fillBackgroundColor: ColorRGB | None = None
# The fills the background pen override applies to. Left out: all fills.
fillBackgroundPenAppliesTo: GraphicOverrideFillTypes | None = None
# The surface that replaces the surface of elements. Use either this or
# surfaceColor.
surface: AttributeId | None = None
# The color that replaces the surface of elements. Use either this or surface.
surfaceColor: ColorRGB | None = None
# The surfaces the surface override applies to. Left out: all surfaces.
surfaceAppliesTo: GraphicOverrideSurfaceTypes | None = None
# Show the skin separator lines.
showSkinSeparators: bool | None = None
# Override the pen color and thickness.
overridePenColorAndThickness: bool | None = None
# The contours to hide when overrideContours is true.
hiddenContours: GraphicOverrideSurfaceTypes | None = None
# Override the contour visibility.
overrideContours: bool | None = None
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideSurfaceTypes ¶
The surface types an override applies to.
# Applies to cut surfaces.
cutSurface: bool
# Applies to uncut surfaces.
uncutSurface: bool
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideWallComplexity ¶
The wall complexity compared by a graphic override criterion.
STRAIGHT = 'Straight'
SLANTED = 'Slanted'
DOUBLE_SLANTED = 'DoubleSlanted'
Import from multiconn_archicad.models.tapir.types.
GraphicOverrideWallGeometryType ¶
The wall geometry type compared by a graphic override criterion.
UNIFORM = 'Uniform'
TRAPEZOID = 'Trapezoid'
POLYGONAL = 'Polygonal'
Import from multiconn_archicad.models.tapir.types.
GridColorUpdate ¶
A color with transparency, each component from 0 to 1. Archicad keeps 8 bits per component, so a value that is set is rounded to the nearest 1/255.
red: float | None = None
green: float | None = None
blue: float | None = None
alpha: float | None = None
Import from multiconn_archicad.models.tapir.types.
GridElementData ¶
# Start point of the grid line (the object's insertion point).
begCoordinate: Coordinate2D
# End point of the grid line. Sets the direction and, unless lengthMode is
# 'none', the length.
endCoordinate: Coordinate2D
lengthMode: GridElementLengthMode | None = None
# Home story index. Default: the tool default.
floorIndex: int | None = None
# Layer attribute index. Only a positive index takes effect. Default: the tool
# default.
layerIndex: int | None = None
# GDL parameters to set by name (read the names with GetGridElementDefaults).
# The value is a number, a boolean or a string. Unknown names and wrong value
# types are reported in warnings and skipped. The tool defaults can look
# different from a grid drawn with the Grid Tool (for example a short line
# with a leader to the bubble); to get the same look, copy the parameters of
# such a grid (GetGridElements with includeParameters).
parameters: list[GridParameter] | None = None
Import from multiconn_archicad.models.tapir.types.
GridElementDetails ¶
# The grid element. The zero GUID for the tool defaults.
elementId: ElementId
# Four-character variation of the object: 'GREL' for a grid element.
variation: str
# Home story index.
floorIndex: int
# Layer attribute index.
layerIndex: int
# Insertion point: the start of the grid line.
pos: Coordinate2D
# Direction of the grid line in radians.
angle: float
# Length of the grid line: the GDL parameter AC_Length of the Grid Tool's grid
# marker, or the object's A size for a library part without it.
length: float
# The object's xRatio as stored: its A size with useXYFixSize on, otherwise
# the A size divided by the library part's own A.
xRatio: float
# The object's yRatio as stored, like xRatio for the B size.
yRatio: float
# Whether xRatio and yRatio hold the sizes themselves.
useXYFixSize: bool
# Elevation of the object from its home story.
level: float
# Library part index.
libInd: int
# Localized name of the library part.
libraryPartName: str
# GDL parameters, separators left out. Only when requested.
parameters: list[GridParameterDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
GridElementLengthMode ¶
How the line length is applied. length (default): to the GDL parameter AC_Length when the library part has it, as the Grid Tool's grid marker does; otherwise to the object's A size, converted to xRatio as CreateObjects does. none: the length is left to 'parameters'.
LENGTH = 'length'
NONE = 'none'
Import from multiconn_archicad.models.tapir.types.
GridParameter ¶
name: str
# A number or a boolean for a numeric parameter, a string for a String or
# Title parameter.
value: Any
Import from multiconn_archicad.models.tapir.types.
GridParameterDetails ¶
name: str
displayName: str
# Integer, Length, Angle, RealNum, LightSwitch, ColorRGB, Intensity, LineType,
# Material, FillPattern, PenColor, String, Boolean, Title, BuildingMaterial,
# Profile, Dictionary or Unknown.
type: str
# Number for numeric and boolean types, string for String and Title. Not given
# for arrays.
value: Any | None = None
# First dimension of an array parameter.
dimension1: int | None = None
# Second dimension of an array parameter.
dimension2: int | None = None
Import from multiconn_archicad.models.tapir.types.
GridSettingsUpdate ¶
The grid settings to change, in the form GetGridSettings returns. Only the given keys are changed; a color may give only some of its components.
# The horizontal spacing of the main grid, in meters.
spaceMainX: float | None = None
# The vertical spacing of the main grid, in meters.
spaceMainY: float | None = None
# The number of main horizontal grid lines.
nLineMainX: int | None = None
# The number of main vertical grid lines.
nLineMainY: int | None = None
# Whether the grid is visible.
gridSwitch: bool | None = None
# The horizontal spacing of the auxiliary grid, in meters.
spaceAuxX: float | None = None
# The vertical spacing of the auxiliary grid, in meters.
spaceAuxY: float | None = None
# The number of horizontal auxiliary grid lines.
nLineAuxX: int | None = None
# The number of vertical auxiliary grid lines.
nLineAuxY: int | None = None
# 0: none, 1: grid, 2: snap.
gridMode: int | None = None
# The horizontal offset of the snap grid, in meters.
snapOffsX: float | None = None
# The vertical offset of the snap grid, in meters.
snapOffsY: float | None = None
# The horizontal spacing of the snap grid, in meters.
snapStepX: float | None = None
# The vertical spacing of the snap grid, in meters.
snapStepY: float | None = None
# The status of the grid, as Archicad stores it.
status: int | None = None
# The rotation angle of the grid.
gridAngle: float | None = None
# The X offset of the grid.
gridOffsX: float | None = None
# The Y offset of the grid.
gridOffsY: float | None = None
# The Z offset of the grid.
gridOffsZ: float | None = None
backColor: GridColorUpdate | None = None
# A color with transparency, each component from 0 to 1. Archicad keeps 8 bits
# per component, so a value that is set is rounded to the nearest 1/255.
gridColor: GridColorUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
Group ¶
The property group defined by name or id. If both fields exists the id will be used.
propertyGroupId: PropertyGroupId | None = None
name: str | None = None
Import from multiconn_archicad.models.tapir.types.
GroupId ¶
The identifier of a group.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
GroupUserData ¶
The user data an add-on attached to the group.
# The version of the user data, as set by the add-on that attached it.
dataVersion: int
# The platform sign of the user data, which tells the byte order the data was
# written in.
platformSign: int
# The flags of the user data (APIUserDataFlag_FillWith and
# APIUserDataFlag_Pickup bits), as set by the add-on that attached it.
flags: int
# The bytes of the user data, base64 encoded. Empty when the user data has no
# bytes.
data: str
# The key-value pairs of the user data, decoded from data. Only present when
# dataVersion is 1, the layout SetUserDataOfGroups writes.
pairs: list[UserDataPair] | None = None
Import from multiconn_archicad.models.tapir.types.
GroupUserDataResult ¶
userData: GroupUserData
Import from multiconn_archicad.models.tapir.types.
GsmObject ¶
The GDL object data. Omitted for a library part that is not a GDL object, e.g. an image.
# The main GUID of the library part, the guid field of
# GetAvailableLibraryParts.
guid: str | None = None
# True if the library part is a subtype other library parts can be derived
# from.
isSubType: bool | None = None
# The main GUID of the subtype (parent) of the library part.
subTypeGuid: str | None = None
# True if the library part is in the subtype given by subTypeOf. Only when
# subTypeOf is given.
isInSubTypeOf: bool | None = None
# True if the library part is marked as the default user interface (UI
# default).
isUIDefault: bool | None = None
# The license of the library part.
license: str | None = None
# The version of the license of the library part.
licenseVersion: str | None = None
# Which sections the library part has.
contents: Contents
# Only when includeScripts is true. A script is omitted when the library part
# has none or it cannot be read, e.g. without the right password.
scripts: LibraryPartObjectScriptAvailability | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
GuidId ¶
Identifier.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
H¶
Import from multiconn_archicad.models.tapir.types.
HatchCategory ¶
Matches hatches whose category equals this: drafting, cover or cut fill, building material cut fill, surface color, cover or texture fill.
DRAFTING = 'Drafting'
COVER = 'Cover'
CUT = 'Cut'
BUILDING_MATERIAL_CUT = 'BuildingMaterialCut'
SURFACE_COLOR = 'SurfaceColor'
SURFACE_COVER = 'SurfaceCover'
SURFACE_TEXTURE = 'SurfaceTexture'
Import from multiconn_archicad.models.tapir.types.
HatchData ¶
The parameters of the new Hatch.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the hatch on. Optional parameter, by default
# the current layer is used.
layerIndex: int | None = None
# The 2D coordinates of the hatch outline. The first point may be repeated at
# the end, as in the closed outline GetDetailsOfElements returns; that last
# point is then ignored.
coordinates: list[Coordinate2D]
# The arcs of the hatch outline.
arcs: list[PolyArc] | None = None
# Optional holes of the hatch, each with its polygonOutline and optional
# polygonArcs (arc indices are relative to the hole's own outline). The same
# format SetDetailsOfElements accepts and GetDetailsOfElements returns for
# hatches.
holes: list[Hole2D] | None = None
# Optional pen index for the contour; 0 switches the contour off.
contourPenIndex: int | None = None
# Optional line type of the contour.
contourLineTypeId: AttributeId | None = None
# Optional pen index for the fill. It switches off the RGB color of the fill
# foreground (foregroundColor), unless that is given too.
fillPenIndex: int | None = None
# Optional pen index for the fill background; 0 makes the background
# transparent and -1 gives it the window background color. It switches off the
# RGB color of the fill background (backgroundColor), unless that is given
# too.
fillBackgroundPenIndex: int | None = None
# Optional RGB color (components between 0.0 and 1.0) of the fill foreground,
# used instead of fillPenIndex. Takes precedence over fillPenIndex when both
# are given. The same format as the colors returned by GetZoneCategories and
# GetPenTables.
foregroundColor: ColorRGB | None = None
# Optional RGB color (components between 0.0 and 1.0) of the fill background,
# used instead of fillBackgroundPenIndex. Takes precedence over
# fillBackgroundPenIndex when both are given.
backgroundColor: ColorRGB | None = None
# Optional fill attribute. Given without buildingMaterialId, it makes the
# hatch a fill hatch; given with it, the hatch keeps its type (fill or
# building material) and both are written.
fillId: AttributeId | None = None
# Optional building material attribute, whose cut fill the hatch shows. Given
# without fillId, it makes the hatch a building material hatch.
buildingMaterialId: AttributeId | None = None
# The percentage (1 to 100) of the hatch's area subtracted from the area of
# the zone it lies in (Subtract from zone area); a negative value switches it
# off.
roomSpecial: int | None = None
# Optional: show the area text of the hatch.
showArea: bool | None = None
# Optional orientation, origin and distortion of the fill pattern, as
# SetDetailsOfElements writes it. Omitted properties keep the current ones
# (the tool defaults for a new hatch). A given origin detaches the fill from
# the project origin, and a Global fill becomes Rotated unless a type is given
# as well. Archicad ignores the orientation of Solid fills.
fillOrientation: HatchOrientation | None = None
# Optional fill category: Drafting, Cut or Cover.
fillCategory: HatchFillCategory | None = None
Import from multiconn_archicad.models.tapir.types.
HatchDetails ¶
coordinates: list[Coordinate2D]
# The arcs of the hatch outline.
arcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# Pen of the contour; 0 means the contour is switched off.
contourPenIndex: int | None = None
# The line type of the contour.
contourLineTypeId: AttributeId | None = None
fillPenIndex: int | None = None
# Pen of the fill background; 0 means a transparent background and -1 the
# window background color.
fillBackgroundPenIndex: int | None = None
# RGB color of the fill foreground. Only present when it overrides
# fillPenIndex.
foregroundColor: ColorRGB | None = None
# RGB color of the fill background. Only present when it overrides
# fillBackgroundPenIndex.
backgroundColor: ColorRGB | None = None
# The fill attribute used, if the hatch's type is a plain fill hatch.
fillId: AttributeId | None = None
# The building material attribute used, if the hatch's type is a building
# material hatch.
buildingMaterialId: AttributeId | None = None
# The percentage (1 to 100) of the hatch's area subtracted from the area of
# the zone it lies in (Subtract from zone area); negative means off.
roomSpecial: int | None = None
# True if the area text is shown.
showArea: bool | None = None
# Orientation, origin and distortion of the fill pattern.
fillOrientation: HatchOrientation | None = None
fillCategory: HatchFillCategory | None = None
zCoordinate: float
Import from multiconn_archicad.models.tapir.types.
HatchFillCategory ¶
The fill category of a hatch (Fill Category of the Hatch Settings), which decides which Display Options settings the fill follows: Drafting fills, Cut fills or Cover fills.
DRAFTING = 'Drafting'
CUT = 'Cut'
COVER = 'Cover'
Import from multiconn_archicad.models.tapir.types.
HatchOrientation ¶
Orientation and distortion parameters of a fill. When modifying an element, omitted properties keep their current values.
type: HatchOrientationType | None = None
# The origin of the fill relative to the project origin.
origin: Coordinate2D | None = None
# X component of the primary distortion (direction) vector.
matrix00: float | None = None
# Y component of the primary distortion (direction) vector.
matrix10: float | None = None
# X component of the secondary distortion vector.
matrix01: float | None = None
# Y component of the secondary distortion vector.
matrix11: float | None = None
# Radius for circular fill distortion, used when type is Centered.
innerRadius: float | None = None
Import from multiconn_archicad.models.tapir.types.
HatchOrientationType ¶
GLOBAL = 'Global'
ROTATED = 'Rotated'
DISTORTED = 'Distorted'
CENTERED = 'Centered'
Import from multiconn_archicad.models.tapir.types.
HatchSettings ¶
Settings for modifying a Hatch. Setting coordinates replaces the entire polygon (outline plus optional holes) and may change the number of vertices.
coordinates: list[Coordinate2D] | None = None
arcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# Pen of the contour; 0 switches the contour off, a pen switches it on.
contourPenIndex: int | None = None
# The line type of the contour.
contourLineTypeId: AttributeId | None = None
# Setting a pen removes the foregroundColor override, so the pen shows.
fillPenIndex: int | None = None
# Pen of the fill background; 0 makes the background transparent and -1 gives
# it the window background color. Setting a pen removes the backgroundColor
# override, so the pen shows.
fillBackgroundPenIndex: int | None = None
# RGB color (components between 0.0 and 1.0) of the fill foreground, used
# instead of fillPenIndex. Takes precedence over fillPenIndex when both are
# given.
foregroundColor: ColorRGB | None = None
# RGB color (components between 0.0 and 1.0) of the fill background, used
# instead of fillBackgroundPenIndex. Takes precedence over
# fillBackgroundPenIndex when both are given.
backgroundColor: ColorRGB | None = None
fillId: AttributeId | None = None
buildingMaterialId: AttributeId | None = None
# The percentage (1 to 100) of the hatch's area subtracted from the area of
# the zone it lies in (Subtract from zone area); a negative value switches it
# off.
roomSpecial: int | None = None
showArea: bool | None = None
# Orientation, origin and distortion of the fill pattern. Omitted properties
# keep their current values. A given origin detaches the fill from the project
# origin, and a Global fill becomes Rotated unless a type is given as well.
# Archicad ignores the orientation of Solid fills (there is no pattern to
# orient).
fillOrientation: HatchOrientation | None = None
fillCategory: HatchFillCategory | None = None
Import from multiconn_archicad.models.tapir.types.
HatchWithDetails ¶
elementId: ElementId
# The new outline of the hatch, replacing the whole polygon, as CreateHatches
# takes it. The first point may be repeated at the end, as in the closed
# outline GetDetailsOfElements returns; that last point is then ignored.
# Optional parameter.
coordinates: list[Coordinate2D] | None = None
# The arcs of the new outline, with indices into coordinates. Only taken with
# coordinates; without it the new outline has straight edges only.
arcs: list[PolyArc] | None = None
# The holes of the new polygon, each with its polygonOutline and optional
# polygonArcs (arc indices are relative to the hole's own outline), in the
# format GetDetailsOfElements returns. Only taken with coordinates; without it
# the new polygon has no holes.
holes: list[Hole2D] | None = None
# Optional pen index for the contour; 0 switches the contour off.
contourPenIndex: int | None = None
# Optional line type of the contour.
contourLineTypeId: AttributeId | None = None
# Optional pen index for the fill. It switches off the RGB color of the fill
# foreground (foregroundColor), unless that is given too.
fillPenIndex: int | None = None
# Optional pen index for the fill background; 0 makes the background
# transparent and -1 gives it the window background color. It switches off the
# RGB color of the fill background (backgroundColor), unless that is given
# too.
fillBackgroundPenIndex: int | None = None
# Optional RGB color (components between 0.0 and 1.0) of the fill foreground,
# used instead of fillPenIndex. Takes precedence over fillPenIndex when both
# are given. The same format as the colors returned by GetZoneCategories and
# GetPenTables.
foregroundColor: ColorRGB | None = None
# Optional RGB color (components between 0.0 and 1.0) of the fill background,
# used instead of fillBackgroundPenIndex. Takes precedence over
# fillBackgroundPenIndex when both are given.
backgroundColor: ColorRGB | None = None
# Optional fill attribute. Given without buildingMaterialId, it makes the
# hatch a fill hatch; given with it, the hatch keeps its type (fill or
# building material) and both are written.
fillId: AttributeId | None = None
# Optional building material attribute, whose cut fill the hatch shows. Given
# without fillId, it makes the hatch a building material hatch.
buildingMaterialId: AttributeId | None = None
# The percentage (1 to 100) of the hatch's area subtracted from the area of
# the zone it lies in (Subtract from zone area); a negative value switches it
# off.
roomSpecial: int | None = None
# Optional: show the area text of the hatch.
showArea: bool | None = None
# Optional orientation, origin and distortion of the fill pattern, as
# SetDetailsOfElements writes it. Omitted properties keep the current ones
# (the tool defaults for a new hatch). A given origin detaches the fill from
# the project origin, and a Global fill becomes Rotated unless a type is given
# as well. Archicad ignores the orientation of Solid fills.
fillOrientation: HatchOrientation | None = None
# Optional fill category: Drafting, Cut or Cover.
fillCategory: HatchFillCategory | None = None
Import from multiconn_archicad.models.tapir.types.
HierarchicalElementOwner ¶
# The owner element. For a main element (e.g. a Curtain Wall) or an element
# that is not part of a hierarchical element, Archicad returns the input
# element itself.
ownerElementId: ElementId
# The classification of the input element (not of its owner): MainElement is
# the main element of a hierarchical element (e.g. a Curtain Wall, Stair or
# Railing), ChildElement is a subelement of one (e.g. a frame or a tread),
# SingleElement is not part of a hierarchical element.
hierarchicalElementType: HierarchicalElementType
Import from multiconn_archicad.models.tapir.types.
HierarchicalElementType ¶
The classification of the input element (not of its owner): MainElement is the main element of a hierarchical element (e.g. a Curtain Wall, Stair or Railing), ChildElement is a subelement of one (e.g. a frame or a tread), SingleElement is not part of a hierarchical element.
MAIN_ELEMENT = 'MainElement'
CHILD_ELEMENT = 'ChildElement'
SINGLE_ELEMENT = 'SingleElement'
Import from multiconn_archicad.models.tapir.types.
HierarchicalOwnerMode ¶
root: the root of the hierarchical element tree, e.g. the Curtain Wall, Stair or Railing. parent: the immediate parent, which may itself be a subelement.
ROOT = 'root'
PARENT = 'parent'
Import from multiconn_archicad.models.tapir.types.
HighlightedColor ¶
HighlightedColor: TypeAlias = Annotated[
list[int], Field(max_length=4, min_length=4)
]
Import from multiconn_archicad.models.tapir.commands.
HighlightElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# A list of colors to highlight elements.
highlightedColors: list[HighlightedColor]
# Optional parameter. Switch non highlighted elements in the 3D window to
# wireframe.
wireframe3D: bool | None = None
# Optional parameter. Color of the non highlighted elements as an [r, g, b, a]
# array. Each component must be in the 0-255 range. Ignored on Archicad 25.
nonHighlightedColor: list[int] | None = None
Import from multiconn_archicad.models.tapir.commands.
HighlightElementsResult ¶
HighlightElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Hole ¶
coordinates: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
Hole2D ¶
A 2D hole in an element defined by closed polylines. The outline is given in 'polygonOutline'; 'polygonCoordinates' is accepted as a legacy alias.
# The 2D coordinates of the edge of the hole.
polygonOutline: list[Coordinate2D] | None = None
# Legacy alias of polygonOutline.
polygonCoordinates: list[Coordinate2D] | None = None
# Polygon outline arcs of the hole.
polygonArcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
Hole2DWithLegacyCoordinates ¶
Requires polygonCoordinates.
# The 2D coordinates of the edge of the hole.
polygonOutline: list[Coordinate2D] | None = None
# Polygon outline arcs of the hole.
polygonArcs: list[PolyArc] | None = None
# Legacy alias of polygonOutline.
polygonCoordinates: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
Hole2DWithOutline ¶
Requires polygonOutline.
# Legacy alias of polygonOutline.
polygonCoordinates: list[Coordinate2D] | None = None
# Polygon outline arcs of the hole.
polygonArcs: list[PolyArc] | None = None
# The 2D coordinates of the edge of the hole.
polygonOutline: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
Hole3D ¶
A 3D hole in an element defined by closed polylines
# The 3D coordinates of the polygon of the hole.
polygonCoordinates: list[Coordinate3D]
# Polygon outline arcs of the hole.
polygonArcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
HorizontalRange ¶
Horizontal range of the segment.
INFINITE = 'Infinite'
LIMITED = 'Limited'
ZERO_DEPTH = 'ZeroDepth'
Import from multiconn_archicad.models.tapir.types.
Hotlink ¶
The details of a hotlink node.
# The path of the hotlink file.
location: str
hotlinkNodeId: HotlinkNodeId | None = None
# The display name of the hotlink node.
name: str | None = None
type: HotlinkType | None = None
# The hotlink instance elements placed from the node, in the order Archicad
# returns them - the input of ChangeHotlinkInstances and DeleteElements.
# Omitted when the node's instances cannot be read.
instances: list[ElementIdArrayItem] | None = None
# The children of the hotlink node if it has any.
children: list[Hotlink] | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionFilterMode ¶
What the node shows: only the main model of the source, the active option of each set, or the active combination.
MAIN_MODEL_ONLY = 'MainModelOnly'
FILTER_BY_OPTIONS = 'FilterByOptions'
FILTER_BY_COMBINATION = 'FilterByCombination'
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionFilterModeOrUnknown ¶
Which elements of the hotlinked module are shown: only its main model, the main model and the active option of each set, or the main model and the options of the active combination.
MAIN_MODEL_ONLY = 'MainModelOnly'
FILTER_BY_OPTIONS = 'FilterByOptions'
FILTER_BY_COMBINATION = 'FilterByCombination'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionsByNode ¶
hotlinkNodeId: HotlinkNodeId
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionSet ¶
name: str
# The names of the design options in the set.
designOptions: list[str]
# The name of the active design option of the set. Missing when no option of
# the set is active.
activeDesignOption: str | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionSetDetails ¶
# The name of the set.
name: str
# The names of the design options in the set.
options: list[str]
# The name of the option the node shows from this set. Left out when none is
# active.
activeOption: str | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionTable ¶
# The hotlink node the table belongs to; for an instance, the node it is
# placed from.
hotlinkNodeId: HotlinkNodeId
filterMode: HotlinkDesignOptionFilterModeOrUnknown
# The names of the design option combinations of the hotlinked module.
designOptionCombinations: list[str]
# The name of the active combination. Missing when no combination is active.
activeDesignOptionCombination: str | None = None
# The design option sets of the hotlinked module.
designOptionSets: list[HotlinkDesignOptionSet]
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionTableDetails ¶
# The node guid the design option table belongs to.
nodeGuid: GuidId
filterMode: HotlinkDesignOptionFilterMode
# The design option sets of the source file.
sets: list[HotlinkDesignOptionSetDetails]
# The names of the design option combinations of the source file.
combinations: list[str]
# The name of the combination the node shows. Left out when none is active.
activeCombination: str | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkDesignOptionTableUpdate ¶
elementId: ElementId
# Which elements of the hotlinked module are shown: only its main model, the
# main model and the active option of each set, or the main model and the
# options of the active combination.
filterMode: HotlinkDesignOptionFilterMode | None = None
# The name of the combination to activate, one of designOptionCombinations
# from GetHotlinkDesignOptionTables. An empty string deactivates the active
# combination.
activeDesignOptionCombination: str | None = None
# The option to activate in each given set; the previously active option of
# the set is deactivated. Sets that are not listed keep their active option.
activeDesignOptions: list[ActiveDesignOption] | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkDetails ¶
Details of a placed hotlink instance: which node it comes from and where it sits.
hotlinkType: HotlinkType
hotlinkNodeId: HotlinkNodeId
origin: Coordinate3D
# Counter-clockwise rotation about the origin, in radians.
rotationAngle: float
# True when the module's local X axis is reflected.
mirrored: bool
floorDifference: int | None = None
skipNested: bool | None = None
suspendFixAngle: bool | None = None
ignoreTopFloorLinks: bool | None = None
relinkWallOpenings: bool | None = None
adjustLevelDiffs: bool | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkInstanceChange ¶
elementId: ElementId
# If z is omitted, the instance's current z is kept.
origin: HotlinkOrigin | None = None
# Rotation about the origin, counter-clockwise, in radians.
rotationAngle: float | None = None
# Reflect the module's local X axis before the rotation.
mirrored: bool | None = None
floorDifference: int | None = None
skipNested: bool | None = None
suspendFixAngle: bool | None = None
ignoreTopFloorLinks: bool | None = None
relinkWallOpenings: bool | None = None
adjustLevelDiffs: bool | None = None
# Move the instance to this layer. A layerIndex that is not a layer of the
# project is refused.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkInstanceCreation ¶
# The node to place, from GetHotlinks or CreateHotlinkNodes. On Archicad 25 a
# node that has never been placed cannot be read, so a node created through
# the API can only be placed from Archicad 26 on.
hotlinkNodeId: HotlinkNodeId
# If z is omitted, the instance is placed at 0.
origin: HotlinkOrigin
# Optional rotation about the origin, counter-clockwise, in radians. Defaults
# to 0.
rotationAngle: float | None = None
# Optional. Reflects the module's local X axis before the rotation. Defaults
# to false.
mirrored: bool | None = None
# Optional story the instance is placed on. Defaults to the current story.
floorIndex: int | None = None
# Optional story offset applied to the module's stories. Defaults to the
# hotlink tool's current default.
floorDifference: int | None = None
# Optional layer of the instance. Defaults to the hotlink tool's current
# default layer, or to the built-in Archicad layer when that layer has been
# deleted. A layerIndex that is not a layer of the project is refused.
layerIndex: int | None = None
# Optional. Do not place hotlinks nested inside the module. Defaults to the
# hotlink tool's current default.
skipNested: bool | None = None
# Optional. Rotate fixed-angle elements with the module. Defaults to the
# hotlink tool's current default.
suspendFixAngle: bool | None = None
# Optional. Top-linked elements keep their height rather than their top story
# link. Defaults to the hotlink tool's current default.
ignoreTopFloorLinks: bool | None = None
# Optional. Defaults to the hotlink tool's current default.
relinkWallOpenings: bool | None = None
# Optional. Defaults to the hotlink tool's current default.
adjustLevelDiffs: bool | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkNode ¶
# Absolute path of the module source file (.mod or .pln).
sourceLocation: str
# Optional display name of the node. Defaults to the file name. Ignored when a
# node for the same file already exists.
name: str | None = None
# Optional. Which stories of the source are placed: all of them, or the single
# reference story. Ignored when a node for the same file already exists.
storyRangeType: StoryRangeType | None = None
# Optional index of the reference story in the source file. Defaults to 0.
# Ignored when a node for the same file already exists.
refFloorIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkNodeChange ¶
Changes to one hotlink node.
hotlinkNodeId: HotlinkNodeId
# Absolute path of the new module source file (.mod or .pln).
sourceLocation: str
Import from multiconn_archicad.models.tapir.types.
HotlinkNodeCreated ¶
hotlinkNodeId: HotlinkNodeId
# True when a node for the same source file already existed and was returned
# instead of created.
existing: bool
Import from multiconn_archicad.models.tapir.types.
HotlinkNodeCreatedOrError ¶
HotlinkNodeCreatedOrError: TypeAlias = (
HotlinkNodeCreated | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
HotlinkNodeId ¶
The identifier of a hotlink node - the reference to a module source file, which instances are placed from.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
HotlinkNodeReference ¶
A reference to one hotlink node.
hotlinkNodeId: HotlinkNodeId
Import from multiconn_archicad.models.tapir.types.
HotlinkOrigin ¶
Where a hotlink instance's origin lands, in the project's coordinates.
x: float
y: float
z: float | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkOwnersOfElement ¶
The hotlink an element comes from. Both ids are omitted when the element is not part of a hotlinked module.
# True when Archicad reports a hotlink for the element, that is, when at least
# one of the ids below is returned.
isInHotlink: bool
# The hotlink element which contains the element
# (ACAPI_Hotlink_GetContainingHotlinkGuid).
hotlinkElementId: ElementId | None = None
# The hotlink instance the element belongs to (ACAPI_Hotlink_GetHotLinkOwner).
hotlinkInstanceId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
HotlinkOwnersOfElementOrError ¶
HotlinkOwnersOfElementOrError: TypeAlias = (
HotlinkOwnersOfElement | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
HotlinkProxyElementTable ¶
# The proxy elements of the instance, in no particular order.
proxyElements: list[HotlinkProxyElement]
Import from multiconn_archicad.models.tapir.types.
HotlinkSourceReference ¶
# Absolute path of the hotlink's source file.
location: str
Import from multiconn_archicad.models.tapir.types.
HotlinkSourceStatus ¶
The API_HotlinkSourceStatus value without its prefix (AuthCanceld is spelled as in the API).
AUTH_CANCELD = 'AuthCanceld'
SOURCE_MISSING = 'SourceMissing'
SOURCE_AVAILABLE = 'SourceAvailable'
SOURCE_NOT_ACCESSIBLE = 'SourceNotAccessible'
SOURCE_INCOMPATIBLE = 'SourceIncompatible'
SOURCE_OFFLINE = 'SourceOffline'
Import from multiconn_archicad.models.tapir.types.
HotlinkSourceStatusResult ¶
status: HotlinkSourceStatus
Import from multiconn_archicad.models.tapir.types.
HotlinkType ¶
Module or XRef.
MODULE = 'Module'
X_REF = 'XRef'
Import from multiconn_archicad.models.tapir.types.
HotspotData ¶
The parameters of the new Hotspot.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new hotspot. Hotspots have no Element ID in
# Archicad 29: Archicad refuses it with error -2130313103
# (APIERR_BADELEMENTTYPE, element has no info string), and the item then
# answers with that error and creates no hotspot. Leave it out unless your
# Archicad version keeps it (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the hotspot on. Optional parameter, by
# default the current layer is used.
layerIndex: int | None = None
position: Coordinate2D
height: float | None = None
# Optional pen index. By default the current pen is used.
penIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
HotspotDetails ¶
position: Coordinate2D
# Z coordinate of the hotspot (can come from a GDL script).
height: float
penIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
HotspotSettings ¶
Settings for modifying a Hotspot.
position: Coordinate2D | None = None
height: float | None = None
penIndex: int | None = None
I¶
Import from multiconn_archicad.models.tapir.types.
IFCClassificationReferenceSource ¶
Where the reference comes from: preview (mapped by the preview IFC export translator) or local (stored on the element). Missing in Archicad 25, 26 and 27, where the storedOnly input chooses between the stored references and all of them.
PREVIEW = 'preview'
LOCAL = 'local'
Import from multiconn_archicad.models.tapir.types.
IFCClassificationSource ¶
The classification (IfcClassification) the reference belongs to.
# The name of the classification.
name: str
# The source of the classification. Missing when it has no value.
source: str | None = None
# The edition of the classification. Missing when it has no value.
edition: str | None = None
# The edition date of the classification. Missing when it has no value.
editionDate: str | None = None
# The description of the classification. Missing when it has no value.
description: str | None = None
# The location of the classification, for example a URL. Missing when it has
# no value.
location: str | None = None
Import from multiconn_archicad.models.tapir.types.
IFCClassificationSourceData ¶
The classification (IfcClassification) the reference belongs to.
# The name of the classification.
name: str
# The edition of the classification. Default: empty.
edition: str | None = None
# The edition date of the classification. Default: empty.
editionDate: str | None = None
# The description of the classification. Default: empty.
description: str | None = None
# The location of the classification, for example a URL. Default: empty.
location: str | None = None
Import from multiconn_archicad.models.tapir.types.
IFCClassificationSourceReference ¶
The classification (IfcClassification) the reference belongs to.
# The name of the classification.
name: str
Import from multiconn_archicad.models.tapir.types.
IFCElementsToExport ¶
Which elements to export.
ENTIRE_PROJECT = 'EntireProject'
VISIBLE_ELEMENTS_ON_ALL_STORIES = 'VisibleElementsOnAllStories'
ALL_ELEMENTS_ON_CURRENT_STORY = 'AllElementsOnCurrentStory'
VISIBLE_ELEMENTS_ON_CURRENT_STORY = 'VisibleElementsOnCurrentStory'
SELECTED_ELEMENTS_ONLY = 'SelectedElementsOnly'
Import from multiconn_archicad.models.tapir.types.
IFCExportTranslator ¶
# The name of the translator, as the IFC Translators dialog shows it.
name: str
# Whether this is the first item of Archicad's translator list, which the
# Archicad API documents as the preview translator (the one the IFC properties
# of elements are previewed with). No API identifies the preview translator
# otherwise, and in some projects the IFC Translators dialog shows another
# translator as the preview one.
preview: bool
Import from multiconn_archicad.models.tapir.commands.
IFCFileOperationParameters ¶
# The file operation method to use.
method: Method
# The target IFC file to use. The save method overwrites an existing file,
# unless overwrite is false.
ifcFilePath: str
# Optional, true by default. Only for the save method: false refuses to save
# when a file already exists at ifcFilePath, and writes nothing.
overwrite: bool | None = None
# The type of the IFC file. The default is 'ifc'.
fileType: FileType | None = None
# Only for the save method: the name of the IFC export translator to save
# with, as GetIFCExportTranslators lists them. Without it the save runs with
# the translator Archicad would offer in its own Save dialog. Needs a fileType
# of ifc or ifczip (ifc or ifcxml on Archicad 25 and 26).
translatorName: str | None = None
# Only for the save method, and only together with translatorName. The default
# is VisibleElementsOnAllStories.
elementsToExport: IFCElementsToExport | None = None
# Only for the merge method: the story the first storey of the IFC file is
# placed on, the IFC's other storeys follow on the stories above it. Without
# it Archicad uses the active story of the floor plan. The active story and
# the current window are restored after the merge. See GetStories for the
# valid story indices.
storyIndex: int | None = None
Import from multiconn_archicad.models.tapir.commands.
IFCFileOperationResult ¶
IFCFileOperationResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
IFCObject ¶
An object of the IFC model of the project, as the IFC API of Archicad 28 and later identifies it.
# The hash value of the IFC object identifier (ObjectID::GenerateHashValue),
# for matching the objects of one response to each other. It is not stable
# between sessions; use elementId or globalId to identify an object.
hashValue: int
# The element the IFC object belongs to. Left out when Archicad reports no
# element for it.
elementId: ElementId | None = None
# The IFC entity type of the object, for example IfcWall. Left out when
# Archicad does not report it.
ifcType: str | None = None
# The IFC GlobalId of the object. Left out when Archicad does not report it.
globalId: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
IFCPropertySource ¶
Where the property comes from: preview for the properties mapped by the preview IFC export translator, local for the IFC properties stored in the element. Available from Archicad 28.
PREVIEW = 'preview'
LOCAL = 'local'
Import from multiconn_archicad.models.tapir.types.
IFCPropertyType ¶
The kind of the IFC property.
SINGLE_VALUE = 'SingleValue'
LIST_VALUE = 'ListValue'
BOUNDED_VALUE = 'BoundedValue'
ENUMERATED_VALUE = 'EnumeratedValue'
TABLE_VALUE = 'TableValue'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ImageColorDepth ¶
Optional, trueColor by default. The color depth of the image, as in the Save as picture dialog.
BLACK_AND_WHITE = 'blackAndWhite'
FIELD_16_COLORS = '16Colors'
FIELD_256_COLORS = '256Colors'
FIELD_16_GRAYS = '16Grays'
FIELD_256_GRAYS = '256Grays'
TRUE_COLOR = 'trueColor'
TRUE_COLOR_WITH_ALPHA = 'trueColorWithAlpha'
Import from multiconn_archicad.models.tapir.types.
ImageConversionInput ¶
# The base64 encoded image, for example a previewImage returned by
# GetElementPreviewImage.
image: str
# The format of the image: Bitmap, GIF, TIFF, JPEG or PNG, or the MIME type of
# another format Archicad can read (for example image/x-targa).
inputFormat: str
# The format to convert the image to: Bitmap, GIF, TIFF, JPEG or PNG, or the
# MIME type of another format Archicad can write.
outputFormat: str
Import from multiconn_archicad.models.tapir.types.
ImageFormat ¶
Optional. The image file format; omitted, it comes from the extension of imageFilePath (.png, .jpg or .jpeg, .bmp, .tif or .tiff, .gif).
PNG = 'png'
JPG = 'jpg'
BMP = 'bmp'
TIFF = 'tiff'
GIF = 'gif'
Import from multiconn_archicad.models.tapir.types.
ImageType ¶
The type of the preview image. Default is 3D.
FIELD_2_D = '2D'
SECTION = 'Section'
FIELD_3_D = '3D'
Import from multiconn_archicad.models.tapir.types.
ImagingAndCalculationPreferences ¶
The Imaging and Calculation page of the Work Environment (Options > Work Environment), not of the Project Preferences: these settings belong to the user's Archicad, not to the project.
# Rebuild the 3D window whenever it is brought to the front.
autoRebuild3D: bool
# Bring the 3D window to the front whenever the 3D projection settings or the
# rendering mode change.
activate3DOnChange: bool
# Keep the magnified detail of a section window when it is rebuilt.
keepZoomedSection: bool
# Show the 3D progress window.
showProgressWindow: bool
# Interrupt imaging processes with error messages.
interruptOnError: bool
# Play sounds for 3D processes.
progressSounds: bool
# Write the 3D report.
generate3DReport: bool
reportLevel: ImagingReportLevel
selectedElementsListing: SelectedElementsListingMode
Import from multiconn_archicad.models.tapir.types.
ImagingAndCalculationPreferencesUpdate ¶
The Imaging and Calculation page of the Work Environment (Options > Work Environment), not of the Project Preferences: these settings belong to the user's Archicad, not to the project.
# Rebuild the 3D window whenever it is brought to the front.
autoRebuild3D: bool | None = None
# Bring the 3D window to the front whenever the 3D projection settings or the
# rendering mode change.
activate3DOnChange: bool | None = None
# Keep the magnified detail of a section window when it is rebuilt.
keepZoomedSection: bool | None = None
# Show the 3D progress window.
showProgressWindow: bool | None = None
# Interrupt imaging processes with error messages.
interruptOnError: bool | None = None
# Play sounds for 3D processes.
progressSounds: bool | None = None
# Write the 3D report.
generate3DReport: bool | None = None
# The level of detail of the 3D report.
reportLevel: ImagingReportLevel | None = None
# How selected elements are listed: ShowAlert asks each time, ListAll lists
# every selected element, UseFilters applies the filters set for the listing.
selectedElementsListing: SelectedElementsListingMode | None = None
Import from multiconn_archicad.models.tapir.types.
ImagingReportLevel ¶
The level of detail of the 3D report.
NO = 'No'
BRIEF = 'Brief'
SHORT = 'Short'
DETAILED = 'Detailed'
FULL = 'Full'
Import from multiconn_archicad.models.tapir.commands.
ImportAttributesFromProjectParameters ¶
# The absolute path of the project or template file (for example .pln or .tpl)
# to import the attributes from.
projectFilePath: str
# The attribute types to import, in this order. Line, Fill, ZoneCategory,
# PenTable, OperationProfile, Composite, Profile and LayerCombination can be
# imported. Layer, Surface, BuildingMaterial and MEPSystem fail with an error
# item: Archicad does not read them from a closed file. A Composite, Profile
# or LayerCombination refers to other attributes, see referencesByIndex; list
# Line and Fill before them to import the lines and fills they use.
attributeTypes: list[AttributeType]
# Import only the attributes with these names. All attributes of the given
# types are imported when it is omitted.
attributeNames: list[str] | None = None
# What happens to an attribute whose name already exists in the open project.
# false (default): it is skipped and the existing attribute is kept. true: the
# existing attribute is overwritten with the imported definition and keeps its
# index and guid.
overwriteExisting: bool | None = None
# If true, nothing is changed: the response reports what an import would do.
dryRun: bool | None = None
# How the BuildingMaterial, Surface and Layer references of an imported
# Composite, Profile or LayerCombination are mapped. Archicad does not read
# these attributes from a closed file, so their names are unknown and they
# cannot be matched by name. false (default): an attribute with such a
# reference is not imported (result failed). true: the reference keeps its
# index and refers to the attribute with that index in the open project, which
# is right only when both files share these attributes at the same indexes,
# for example because they come from the same template. Line and Fill
# references are always matched by name.
referencesByIndex: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ImportAttributesFromProjectResult ¶
ImportAttributesFromProjectResult: TypeAlias = (
ImportedAttributesByType | ErrorItem
)
Import from multiconn_archicad.models.tapir.commands.
ImportClassificationsXmlParameters ¶
# A Classification Manager export (XML) to import.
xml: str
systemConflictPolicy: ClassificationSystemConflictPolicy
itemConflictPolicy: ClassificationItemConflictPolicy
Import from multiconn_archicad.models.tapir.commands.
ImportClassificationsXmlResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
created: list[GuidId]
removed: list[GuidId]
Import from multiconn_archicad.models.tapir.types.
ImportedAttribute ¶
An attribute imported from another project.
# The name of the attribute in the source file.
name: str
# The index of the attribute in the source file. Archicad hands out a new guid
# for the attributes of another file on every read, so they are identified by
# name and index.
sourceIndex: int
# created: new in the open project. overwritten: an attribute of the same name
# was overwritten. skipped: an attribute of the same name exists and
# overwriteExisting is false. failed: see error, for example a reference that
# cannot be mapped. With dryRun the result is what an import would do.
result: Result
# The attribute in the open project. Missing when it was not created (failed,
# or created with dryRun).
attributeId: AttributeId | None = None
# For a Composite, Profile or LayerCombination that is created or overwritten
# (or would be, with dryRun): the attributes it refers to, each once, and how
# they were mapped to the open project.
references: list[ImportedAttributeReference] | None = None
error: Error | None = None
Import from multiconn_archicad.models.tapir.types.
ImportedAttributeReference ¶
A reference from an imported attribute to another attribute.
attributeType: ImportedAttributeReferenceType
# Its index in the source file.
sourceIndex: int
# Its name in the source file. Only for Line and Fill: Archicad does not read
# the other types from a closed file.
sourceName: str | None = None
# name: an attribute of the open project with the same name. index: the
# attribute of the open project with the same index (referencesByIndex). none:
# not mapped, so the attribute was not imported.
mappedBy: MappedBy
# The attribute of the open project referred to after the import. Missing when
# not mapped, or when it is created by the same dry run.
attributeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
ImportedAttributeReferenceType ¶
The type of the attribute referred to.
LINE = 'Line'
FILL = 'Fill'
BUILDING_MATERIAL = 'BuildingMaterial'
SURFACE = 'Surface'
LAYER = 'Layer'
Import from multiconn_archicad.models.tapir.types.
ImportedAttributesByType ¶
# One item per requested attribute type, in the order of attributeTypes.
attributesByType: list[AttributeImportTypeResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ImportFavoritesParameters ¶
# Absolute path on the AC host. With the prefs format: a Favorites file
# (.prefs) or folder. With the xml format: the folder of Favorite files, as
# ExportFavorites writes it. With the legacyPRF format: the .prf file.
path: str
format: FavoriteImportFormat | None = None
# Only with the xml format: the names of the Favorite files in the folder to
# import. Default: every Favorite file of the folder.
fileNames: list[str] | None = None
# Folder hierarchy under which to import. Empty = root. With the xml and
# legacyPRF formats the folder must exist, and omitting it keeps the folders
# stored with the Favorites.
targetFolder: list[str] | None = None
# Only with the prefs format: if true and `path` is a folder, the folder
# structure is preserved.
importFolders: bool | None = None
conflictPolicy: FavoriteImportConflictPolicy | None = None
Import from multiconn_archicad.models.tapir.commands.
ImportFavoritesResult ¶
# True when the Favorites were imported. False when conflictPolicy=Error with
# the prefs format stopped the import on a name that already exists
# (firstConflictName); nothing was imported then.
success: bool
# Set when success is true: the names of the Favorites the project has after
# the import and did not have before it, sorted. A Favorite that replaced one
# of the same name (Overwrite, OverwriteExisting) is not listed, and one
# RenameNew or Append renamed is listed under its new name.
addedFavoriteNames: list[str] | None = None
# Set when conflictPolicy=Error with the prefs format and a name collided
# (success is false then); absent otherwise.
firstConflictName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
ImportIssuesFromBCFParameters ¶
# The os path to the bcf file, including it's name.
importPath: str
# Align BCF views by Archicad Survey Point or Archicad Project Origin.
alignBySurveyPoint: bool
Import from multiconn_archicad.models.tapir.commands.
ImportIssuesFromBCFResult ¶
ImportIssuesFromBCFResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ImportMarkupsFromPDFParameters ¶
# The os path to the PDF file with the markups, including it's name.
pdfFilePath: str
Import from multiconn_archicad.models.tapir.commands.
ImportMarkupsFromPDFResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The issues the import created. Empty when the import failed.
issues: list[IssueIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
ImportPropertiesXmlParameters ¶
# A Property Manager export (XML) to import.
xml: str
conflictPolicy: PropertyImportConflictPolicy
Import from multiconn_archicad.models.tapir.commands.
ImportPropertiesXmlResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
created: list[GuidId]
removed: list[GuidId]
Import from multiconn_archicad.models.tapir.types.
InputConstraint ¶
Archicad's drawing constraint for the clicks of a Get...FromUser command: the cursor can only move along it, as when a coordinate is locked in the Tracker. It is dissolved when the command returns, also on Escape and on errors.
type: InputConstraintType
# The fixed value: a coordinate or distance in meters, or for Angle an angle
# in radians, counterclockwise from the X axis.
value: float
# If true, the value is measured from the last clicked point (Archicad's local
# origin), otherwise from the project origin.
fromLastPoint: bool | None = False
Import from multiconn_archicad.models.tapir.types.
InputConstraintType ¶
What is fixed: X = the X coordinate, Y = the Y coordinate, Z = the Z coordinate (3D window), Angle = the direction from the reference point (the cursor moves along a line), Distance = the distance from the reference point (the cursor moves along a circle).
X = 'X'
Y = 'Y'
Z = 'Z'
ANGLE = 'Angle'
DISTANCE = 'Distance'
Import from multiconn_archicad.models.tapir.types.
InputDirection ¶
The walking direction along the baseline: upward from its first point, or inverse (downward). CreateStairs and ModifyStairs read it back and fail the item when Archicad did not keep it (CreateStairs then deletes the new stair).
UPWARD = 'Upward'
INVERSE = 'Inverse'
Import from multiconn_archicad.models.tapir.commands.
InsertStoryParameters ¶
# The index of an existing story (see GetStories) next to which the new story
# is inserted.
storyIndex: int
position: StoryInsertionPosition
# The name of the new story. Default is an empty name.
name: str | None = None
# The height of the new story, greater than zero. Default is the height of the
# story of storyIndex.
height: float | None = None
# Whether the level line of the new story appears on sections and elevations.
# Default is what Archicad gives a new story.
dispOnSections: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
InsertStoryResult ¶
# The new story, as GetStories reports it after the insertion.
story: StoryParameters
Import from multiconn_archicad.models.tapir.types.
IntendedPlanConnectivity ¶
Intended plan connectivity: whether the Section/Elevation is automatically rebuilt from the model (Online), rebuilt only on demand (Offline), or exploded into unlinked 2D drawing elements (Drawing).
ONLINE = 'Online'
OFFLINE = 'Offline'
DRAWING = 'Drawing'
Import from multiconn_archicad.models.tapir.types.
InteriorElevationData ¶
# The corner points of the connected segment chain. Each consecutive pair of
# points becomes one segment, so a room with four walls needs five points to
# be closed, or four to be left open.
nodeCoordinates: list[Coordinate2D]
# How far each segment looks. Applied to every segment. Defaults to 1.0.
depth: float | None = None
# Name of the interior elevation. Each segment is named after it.
name: str | None = None
# ID string of the interior elevation.
id: str | None = None
# The story to place the interior elevation on. Defaults to the current story.
# Archicad places an interior elevation on the active story, so for another
# story that story is activated while the interior elevation is created, and
# the previously active one is put back afterwards.
floorIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
InteriorElevationDetails ¶
The settings of an Interior Elevation element and its segments. Each segment is one viewpoint of the Project Map, with its own name, reference ID, lines and settings.
showOnStories: InteriorElevationStoryVisibility | None = None
# The story index the interior elevation is shown on, if showOnStories is
# 'OneStory'.
storyToShowOn: int | None = None
# Whether the common marker of the interior elevation is shown.
useCommonMarker: bool
# The GUID Archicad keeps for the common marker
# (API_InteriorElevationType::markerGuid).
commonMarkerGuid: UUID | None = None
# Pen index of the common marker.
commonMarkerPenIndex: int | None = None
# Font index of the common marker.
commonMarkerFontIndex: int | None = None
# Size of the common marker.
commonMarkerSize: float | None = None
# Size of the common marker's text.
commonMarkerTextSize: float | None = None
# The segments of the interior elevation, in the order of its line
# (CreateInteriorElevations makes one per gap between two nodeCoordinates).
# Empty when they cannot be read.
segments: list[InteriorElevationSegmentDetails]
Import from multiconn_archicad.models.tapir.types.
InteriorElevationSegmentDetails ¶
One segment of an Interior Elevation: one viewpoint of the Project Map.
# The name of the segment, shown in the Project Map. RenameNavigatorItem
# changes it through the segment's viewpoint.
name: str
# The reference ID of the segment, shown in its marker and in the Project Map.
idStr: str
# The points of the segment's line, from start to end. Empty when the line
# cannot be read. Archicad does not keep the line on the nodeCoordinates given
# to CreateInteriorElevations: in Archicad 26 and 28 each segment's line is
# moved to the left of its pair of nodes by the depth.
mainCoordinates: list[Coordinate2D]
# The points of the segment's depth line, its far boundary. Empty when it
# cannot be read.
depthCoordinates: list[Coordinate2D]
# The first point of the segment's line.
startCoordinate: Coordinate2D | None = None
# The last point of the segment's line.
endCoordinate: Coordinate2D | None = None
# The distance of the first depth point from the first line of the segment
# (depth of CreateInteriorElevations).
depth: float | None = None
# The unit vector perpendicular to the first line of the segment, pointing to
# the side of the depth line: the direction the segment looks in.
viewDirection: Coordinate2D | None = None
# The settings of the segment (API_SectionSegment), with the keys
# GetSectionsAndElevationsDetails gives for a Section or an Elevation.
# showOnStories and storyToShowOn are the interior elevation's own, above, and
# markerShowType is not given.
settings: SectionElevationDetails
Import from multiconn_archicad.models.tapir.types.
InteriorElevationSegmentSettableDetails ¶
The changes to one segment of an Interior Elevation, for SetInteriorElevationsDetails. Only the fields given are changed.
# The index of the segment in the segments that GetDetailsOfElements returns
# for the interior elevation, from 0.
segmentIndex: int
# The new name of the segment, shown in the Project Map.
name: str | None = None
# The new reference ID of the segment, shown in its marker and in the Project
# Map.
id: str | None = None
# The segment settings to change (API_SectionSegment), with the keys of
# SetSectionsAndElevationsDetails. showOnStories, storyToShowOn and
# markerShowType are not settings of a segment and are refused here;
# showOnStories and storyToShowOn are set on the interior elevation itself.
settings: SectionElevationSettableDetails | None = None
Import from multiconn_archicad.models.tapir.types.
InteriorElevationSettableDetails ¶
The settings of an Interior Elevation element and of its segments that SetInteriorElevationsDetails changes, with the keys of InteriorElevationDetails. Only the fields given are changed.
showOnStories: InteriorElevationStoryVisibility | None = None
# The story index the interior elevation is shown on, if showOnStories is
# 'OneStory'.
storyToShowOn: int | None = None
# Whether the common marker of the interior elevation is shown.
useCommonMarker: bool | None = None
# Pen index of the common marker.
commonMarkerPenIndex: int | None = None
# Font index of the common marker.
commonMarkerFontIndex: int | None = None
# Size of the common marker.
commonMarkerSize: float | None = None
# Size of the common marker's text.
commonMarkerTextSize: float | None = None
# The segments to change, each chosen by its segmentIndex. Segments not listed
# are kept as they are.
segments: list[InteriorElevationSegmentSettableDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
InteriorElevationStoryVisibility ¶
Which stories the interior elevation is shown on.
ALL = 'All'
ONE_STORY = 'OneStory'
IN_RANGE = 'InRange'
PART_RANGE = 'PartRange'
Import from multiconn_archicad.models.tapir.types.
InteriorElevationWithDetails ¶
elementId: ElementId
details: InteriorElevationSettableDetails
Import from multiconn_archicad.models.tapir.commands.
InterpretAutoTextsParameters ¶
# The autotexts to resolve, either as they are written in the content of a
# Text or Label element, e.g. '<LAYOUTID>' or
# '<PROPERTY-69A58F6F-DD3B-478D-B5EF-09A16BD0C548>', or as bare keys without
# the surrounding '<' and '>', e.g. 'LAYOUTID'.
autoTexts: list[AutoTextExpression]
# Optional. The element in whose context the autotexts are resolved, e.g. a
# Text on a layout for layout autotexts. When omitted, they are resolved
# without an element context.
elementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.commands.
InterpretAutoTextsResult ¶
# One result per input autotext, in the same order.
values: list[InterpretedAutoText | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
InterpretedAutoText ¶
# The resolved value of the autotext.
value: str
Import from multiconn_archicad.models.tapir.commands.
InterpretGDLScript3DParameters ¶
# The GDL 3D script to run. Either script or libraryPartName is required.
script: str | None = None
# A loaded library part, by its fileName (with extension) or documentName as
# GetAvailableLibraryParts returns them. Its default parameters are used;
# without script, its master script followed by its 3D script is run.
libraryPartName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
InterpretGDLScript3DResult ¶
# Whether the script ran to its end. False when the GDL interpreter stopped
# with an error; the API gives no message or line number of the GDL error.
success: bool
# The error code the interpreter returned, when success is false.
error: Error | None = None
# The number of 3D model elements the script generated, when success is true;
# 0 for a script that generates no 3D model.
elementCount: int | None = None
# The bounding box of the generated 3D model, in the local coordinates of the
# library part, when it has elements.
boundingBox3D: BoundingBox3D | None = None
Import from multiconn_archicad.models.tapir.types.
IntPlanConn ¶
ONLINE = 'Online'
OFFLINE = 'Offline'
DRAWING = 'Drawing'
Import from multiconn_archicad.models.tapir.commands.
IsLibraryPartSubtypeOfParameters ¶
# The library parts to check.
libraryParts: list[LibraryPartIdentifier]
# The subtype to check against. Given by unId, it is used as it is, without
# checking that such a library part is loaded.
ancestor: LibraryPartIdentifier
# Optional, false by default. When true, only the main GUID of the ancestor's
# unique ID is compared, so any revision of the ancestor matches; when false,
# the full unique ID (main and revision GUID) must match.
matchAncestorByMainId: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
IsLibraryPartSubtypeOfResult ¶
# The full unique ID of the ancestor the library parts were checked against.
ancestorUnId: str
# One result for each library part, in the order of the input.
results: list[LibraryPartSubtypeCheck | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
IssueCommentStatus ¶
The status of an issue comment.
ERROR = 'Error'
WARNING = 'Warning'
INFO = 'Info'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
IssueElementType ¶
The attachment type of an element component of an issue.
CREATION = 'Creation'
HIGHLIGHT = 'Highlight'
DELETION = 'Deletion'
MODIFICATION = 'Modification'
Import from multiconn_archicad.models.tapir.types.
IssueId ¶
The identifier of an issue.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.commands.
IsUsableGDLStringParameters ¶
# The strings to check.
strings: list[str]
Import from multiconn_archicad.models.tapir.commands.
IsUsableGDLStringResult ¶
# One item for each given string, in the same order: true if Archicad accepts
# the string for use in GDL, false otherwise.
results: list[bool]
J¶
Import from multiconn_archicad.models.tapir.types.
Justification ¶
Text justification.
LEFT = 'Left'
CENTER = 'Center'
RIGHT = 'Right'
FULL = 'Full'
K¶
Import from multiconn_archicad.models.tapir.types.
KeynoteAutoTextTokens ¶
The autotext tokens of a keynote item. A token can be used as the text content of a label to reference the field of the keynote item.
keyToken: str
titleToken: str
descriptionToken: str
referenceToken: str
Import from multiconn_archicad.models.tapir.types.
KeynoteAutoTextTokensOrError ¶
KeynoteAutoTextTokensOrError: TypeAlias = (
KeynoteAutoTextTokens | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderData ¶
# The parent folder. Optional; defaults to the root folder.
parentFolderId: KeynoteFolderId | None = None
key: str
title: str
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderDetails ¶
The details of a keynote folder, including its subfolders and items recursively.
keynoteFolderId: KeynoteFolderId
key: str
title: str
reference: str
uiText: str
subFolders: list[KeynoteFolderDetails]
items: list[KeynoteItemDetails]
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderId ¶
The identifier of a keynote folder.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderIdArrayItem ¶
keynoteFolderId: KeynoteFolderId
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderIdOrError ¶
KeynoteFolderIdOrError: TypeAlias = (
KeynoteFolderIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
KeynoteFolderModificationData ¶
keynoteFolderId: KeynoteFolderId
key: str | None = None
title: str | None = None
reference: str | None = None
Import from multiconn_archicad.models.tapir.types.
KeynoteItemData ¶
# The parent folder. Optional; defaults to the root folder.
parentFolderId: KeynoteFolderId | None = None
key: str
title: str | None = None
description: str | None = None
reference: str | None = None
Import from multiconn_archicad.models.tapir.types.
KeynoteItemDetails ¶
The details of a keynote item.
keynoteItemId: KeynoteItemId
key: str
title: str
description: str
reference: str
uiText: str
Import from multiconn_archicad.models.tapir.types.
KeynoteItemId ¶
The identifier of a keynote item.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
KeynoteItemIdArrayItem ¶
keynoteItemId: KeynoteItemId
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
KeynoteItemModificationData ¶
keynoteItemId: KeynoteItemId
key: str | None = None
title: str | None = None
description: str | None = None
reference: str | None = None
Import from multiconn_archicad.models.tapir.types.
KeynoteLabelData ¶
keynoteItemId: KeynoteItemId
# The reference point of the label.
position: Coordinate2D
# The keynote fields to include in the label text as autotext. Optional;
# defaults to all fields.
contentFields: list[ContentField] | None = None
L¶
Import from multiconn_archicad.models.tapir.types.
LabelArrowType ¶
Arrow head shape for a Label's leader line.
EMPTY_CIRCLE = 'EmptyCircle'
CROSS_CIRCLE = 'CrossCircle'
FULL_CIRCLE = 'FullCircle'
SLASH_LINE15 = 'SlashLine15'
OPEN_ARROW15 = 'OpenArrow15'
CLOSED_ARROW15 = 'ClosedArrow15'
FULL_ARROW15 = 'FullArrow15'
SLASH_LINE30 = 'SlashLine30'
OPEN_ARROW30 = 'OpenArrow30'
CLOSED_ARROW30 = 'ClosedArrow30'
FULL_ARROW30 = 'FullArrow30'
SLASH_LINE45 = 'SlashLine45'
OPEN_ARROW45 = 'OpenArrow45'
CLOSED_ARROW45 = 'ClosedArrow45'
FULL_ARROW45 = 'FullArrow45'
SLASH_LINE60 = 'SlashLine60'
OPEN_ARROW60 = 'OpenArrow60'
CLOSED_ARROW60 = 'ClosedArrow60'
FULL_ARROW60 = 'FullArrow60'
SLASH_LINE90 = 'SlashLine90'
PEPITA_CIRCLE = 'PepitaCircle'
BAND_ARROW = 'BandArrow'
HALF_ARROW_CCW15 = 'HalfArrowCcw15'
HALF_ARROW_CW15 = 'HalfArrowCw15'
HALF_ARROW_CCW30 = 'HalfArrowCcw30'
HALF_ARROW_CW30 = 'HalfArrowCw30'
HALF_ARROW_CCW45 = 'HalfArrowCcw45'
HALF_ARROW_CW45 = 'HalfArrowCw45'
HALF_ARROW_CCW60 = 'HalfArrowCcw60'
HALF_ARROW_CW60 = 'HalfArrowCw60'
SLASH_LINE75 = 'SlashLine75'
Import from multiconn_archicad.models.tapir.types.
LabelClass ¶
Whether this is a textual or a symbol label.
TEXT = 'Text'
SYMBOL = 'Symbol'
Import from multiconn_archicad.models.tapir.types.
LabelData ¶
The parameters of the new Label.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# The parent element if the label is an associative label. In a section,
# elevation, interior elevation or 3D document (the current window, or
# databaseId) give the model element: the label is attached to the section
# element that shows it there, which GetDetailsOfElements reports as the model
# element in ownerElementId. A section element of GetSectionElements is taken
# as it is. There, the label is placed at its default position unless
# begCoordinate, midCoordinate and endCoordinate are all given.
parentElementId: ElementId | None = None
# Optional; if omitted, inherits the current Label tool default (which may
# silently resolve to either class - explicitly setting this avoids
# ambiguity), or is 'Symbol' when libraryPartName is given. 'Symbol' starts
# from the Symbol label settings of the Label tool default or of the favorite
# given in favoriteName: when those are a Text label, the item fails instead
# of placing a label without content.
labelClass: LabelClass | None = None
# Optional name of the label library part of a Symbol label, as shown in the
# library (e.g. 'Flexi_Zone_Label'); without it the part of the Label tool
# default or of the favorite is used. The label gets the part's own default
# GDL parameters. It makes a Symbol label, so labelClass must be omitted or
# 'Symbol', and the Label tool default or the favorite must be a Symbol label
# (its other settings are kept). To switch the part of an existing label, use
# ChangeLibraryPartOfElements.
libraryPartName: str | None = None
# The text content if the label is a text label. Newlines create multiple
# lines; Windows-style CRLF (and bare CR) line endings are normalized to LF.
# Ignored if 'runs' is also given. Without 'text' and 'runs' the label keeps
# the text content of the favorite given in favoriteName, or else of the Label
# tool's current settings, autotext included, with the fields of 'style'
# applied to it, as Document > Label Selected Items does; the item fails when
# that content is empty.
text: str | None = None
# Multi-style text content for a text label: an array of styled runs,
# concatenated in order. Takes precedence over 'text' if both are given. Like
# 'text', it replaces the content of the favorite given in favoriteName or of
# the Label tool's current settings.
runs: list[TextRunDetails] | None = None
# Ignored for symbol labels.
style: TextStyleSettableDetails | None = None
# Ignored for text labels.
symbolStyle: LabelSymbolStyleSettableDetails | None = None
leaderLine: LabelLeaderLineSettableDetails | None = None
# Optional text direction, for a Text or a Symbol label; when omitted the
# Label tool default (or the favorite) is kept. Refused together with
# symbolStyle.textWay.
textWay: LabelTextDirection | None = None
# The begin coordinate of leader line. Optional parameter, but either
# begCoordinate or parentElementId must be provided. Unless midCoordinate and
# endCoordinate are both given too, the label is created at its default
# position relative to the parent element (Archicad's
# 'createAtDefaultPosition'), so the label may not end up at begCoordinate -
# read it back with GetDetailsOfElements after creation.
begCoordinate: Coordinate2D | None = None
# The mid coordinate of leader line. Optional parameter; give it together with
# endCoordinate to place the label exactly where the coordinates say.
midCoordinate: Coordinate2D | None = None
# The end coordinate of leader line. Optional parameter; give it together with
# midCoordinate to place the label exactly where the coordinates say.
endCoordinate: Coordinate2D | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor or the floor of the parent element is used.
floorInd: float | None = None
Import from multiconn_archicad.models.tapir.types.
LabelDetails ¶
libPart: LibPartDetails | None = None
ownerElementId: ElementId | None = None
ownerElementType: ElementType | None = None
begCoordinate: Coordinate2D
midCoordinate: Coordinate2D
endCoordinate: Coordinate2D
hasLeaderLine: bool
labelClass: LabelClass
leaderLine: LabelLeaderLineDetails
# The label's text direction, for a Text or a Symbol label (a Symbol label
# also reports it in symbolStyle.textWay).
textWay: LabelTextDirection | None = None
# Present only when labelClass is 'Text'.
style: TextStyleDetails | None = None
# Present only when labelClass is 'Symbol'.
symbolStyle: LabelSymbolStyleSettableDetails | None = None
# Present only when labelClass is 'Text'.
text: str | None = None
# Present only when labelClass is 'Text' and Archicad's autotext flag could be
# switched for the read: the text content read with that flag turned off, so
# an autotext shows its key (e.g. '<PROJECTNUMBER>') instead of its value.
rawText: str | None = None
# Present only when labelClass is 'Text'. Read-only: number of paragraphs in
# the memo (Tapir's own Create/Modify commands write one paragraph per line of
# the content).
paragraphCount: int | None = None
# Present only when labelClass is 'Text' and Archicad reports the line starts.
# Read-only: the lines as Archicad lays the text out, the breaks of a wrapped
# text included, each without the line-end characters that end it.
lines: list[str] | None = None
# Present with 'lines'. Read-only: the offset in 'text' of the first character
# of each entry of 'lines'.
lineStarts: list[int] | None = None
# Present only when labelClass is 'Text' and the content has paragraphs
# (always for content Tapir created): one entry per styled run, a single run
# too.
runs: list[TextRunDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
LabelLeaderLineAnchorPoint ¶
How the leader line connects to the label text.
MIDDLE = 'Middle'
TOP = 'Top'
BOTTOM = 'Bottom'
UNDERLINED = 'Underlined'
Import from multiconn_archicad.models.tapir.types.
LabelLeaderLineDetails ¶
Full readable leader-line/frame state of a Label: every field of LabelLeaderLineSettableDetails plus the leader line's coordinates.
# Pen attribute index of the leader line.
penIndex: int | None = None
# Line type attribute of the leader line.
lineTypeId: AttributeId | None = None
# Padding between the Label's frame and its content, in mm.
contourOffset: float | None = None
# Put a frame around the content.
framed: bool | None = None
# Whether the Label has a leader line (pointer line).
hasLeaderLine: bool | None = None
# Only applies to text-class labels.
anchorPoint: LabelLeaderLineAnchorPoint | None = None
# Shape of the leader line.
leaderShape: LeaderShape | None = None
# Angle in radians, used only when leaderShape is 'SquareRoot'. Valid range
# 1-179 degrees.
squareRootAngle: float | None = None
arrowType: LabelArrowType | None = None
arrowVisible: bool | None = None
arrowPenIndex: int | None = None
# Arrow size in mm.
arrowSize: float | None = None
# Hide the label together with its parent element.
hideWithBaseElem: bool | None = None
begCoordinate: Coordinate2D | None = None
midCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
LabelLeaderLineSettableDetails ¶
Every user-configurable leader-line/frame/arrow setting of a Label (top-level API_LabelType fields, shared by both Text and Symbol label classes). Shared by CreateLabels ('leaderLine'), ModifyLabels ('leaderLine'), and the Get response.
# Pen attribute index of the leader line.
penIndex: int | None = None
# Line type attribute of the leader line.
lineTypeId: AttributeId | None = None
# Padding between the Label's frame and its content, in mm.
contourOffset: float | None = None
# Put a frame around the content.
framed: bool | None = None
# Whether the Label has a leader line (pointer line).
hasLeaderLine: bool | None = None
# Only applies to text-class labels.
anchorPoint: LabelLeaderLineAnchorPoint | None = None
# Shape of the leader line.
leaderShape: LeaderShape | None = None
# Angle in radians, used only when leaderShape is 'SquareRoot'. Valid range
# 1-179 degrees.
squareRootAngle: float | None = None
arrowType: LabelArrowType | None = None
arrowVisible: bool | None = None
arrowPenIndex: int | None = None
# Arrow size in mm.
arrowSize: float | None = None
# Hide the label together with its parent element.
hideWithBaseElem: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LabelsWithDetail ¶
elementId: ElementId
# The new text content. Newlines create multiple lines; Windows-style CRLF
# (and bare CR) line endings are normalized to LF.
text: str | None = None
runs: list[TextRunDetails] | None = None
style: TextStyleSettableDetails | None = None
symbolStyle: LabelSymbolStyleSettableDetails | None = None
leaderLine: LabelLeaderLineSettableDetails | None = None
# The new text direction, for a Text or a Symbol label. Refused together with
# symbolStyle.textWay.
textWay: LabelTextDirection | None = None
# The new begin coordinate of the leader line: the point the label points at
# (where the arrow is). Only the leader line's begin moves; the label's text
# or symbol stays where it is.
begCoordinate: Coordinate2D | None = None
# The new mid coordinate of the leader line (its break point).
midCoordinate: Coordinate2D | None = None
# The new end coordinate of the leader line, where the label's text or symbol
# sits: the text or symbol moves by as much as this point moves. To move the
# whole label, give all three coordinates moved by the same offset.
# GetDetailsOfElements returns the current ones.
endCoordinate: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
LabelSymbolStyleSettableDetails ¶
Every user-configurable style setting specific to a Symbol-class Label (top-level API_LabelType fields documented as 'for symbol labels only'). Shared by CreateLabels ('symbolStyle'), ModifyLabels ('symbolStyle'), and the Get response.
# The same setting as the label's own textWay, kept here for a Symbol label.
# Give it in one of the two places only.
textWay: LabelTextDirection | None = None
# Font attribute index.
fontIndex: int | None = None
# Name of the font, as the Font attributes carry it. On input resolved to the
# font's index like a Text style's fontName, taking precedence over fontIndex,
# and failing when no loaded font has the name; on read-back the name of the
# font fontIndex refers to, absent when no loaded font has that index.
fontName: str | None = None
bold: bool | None = None
italic: bool | None = None
underline: bool | None = None
# 'Always Readable' toggle.
flipEnabled: bool | None = None
# 'Wrap Text' turned off when true.
nonBreaking: bool | None = None
# Character height in mm.
textSize: float | None = None
useBackgroundFill: bool | None = None
# Effective only if useBackgroundFill is true.
backgroundFillPenIndex: int | None = None
effectStrikeout: bool | None = None
effectSuperscript: bool | None = None
effectSubscript: bool | None = None
effectProtected: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LabelTextDirection ¶
Direction of a label's text (API_LabelType textWay), the same for Text and Symbol labels: 'Parallel' follows the labelled element, 'Horizontal' and 'Vertical' are fixed, 'General' is a custom angle (for a Text label style.angle, with style.fixedAngle keeping it when the element is rotated). The Archicad API offers no other direction for labels (it documents only these four), so there is no 'Perpendicular'.
PARALLEL = 'Parallel'
HORIZONTAL = 'Horizontal'
VERTICAL = 'Vertical'
GENERAL = 'General'
Import from multiconn_archicad.models.tapir.types.
LampData ¶
The parameters of the new Lamp.
# The name of the lamp library part to use.
libraryPartName: str
coordinates: Coordinate3D
dimensions: Dimensions3D | None = None
angle: float | None = None
pen: int | None = None
lineTypeId: AttributeId | None = None
# Material/Surface override (API_ObjectType.mat).
surfaceId: AttributeId | None = None
sectionFillId: AttributeId | None = None
# Foreground pen of the section fill.
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
useObjectPens: bool | None = None
useObjectLineTypes: bool | None = None
useObjectMaterials: bool | None = None
useObjectSectionAttributes: bool | None = None
reflected: bool | None = None
useFixSize: bool | None = None
# 0-based index of the hotspot to keep fixed (raw API_ObjectType.fixPoint
# value, not 1-based).
fixPoint: int | None = None
# Offset of the symbol's origin from the insertion point. Reported accurately
# on Get, but confirmed live that Archicad silently discards this value
# through both Create and Modify (Get always reports the library part's own
# default hotspot offset regardless of what is sent) - same class of read-
# only-in-practice field as Morph's bodyType/edgeType.
offset: Coordinate2D | None = None
# Use a fixed rotation angle. Reported accurately on Get, but confirmed live
# that Archicad silently discards this value through both Create and Modify.
useFixedAngle: bool | None = None
isAutoOnStoryVisibility: bool | None = None
visibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
# Reported accurately on Get, but confirmed live that Archicad silently
# discards this value through both Create and Modify (Get always reports the
# library part's own default light color). lightIsOn (the on/off state, as
# opposed to the color) does not have this problem.
lightColor: ColorRGB | None = None
lightIsOn: bool | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional GDL parameters to set by name, after dimensions. The value is a
# number, a boolean or a string; array parameters are not supported. A or B
# also set the size. An unknown name or a value of the wrong type fails the
# item, and nothing is created for it.
parameters: list[ElementGDLParameterData] | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
LampWithDetails ¶
elementId: ElementId
coordinates: Coordinate3D | None = None
# The new placement as GetDetailsOfElements reads it (origin, z absolute), the
# same as coordinates, so an element read can be sent back. Ignored when
# coordinates is given.
origin: Coordinate3D | None = None
dimensions: Dimensions3D | None = None
angle: float | None = None
pen: int | None = None
lineTypeId: AttributeId | None = None
# Material/Surface override (API_ObjectType.mat).
surfaceId: AttributeId | None = None
sectionFillId: AttributeId | None = None
# Foreground pen of the section fill.
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
useObjectPens: bool | None = None
useObjectLineTypes: bool | None = None
useObjectMaterials: bool | None = None
useObjectSectionAttributes: bool | None = None
reflected: bool | None = None
useFixSize: bool | None = None
# 0-based index of the hotspot to keep fixed (raw API_ObjectType.fixPoint
# value, not 1-based).
fixPoint: int | None = None
# Offset of the symbol's origin from the insertion point. Reported accurately
# on Get, but confirmed live that Archicad silently discards this value
# through both Create and Modify (Get always reports the library part's own
# default hotspot offset regardless of what is sent) - same class of read-
# only-in-practice field as Morph's bodyType/edgeType.
offset: Coordinate2D | None = None
# Use a fixed rotation angle. Reported accurately on Get, but confirmed live
# that Archicad silently discards this value through both Create and Modify.
useFixedAngle: bool | None = None
isAutoOnStoryVisibility: bool | None = None
visibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
# Reported accurately on Get, but confirmed live that Archicad silently
# discards this value through both Create and Modify (Get always reports the
# library part's own default light color). lightIsOn (the on/off state, as
# opposed to the color) does not have this problem.
lightColor: ColorRGB | None = None
lightIsOn: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Layer ¶
# The layer to move.
attributeId: AttributeId
# The index the layer gets. It must not be used by another layer. Index 1 (the
# Archicad Layer) cannot be used or moved.
newIndex: int
Import from multiconn_archicad.models.tapir.types.
LayerAttribute ¶
A layer attribute.
attributeId: AttributeId
index: int
name: str
isHidden: bool | None = None
isLocked: bool | None = None
isWireframe: bool | None = None
intersectionGroupNr: int | None = None
Import from multiconn_archicad.models.tapir.types.
LayerAttributeField ¶
IS_HIDDEN = 'isHidden'
IS_LOCKED = 'isLocked'
IS_WIREFRAME = 'isWireframe'
INTERSECTION_GROUP_NR = 'intersectionGroupNr'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LayerCombinationAttribute ¶
A layer combination attribute.
layerCombination: LayerCombinationAttributeDetails
Import from multiconn_archicad.models.tapir.types.
LayerCombinationAttributeDetails ¶
The details of the layer combination attribute.
# The identifier of the layer combination attribute.
attributeId: AttributeId
# The index identifier of the layer combination attribute.
attributeIndex: int | None = None
# The name of the layer combination.
name: str
# List of Layers included in the Layer Combination.
layers: list[LayersOfLayerCombinationItem]
Import from multiconn_archicad.models.tapir.types.
LayerCombinationAttributeOrError ¶
LayerCombinationAttributeOrError: TypeAlias = (
LayerCombinationAttribute | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
LayerCombinationDataArrayItem ¶
Data to create a Layer Combination.
# Indentifier of the existing Layer Combination to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Layer Combination to overwrite, ignored if
# overwriteExisting is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Layer Combination with
# the given name will be overwritten. It must not be empty.
name: str
# Layer states to set. Layers not listed keep their current state when
# overwriting an existing Layer Combination (or get the default
# visible/unlocked state for a new one), so this can be omitted to e.g. only
# rename an existing Layer Combination.
layers: list[LayersOfLayerCombinationItem] | None = None
Import from multiconn_archicad.models.tapir.types.
LayerData ¶
Data to create a Layer.
# Indentifier of the existing Layer to overwrite, ignored if overwriteExisting
# is false.
attributeId: AttributeId | None = None
# Index of the existing Layer to overwrite, ignored if overwriteExisting is
# false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Layer with the given
# name will be overwritten. It must not be empty.
name: str
# Hide/Show.
isHidden: bool | None = None
# Lock/Unlock.
isLocked: bool | None = None
# Force the model to wireframe.
isWireframe: bool | None = None
# Intersection group. Elements on layers having the same group will be
# intersected.
intersectionGroupNr: int | None = None
Import from multiconn_archicad.models.tapir.types.
LayeredElementDimensions ¶
The automatic dimensioning of layered (composite) elements, from the Dimension Details panel of the Dimension Settings (API compAutoThick).
# Dimension the total thickness.
total: bool | None = None
# Dimension the core.
core: bool | None = None
# Dimension the reference line.
referenceLine: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LayerModificationData ¶
An existing layer and the settings to change.
# Identifier of the existing Layer to change.
attributeId: AttributeId
# New name. It must not be empty, and no other Layer may have it.
name: str | None = None
# Hide/Show.
isHidden: bool | None = None
# Lock/Unlock.
isLocked: bool | None = None
# Force the model to wireframe.
isWireframe: bool | None = None
# Intersection group. Elements on layers having the same group will be
# intersected.
intersectionGroupNr: int | None = None
Import from multiconn_archicad.models.tapir.types.
Layers ¶
# The layer at its new index. Archicad cannot renumber an attribute in place,
# so this is a new attribute with a new id; with dryRun it is the layer's
# current id.
attributeId: AttributeId
oldIndex: int
newIndex: int
# The elements on the layer, in the floor plan and in every section,
# elevation, interior elevation, detail, worksheet, 3D document, layout and
# master layout. Moved to the new layer unless dryRun is true. The model
# elements that sections, elevations, interior elevations and 3D documents
# show are not listed (see viewsToRebuild).
elements: list[ElementIdArrayItem]
# Only with dryRun: elements on the layer that cannot be moved, because they
# come from a hotlinked module. Without dryRun such a layer is not moved.
blockedElements: list[ElementIdArrayItem] | None = None
# The element types whose tool default is on this layer. They are set to the
# new layer unless dryRun is true.
toolDefaults: list[ElementType]
# The number of temporary layers needed for the free indices below newIndex.
placeholders: int
# What did not work after the layer was moved: its name and flags, or the move
# into its attribute folder.
warnings: list[str] | None = None
# The sections, elevations, interior elevations and 3D documents that show
# elements of the layer. The model elements they show are deleted with the old
# layer and come back on the new layer when the view is rebuilt: Archicad does
# that when the view is opened, unless it is set to be rebuilt manually. To
# rebuild one at once, call ChangeWindow with its databaseId and then
# RebuildCurrentDatabase.
viewsToRebuild: list[DatabaseIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
LayersOfElementDefault ¶
elementType: ElementType
# The layer new elements of this type will be placed on.
layerId: AttributeId
Import from multiconn_archicad.models.tapir.types.
LayersOfElementDefaults ¶
elementType: ElementType
# The layer new elements of this type are placed on.
layerId: AttributeId
# The name of the layer.
layerName: str
Import from multiconn_archicad.models.tapir.types.
LayersOfLayerCombinationItem ¶
# The identifier of the Layer attribute.
attributeId: AttributeId
# Visibility of the Layer in the Layer Combination.
isHidden: bool
# Lock state of the Layer in the Layer Combination.
isLocked: bool
# Is wireframe mode forced for the Layer in the Layer Combination.
isWireframe: bool
# Intersection group of the Layer in the Layer Combination. Elements on layers
# having the same group will be intersected.
intersectionGroupNr: int
Import from multiconn_archicad.models.tapir.types.
LayoutCustomData ¶
customSchemeKey: str
customSchemeName: str | None = None
customSchemeValue: str
Import from multiconn_archicad.models.tapir.types.
LayoutCustomDataToSet ¶
customSchemeKey: str | None = None
customSchemeName: str | None = None
customSchemeValue: str
Import from multiconn_archicad.models.tapir.types.
LayoutData ¶
masterLayoutName: str | None = None
masterNavigatorItemId: NavigatorItemId | None = None
layoutName: str
parentNavigatorItemId: NavigatorItemId | None = None
# The sibling after which the new layout is placed, as in MoveNavigatorItem.
# It must be a child of parentNavigatorItemId (or of the Layout Book root when
# that is omitted). Cannot be combined with position.
previousNavigatorItemId: NavigatorItemId | None = None
# Archicad inserts new layouts at the first place, which renumbers the sheets
# after them; "last" appends it after the existing children instead. Cannot be
# combined with previousNavigatorItemId.
position: LayoutInsertionPosition | None = None
# Optional paper width in mm, used together with paperHeight. Sets the size of
# the new layout, and of the master layout when this command creates it from
# masterLayoutName: a new master starts with the template's default size,
# which layoutParameters cannot change. An existing master keeps its size.
# Wins over layoutParameters.horizontalSize.
paperWidth: float | None = None
# Optional paper height in mm, used together with paperWidth. See paperWidth.
# Wins over layoutParameters.verticalSize.
paperHeight: float | None = None
layoutParameters: LayoutParameters | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutDatabaseId ¶
databaseId: DatabaseId | None = None
navigatorItemId: NavigatorItemId | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutInfo ¶
id: str
databaseId: DatabaseId
name: str
masterLayoutName: str
width: float
height: float
subsetId: str
subsetName: str
ownerUser: str
customSchemeData: list[RevisionCustomSchemeEntry] | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutInsertionPosition ¶
Position of a new layout among its parent's children.
FIRST = 'first'
LAST = 'last'
Import from multiconn_archicad.models.tapir.types.
LayoutParameters ¶
horizontalSize: float | None = None
verticalSize: float | None = None
leftMargin: float | None = None
topMargin: float | None = None
rightMargin: float | None = None
bottomMargin: float | None = None
# The layout's own number, used when customLayoutNumbering is true. It only
# replaces this layout's displayed number: the layout still counts in its
# subset's numbering, so the sheets after it are renumbered. Use
# doNotIncludeInNumbering to leave it out.
customLayoutNumber: str | None = None
# Use customLayoutNumber instead of the automatic number. Does not leave the
# layout out of the subset's numbering; see doNotIncludeInNumbering.
customLayoutNumbering: bool | None = None
# Leave the new layout out of its subset's automatic numbering, so the numbers
# of the other sheets do not change.
doNotIncludeInNumbering: bool | None = None
displayMasterLayoutBelow: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutPreferences ¶
The Layouts page.
# The color master items are shown in on layouts, when useOwnMasterItemsColor
# is false.
masterItemsColor: ColorRGB
# Show the master items in their own colors instead of masterItemsColor.
useOwnMasterItemsColor: bool
# When a model view is placed onto a layout, fit its drawing frame to the
# zoomed area of the view.
adjustDrawingFrameToViewZoom: bool
Import from multiconn_archicad.models.tapir.types.
LayoutPreferencesUpdate ¶
The Layouts page.
# The color master items are shown in on layouts, when useOwnMasterItemsColor
# is false.
masterItemsColor: ColorRGB | None = None
# Show the master items in their own colors instead of masterItemsColor.
useOwnMasterItemsColor: bool | None = None
# When a model view is placed onto a layout, fit its drawing frame to the
# zoomed area of the view.
adjustDrawingFrameToViewZoom: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutSetting ¶
layoutName: str | None = None
horizontalSize: float | None = None
verticalSize: float | None = None
leftMargin: float | None = None
topMargin: float | None = None
rightMargin: float | None = None
bottomMargin: float | None = None
customLayoutNumber: str | None = None
customLayoutNumbering: bool | None = None
doNotIncludeInNumbering: bool | None = None
displayMasterLayoutBelow: bool | None = None
# The database of the master layout of the layout. Not present for master
# layouts.
masterLayoutDatabaseId: DatabaseId | None = None
# The Layout Book navigator item of the master layout of the layout. Not
# present for master layouts.
masterNavigatorItemId: NavigatorItemId | None = None
# The name of the master layout of the layout. Not present for master layouts.
masterLayoutName: str | None = None
customData: list[LayoutCustomData] | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutSettingsData ¶
layoutDatabaseId: DatabaseId | None = None
layoutNavigatorItemId: NavigatorItemId | None = None
# The new name of the layout or master layout (its database name, as returned
# by GetDatabases and GetLayoutSettings). A custom name of its Navigator item
# is changed with RenameNavigatorItem instead.
layoutName: str | None = None
horizontalSize: float | None = None
verticalSize: float | None = None
leftMargin: float | None = None
topMargin: float | None = None
rightMargin: float | None = None
bottomMargin: float | None = None
customLayoutNumber: str | None = None
customLayoutNumbering: bool | None = None
doNotIncludeInNumbering: bool | None = None
showMasterBelow: bool | None = None
# The master layout to assign to the layout, as its Layout Book navigator
# item. Only layouts can be given a master layout, master layouts cannot.
masterNavigatorItemId: NavigatorItemId | None = None
# The master layout to assign to the layout, as its database. Used when
# masterNavigatorItemId is not given.
masterLayoutDatabaseId: DatabaseId | None = None
# The master layout to assign to the layout, by name. Used when neither
# masterNavigatorItemId nor masterLayoutDatabaseId is given.
masterLayoutName: str | None = None
customData: list[LayoutCustomDataToSet] | None = None
Import from multiconn_archicad.models.tapir.types.
LayoutSubsetSettings ¶
name: str
ownPrefix: str
customNumber: str
numberingStyle: NumberingStyle
startAt: int
continueNumbering: bool
useUpperPrefix: bool
includeToIDSequence: bool
customNumbering: bool
addOwnPrefix: bool
Import from multiconn_archicad.models.tapir.types.
LayoutSubsetSettingsChange ¶
Partial setting changes for one layout subset.
# The subset to change, from GetNavigatorItemTree or CreateLayoutSubset.
navigatorItemId: NavigatorItemId
# The settings to change. The ones not given keep the value the subset has.
settings: LayoutSubsetSettingsData
Import from multiconn_archicad.models.tapir.types.
LayoutSubsetSettingsData ¶
Settings of a Layout Book subset to write, with the field names of CreateLayoutSubset and GetLayoutSubsetSettings. Every field is optional; one that is not given is left as it is.
# The name of the subset.
name: str | None = None
# The subset's own ID prefix. Giving it also switches addOwnPrefix on, unless
# addOwnPrefix is given.
ownPrefix: str | None = None
# The subset's custom number (its custom ID). Giving it also switches
# customNumbering on, unless customNumbering is given.
customNumber: str | None = None
# The ID appearance style of the subset.
numberingStyle: NumberingStyle | None = None
# The number the subset's numbering starts at.
startAt: int | None = None
# Whether the subset continues using the ID assignment of the levels above.
continueNumbering: bool | None = None
# Whether the subset uses the prefix and IDs of the levels above.
useUpperPrefix: bool | None = None
# Whether the subset is included in the ID sequence: the opposite of the
# Subset Settings dialog's "Do not include this Subset in ID sequence".
includeToIDSequence: bool | None = None
# Whether the subset has a custom ID (customNumber) instead of an
# automatically generated one.
customNumbering: bool | None = None
# Whether the subset adds its own prefix (ownPrefix).
addOwnPrefix: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LeaderShape ¶
Shape of the leader line.
SEGMENTED = 'Segmented'
SPLINEAR = 'Splinear'
SQUARE_ROOT = 'SquareRoot'
Import from multiconn_archicad.models.tapir.types.
LegacyPreferences ¶
The Legacy page: settings kept for compatibility with projects made in earlier Archicad versions.
# The priority of columns when they intersect other elements, as set on the
# page.
columnIntersectionPriority: int
# The line type of construction elements shown above their home story. It
# affects library parts only when their Use Symbol Linetypes checkbox is off,
# and not ghost story elements.
aboveHomeStoryLineTypeId: AttributeId
# The line type of construction elements shown below their home story. It
# affects library parts only when their Use Symbol Linetypes checkbox is off,
# and not ghost story elements.
belowHomeStoryLineTypeId: AttributeId
roofContourDisplay: LegacyRoofContourDisplay
# Use the legacy intersection and surface methods for model elements.
useLegacyIntersections: bool
# Hide zones on sections.
hideZonesOnSections: bool
Import from multiconn_archicad.models.tapir.types.
LegacyPreferencesUpdate ¶
The Legacy page: settings kept for compatibility with projects made in earlier Archicad versions.
# The priority of columns when they intersect other elements, as set on the
# page.
columnIntersectionPriority: int | None = None
# The line type of construction elements shown above their home story. It
# affects library parts only when their Use Symbol Linetypes checkbox is off,
# and not ghost story elements.
aboveHomeStoryLineTypeId: AttributeId | None = None
# The line type of construction elements shown below their home story. It
# affects library parts only when their Use Symbol Linetypes checkbox is off,
# and not ghost story elements.
belowHomeStoryLineTypeId: AttributeId | None = None
# How roofs are shown: with all their visible contours, or only with their top
# surface (the earlier way).
roofContourDisplay: LegacyRoofContourDisplay | None = None
# Use the legacy intersection and surface methods for model elements.
useLegacyIntersections: bool | None = None
# Hide zones on sections.
hideZonesOnSections: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LegacyRoofContourDisplay ¶
How roofs are shown: with all their visible contours, or only with their top surface (the earlier way).
ALL_VISIBLE_CONTOURS = 'AllVisibleContours'
ONLY_THE_TOP_SURFACE = 'OnlyTheTopSurface'
Import from multiconn_archicad.models.tapir.types.
Length ¶
unit: LengthType
accuracy: AccuracyType
# Number of decimals to display for length values.
decimals: int
# Fractional inches.
roundInch: int | None = None
Import from multiconn_archicad.models.tapir.types.
LengthDimensionFormat ¶
The display format of a length dimension.
unit: LengthType
# Number of decimals to display.
decimals: int
# Rounding of the fractional inch units, as the denominator of the smallest
# fraction shown: 1, 2, 4, 8, 16, 32 or 64.
roundInch: int
accuracy: AccuracyType
# Show the zero before the decimal point of values below one.
showZeroWhole: bool
# Show zero inches in feet and inches values.
showZeroInch: bool
# Hide the zero decimals at the end of the values.
hideZeroDecimals: bool
Import from multiconn_archicad.models.tapir.types.
LengthDimensionFormatUpdate ¶
Partial changes to the display format of a length dimension.
unit: LengthType | None = None
# Number of decimals to display.
decimals: int | None = None
# Rounding of the fractional inch units, as the denominator of the smallest
# fraction shown: 1, 2, 4, 8, 16, 32 or 64.
roundInch: int | None = None
accuracy: AccuracyType | None = None
# Show the zero before the decimal point of values below one.
showZeroWhole: bool | None = None
# Show zero inches in feet and inches values.
showZeroInch: bool | None = None
# Hide the zero decimals at the end of the values.
hideZeroDecimals: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LengthType ¶
The type of the length measurement unit.
METER = 'Meter'
DECIMETER = 'Decimeter'
CENTIMETER = 'Centimeter'
MILLIMETER = 'Millimeter'
FOOT_FRAC_INCH = 'FootFracInch'
FOOT_DEC_INCH = 'FootDecInch'
DEC_FOOT = 'DecFoot'
FRAC_INCH = 'FracInch'
DEC_INCH = 'DecInch'
Import from multiconn_archicad.models.tapir.types.
LevelDimensionData ¶
The parameters of the new Level Dimension.
# Optional name of a Level Dimension favorite to base the new element on. Its
# settings (marker, format, text style, layer, pen) are applied first, then
# the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The location of the marker on the floor plan. With a parentElementId it must
# lie on that element, the measured level is the parent's height at this
# point. Outside the parent's outline Archicad still creates the dimension,
# but without a height (GetDetailsOfElements reads a level of -110000000).
position: Coordinate2D
# Optional element the level dimension is associated with (Mesh, Slab, Roof,
# Shell, Morph, Beam, Column, Wall, Object, Stair ...). The dimension then
# shows the element's height at the position and follows the element when it
# changes. Without it the dimension measures the floor level, or the given
# static level.
parentElementId: ElementId | None = None
# Optional fixed level value in meters (absolute, from the project zero). Only
# used without parentElementId; the dimension then shows this value instead of
# the floor level.
level: float | None = None
# The index of the floor to place the dimension on. Optional parameter, by
# default the floor of the parent element, otherwise the current floor is
# used.
floorIndex: int | None = None
# Layer attribute index to place the dimension on. Optional parameter, by
# default the layer of the favorite or the Level Dimension tool default is
# used.
layerIndex: int | None = None
# Pen index of the marker. Optional parameter.
pen: int | None = None
# Height of the dimension text in millimeters (paper size), applied to both
# texts of the marker. Optional parameter.
textHeight: float | None = None
# Pen index of the dimension text, applied to both texts of the marker.
# Optional parameter.
textPen: int | None = None
# Marker type of the Level Dimension tool, 0-19 as Archicad stores it (read it
# back with GetDetailsOfElements from an existing level dimension or one
# placed with a favorite). Optional parameter.
dimForm: int | None = None
# Show a plus sign for positive values. Optional parameter.
needPlus: bool | None = None
# Size of the marker in millimeters (paper size). Optional parameter.
markerSize: float | None = None
# Rotation angle of the marker in radians. Optional parameter.
angle: float | None = None
# The origin the level is measured from. Optional parameter.
origin: DimensionOrigin | None = None
# Font of the dimension text (Text Style of the Level Dimension settings),
# applied to both texts of the marker: the name of a Font attribute, as
# GetDetailsOfElements reports it in fontName, e.g. 'Arial'. The command fails
# when no loaded font has the name. Takes precedence over fontIndex if both
# are given. Optional parameter.
fontName: str | None = None
# Font of the dimension text given by its Font attribute index, applied to
# both texts of the marker. Optional parameter.
fontIndex: int | None = None
# Bold dimension text. Optional parameter, the other styles are kept.
bold: bool | None = None
# Italic dimension text. Optional parameter, the other styles are kept.
italic: bool | None = None
# Underlined dimension text. Optional parameter, the other styles are kept.
underline: bool | None = None
# Hide the dimension together with its associated element (the 'Hide with
# associated element' setting). Available from Archicad 29; on earlier
# versions the command fails when it is given. Optional parameter.
hideWithBaseElem: bool | None = None
textContent: LevelDimensionTextContent | None = None
# The custom content of the dimension text, own text and Autotext keys, e.g.
# 'FBOK <MEASUREDVALUE>'. Write the Autotext keys as GetDetailsOfElements
# returns them in customText for a level dimension set up in Archicad with the
# wanted Autotext (they are read with the autotext flag off). Sets textContent
# to 'Custom'; fails together with textContent 'Measured'. Optional parameter.
customText: str | None = None
# Content of the second text, shown by the marker types with two texts:
# 'Measured' or 'Custom' (secondCustomText). Optional parameter; giving
# secondCustomText alone also switches to 'Custom'.
secondTextContent: LevelDimensionTextContent | None = None
# The custom content of the second text, own text and Autotext keys as for
# customText. Sets secondTextContent to 'Custom'; fails together with
# secondTextContent 'Measured'. Optional parameter.
secondCustomText: str | None = None
# The text box of the dimension text: its angle, background and frame
# (textAngle, opaque, frame, backgroundPen, framePen). Only the fields given
# change. A level dimension text has no leader line and no multiline
# alignment, so any other DimensionNote field is refused (#3059). The level
# dimension is read back, and an item fails, naming the field, when Archicad
# did not keep one. Optional parameter.
textBox: DimensionNote | None = None
# The text box of the second text, shown by the marker types with two texts,
# with the fields textBox takes. Optional parameter.
secondTextBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
LevelDimensionDetails ¶
# The location of the marker.
position: Coordinate2D
# The level the dimension shows in meters: the height of the owner element at
# the position for an associative level dimension, the floor level or the
# static value otherwise.
level: float
# The Static checkbox as Archicad reports it; ModifyLevelDimensions switches
# it. A level dimension created with a fixed 'level' and no parent keeps that
# value although Archicad has been seen to read this flag as false for it.
staticLevel: bool
# Present when the level dimension has an owner element: the element it
# measures. ModifyLevelDimensions takes it back with the same key.
ownerElementId: ElementId | None = None
# Present when the level dimension has an owner element. Only read.
ownerElementType: ElementType | None = None
# Marker type 0-19.
dimForm: int
needPlus: bool
pen: int
# Height of the dimension text in millimeters.
textHeight: float
textPen: int
# Size of the marker in millimeters.
markerSize: float
# Rotation angle of the marker in radians.
angle: float
origin: DimensionOrigin
# Font attribute index of the dimension text.
fontIndex: int
# The name of the font fontIndex refers to, as the Font attributes carry it.
# Absent when no loaded font has that index.
fontName: str | None = None
# Bold dimension text.
bold: bool
# Italic dimension text.
italic: bool
# Underlined dimension text.
underline: bool
# Hide the dimension together with its associated element. Read from Archicad
# 29; absent on earlier versions.
hideWithBaseElem: bool | None = None
# Content of the dimension text: 'Measured' (the level value) or 'Custom'
# (customText).
textContent: LevelDimensionTextContent
# The custom content of the dimension text, with its Autotext keys as keys
# (read with the autotext flag off), in the form CreateLevelDimensions and
# ModifyLevelDimensions take. Present when textContent is 'Custom'.
customText: str | None = None
# Content of the second text, shown by the marker types with two texts:
# 'Measured' or 'Custom' (secondCustomText).
secondTextContent: LevelDimensionTextContent
# The custom content of the second text, as customText. Present when
# secondTextContent is 'Custom'.
secondCustomText: str | None = None
# The text box of the dimension text, with the fields a level dimension text
# has: textAngle, opaque, frame, backgroundPen and framePen.
# CreateLevelDimensions and ModifyLevelDimensions take it back with the same
# key.
textBox: DimensionNote
# The text box of the second text, with the same fields as textBox.
secondTextBox: DimensionNote
Import from multiconn_archicad.models.tapir.types.
LevelDimensionsWithDetail ¶
elementId: ElementId
# The new location of the marker on the floor plan. An associative level
# dimension then shows the height of its element at the new position. Optional
# parameter.
position: Coordinate2D | None = None
# New fixed level value in meters (absolute, from the project zero), as
# CreateLevelDimensions takes it. The dimension becomes static (the Static
# checkbox on) and shows this value; an owner element is kept, so staticLevel
# false later shows its height again. Cannot be given with parentElementId or
# with staticLevel false. Optional parameter.
level: float | None = None
# The Static checkbox. true fixes the value the dimension shows now; false
# makes it associative again, so it shows the height of its owner element at
# the position, or the floor level when it has none. Optional parameter.
staticLevel: bool | None = None
# The new owner element (Mesh, Slab, Roof, Shell, Morph, Beam, Column, Wall,
# Object, Stair ...), for example after the old one was replaced. The
# dimension becomes associative and shows the new owner's height at the
# position, so the position must lie on it (give position too when it does
# not). Cannot be given with level or with staticLevel true. Optional
# parameter.
parentElementId: ElementId | None = None
# The owner element as GetDetailsOfElements reads it (ownerElementId, the same
# Archicad field parentElementId writes), so a level dimension read can be
# sent back. Sets the owner like parentElementId, but does not change the
# Static checkbox (staticLevel) itself, so it can be sent back together with
# the staticLevel read with it. In tests on Archicad 29, staticLevel true
# failed for a level dimension with an owner, so the round trip is for
# associative level dimensions. Cannot name another element than a
# parentElementId given with it. Optional parameter.
ownerElementId: ElementId | None = None
# Pen index of the marker. Optional parameter.
pen: int | None = None
# Height of the dimension text in millimeters (paper size), applied to both
# texts of the marker. Optional parameter.
textHeight: float | None = None
# Pen index of the dimension text, applied to both texts of the marker.
# Optional parameter.
textPen: int | None = None
# Marker type of the Level Dimension tool, 0-19 as Archicad stores it (read it
# back with GetDetailsOfElements from an existing level dimension or one
# placed with a favorite). Optional parameter.
dimForm: int | None = None
# Show a plus sign for positive values. Optional parameter.
needPlus: bool | None = None
# Size of the marker in millimeters (paper size). Optional parameter.
markerSize: float | None = None
# Rotation angle of the marker in radians. Optional parameter.
angle: float | None = None
# The origin the level is measured from. Optional parameter.
origin: DimensionOrigin | None = None
# Font of the dimension text (Text Style of the Level Dimension settings),
# applied to both texts of the marker: the name of a Font attribute, as
# GetDetailsOfElements reports it in fontName, e.g. 'Arial'. The command fails
# when no loaded font has the name. Takes precedence over fontIndex if both
# are given. Optional parameter.
fontName: str | None = None
# Font of the dimension text given by its Font attribute index, applied to
# both texts of the marker. Optional parameter.
fontIndex: int | None = None
# Bold dimension text. Optional parameter, the other styles are kept.
bold: bool | None = None
# Italic dimension text. Optional parameter, the other styles are kept.
italic: bool | None = None
# Underlined dimension text. Optional parameter, the other styles are kept.
underline: bool | None = None
# Hide the dimension together with its associated element (the 'Hide with
# associated element' setting). Available from Archicad 29; on earlier
# versions the command fails when it is given. Optional parameter.
hideWithBaseElem: bool | None = None
# Content of the dimension text: 'Measured' shows the level value, 'Custom'
# shows customText. Optional parameter; giving customText alone also switches
# to 'Custom'.
textContent: LevelDimensionTextContent | None = None
# The custom content of the dimension text, own text and Autotext keys, e.g.
# 'FBOK <MEASUREDVALUE>'. Write the Autotext keys as GetDetailsOfElements
# returns them in customText for a level dimension set up in Archicad with the
# wanted Autotext (they are read with the autotext flag off). Sets textContent
# to 'Custom'; fails together with textContent 'Measured'. Optional parameter.
customText: str | None = None
# Content of the second text, shown by the marker types with two texts:
# 'Measured' or 'Custom' (secondCustomText). Optional parameter; giving
# secondCustomText alone also switches to 'Custom'.
secondTextContent: LevelDimensionTextContent | None = None
# The custom content of the second text, own text and Autotext keys as for
# customText. Sets secondTextContent to 'Custom'; fails together with
# secondTextContent 'Measured'. Optional parameter.
secondCustomText: str | None = None
# The text box of the dimension text: its angle, background and frame
# (textAngle, opaque, frame, backgroundPen, framePen). Only the fields given
# change. A level dimension text has no leader line and no multiline
# alignment, so any other DimensionNote field is refused (#3059). The level
# dimension is read back, and an item fails, naming the field, when Archicad
# did not keep one. Optional parameter.
textBox: DimensionNote | None = None
# The text box of the second text, shown by the marker types with two texts,
# with the fields textBox takes. Optional parameter.
secondTextBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
LevelDimensionTextContent ¶
Content of the dimension text: 'Measured' shows the level value, 'Custom' shows customText. Optional parameter; giving customText alone also switches to 'Custom'.
MEASURED = 'Measured'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
LibPartBasedElementDetails ¶
libPart: LibPartDetails
ownerElementId: ElementId | None = None
ownerElementType: ElementType | None = None
Import from multiconn_archicad.models.tapir.types.
LibPartDetails ¶
name: str
parentUnID: LibPartUnId
ownUnID: LibPartUnId
Import from multiconn_archicad.models.tapir.types.
LibPartUnId ¶
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
Library ¶
Details of a project library.
# Library name.
name: str
# A filesystem path to library location.
path: str
# Library type.
type: str
# Is library not missing.
available: bool | None = None
# Is library not writable.
readOnly: bool | None = None
# URL address of the TeamWork server hosting the library.
twServerUrl: str | None = None
# URL of the downloaded Internet library.
urlWebLibrary: str | None = None
package: LibraryPackage | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryFileAddition ¶
# The path to the input file.
inputPath: str
# The relative path to the new file inside embedded library.
outputPath: str
# By default 'Pict'.
type: LibraryPartType | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryLocation ¶
path: str
Import from multiconn_archicad.models.tapir.types.
LibraryLookupError ¶
code: int | None = None
message: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryOfLibraryPart ¶
library: LibraryPartLocation | None = None
# The path in the Library Manager tree, not a physical location.
libraryTreePath: list[str] | None = None
error: LibraryLookupError | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPackage ¶
Package information of a library that is a library package. Only given for packages, from Archicad 28. A value Archicad cannot read is left out.
# The GUID of the package.
packageId: str | None = None
# The main version of the package.
mainVersion: int | None = None
# The sub version of the package.
subVersion: int | None = None
# The minimum Archicad version the package needs.
minArchicadVersion: int | None = None
# The minimum Archicad build number the package needs.
minArchicadBuildNumber: int | None = None
# The packages this package depends on.
dependencies: list[LibraryPackageDependency] | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPackageDependency ¶
A library package required by another package.
# The name of the package.
name: str
# The GUID of the package.
packageId: str
# The version of the package that is needed.
version: int
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryPart2DPrimitive ¶
type: LibraryPart2DPrimitiveType
# The start point of a Line.
begCoordinate: Coordinate2D | None = None
# The end point of a Line.
endCoordinate: Coordinate2D | None = None
# The center of an Arc.
origin: Coordinate2D | None = None
# The radius of an Arc.
radius: float | None = None
# The start angle of an Arc, in radians.
begAngle: float | None = None
# The end angle of an Arc, in radians.
endAngle: float | None = None
# Whether an Arc is a full circle.
isWhole: bool | None = None
# Whether a Polygon is the outline of a fill.
isFill: bool | None = None
# The outline of a Polygon.
coordinates: list[Coordinate2D] | None = None
# The holes of a Polygon.
holes: list[Hole] | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPart2DPrimitiveType ¶
LINE = 'Line'
ARC = 'Arc'
POLYGON = 'Polygon'
Import from multiconn_archicad.models.tapir.types.
LibraryPartByGuid ¶
A library part selected by its unique identifier.
# The main guid of the library part, as GetAvailableLibraryParts returns it in
# guid.
guid: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartByIndex ¶
# The index of the library part, as returned by GetAvailableLibraryParts.
index: int
Import from multiconn_archicad.models.tapir.types.
LibraryPartByName ¶
A library part selected by its name.
# The name of the library part, as GetAvailableLibraryParts returns it in
# documentName.
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartCopyData ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm'). Give
# this or elementId.
libraryPartName: str | None = None
# An object, lamp, window, door, skylight, zone or curtain wall frame, panel,
# junction or accessory; the library part it is placed from is copied. Give
# this or libraryPartName.
elementId: ElementId | None = None
# The file name of the copy with its extension (e.g. 'My Door copy.gsm'). It
# must not contain a folder.
newName: str
# Optional. The absolute path of an existing folder to put the copy into. By
# default the folder of the embedded library. The copy can only be found by
# name after the reload when the folder belongs to a loaded library.
targetFolder: str | None = None
# Optional. When true, the copy keeps the main GUID of the original. By
# default false: the copy gets a new unique ID.
keepMainGuid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartCreationDetails ¶
# The name of the created library part.
name: str
# The unique ID of the created library part ('{main}-{revision}'), usable as
# parentId of further library parts.
unId: str
# The main GUID of the created library part, as GetAvailableLibraryParts
# reports it.
guid: str
# The index of the created library part in the loaded libraries.
index: int
# The relative path of the .gsm file inside the embedded library;
# DeleteEmbeddedLibraryItems takes it as path.
path: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartData ¶
# The name of the new library part, as shown in the library and used by
# CreateObjects as libraryPartName.
name: str
# The parent subtype of the new library part: its unique ID
# ('{main}-{revision}') or its main GUID, as GetAvailableLibraryParts reports
# it. Either parentId or parentName is required. The General GDL Object (the
# root subtype) cannot be the parent: use the Model Element or one of its
# subtypes.
parentId: str | None = None
# The document name of the parent subtype, e.g. 'General Object' or 'General
# Label' from the Archicad Library; used when parentId is not given.
parentName: str | None = None
# Optional. The type of the new library part. By default the type of the
# parent found by parentName or by a parentId GUID, and Object otherwise.
type: LibraryPartType | None = None
# Optional. The relative path of the .gsm file inside the embedded library,
# the same kind of path AddFilesToEmbeddedLibrary takes as outputPath. By
# default '<name>.gsm'.
path: str | None = None
# Optional. The default value of the A (X size) parameter. 1.0 by default.
a: float | None = None
# Optional. The default value of the B (Y size) parameter. 1.0 by default.
b: float | None = None
# Optional. The GDL master script.
masterScript: str | None = None
# Optional. The GDL 2D script.
script2D: str | None = None
# Optional. The GDL 3D script.
script3D: str | None = None
# Optional. The GDL parameter script (value lists, locks, hiding).
parameterScript: str | None = None
# Optional. The GDL user interface script.
uiScript: str | None = None
# Optional. The GDL properties (component listing) script.
propertiesScript: str | None = None
# Optional. The parameters of the library part besides A and B, in the order
# they appear in the settings dialog. Only simple (non-array) parameters can
# be defined.
parameters: list[LibraryPartParameterData] | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartDetails ¶
# The name of the library part.
name: str | None = None
# The location of the library part file.
path: str | None = None
# The index of the library part in the loaded libraries.
index: int | None = None
# The place of the library part in the library tree.
libraryTreePath: LibraryTreePath | None = None
library: LibraryPartLibraryDetails | None = None
# The GDL object data. Omitted for a library part that is not a GDL object,
# e.g. an image.
gsmObject: GsmObject | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartDoorWindowDetails ¶
The details of a Door or Window library part.
mirThick: float
wallInset: float
leftFram: float
righFram: float
topFram: float
botFram: float
# The orientation setting (API_Orient value) of the door or window.
orientation: int
contours3D: bool
Import from multiconn_archicad.models.tapir.types.
LibraryPartFileInfo ¶
# The path of the file, as given in the input.
path: str
# The unique ID of the library part, its main and revision GUID.
unID: str | None = None
# The unique ID of the subtype the library part belongs to.
subTypeUnID: str | None = None
# The requested scripts, by the keys used in the input.
scripts: dict[str, LibraryPartScript]
# The parameters of the library part with their default values, in the format
# of GetGDLParametersOfElements. Separators, titles and dictionary parameters
# have no value here and are left out.
parameters: list[LibraryPartParameterValue] | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartGDLParameterQuery ¶
A library part whose default GDL parameters are requested.
# The name of the library part, the same name CreateObjects, CreateLamps,
# CreateWindows and CreateDoors take as libraryPartName. The file name with
# its .gsm extension, as GetAvailableLibraryParts returns it and
# SetLibraryPartParameters takes it, is accepted too.
libraryPartName: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartGDLParameters ¶
The default GDL parameters returned for one library part.
# The library part found by the name. Absent when it could not be read.
libPart: LibPartDetails | None = None
# The GDL parameters of the library part with their default values as stored
# in the library part (its Parameter Script is not run). The description of
# each parameter is the displayName of the same entry.
parameters: list[LibraryPartStoredGDLParameter]
Import from multiconn_archicad.models.tapir.types.
LibraryPartIdentifier ¶
Identifies a loaded library part by exactly one of: its index, its name or its unique ID.
# The index of the library part, as GetAvailableLibraryParts returns it.
# Indices may change when the libraries are reloaded.
index: int | None = None
# The name of the library part, as GetAvailableLibraryParts returns it in
# documentName and GetDetailsOfElements in libPart.name.
name: str | None = None
# The full unique ID of the library part: main and revision GUID in the form
# '{MAIN-GUID}-{REVISION-GUID}', as GetLibraryPartDetails returns it.
unId: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartIdentifierByIndex ¶
Requires index.
# The name of the library part, as GetAvailableLibraryParts returns it in
# documentName and GetDetailsOfElements in libPart.name.
name: str | None = None
# The full unique ID of the library part: main and revision GUID in the form
# '{MAIN-GUID}-{REVISION-GUID}', as GetLibraryPartDetails returns it.
unId: str | None = None
# The index of the library part, as GetAvailableLibraryParts returns it.
# Indices may change when the libraries are reloaded.
index: int
Import from multiconn_archicad.models.tapir.types.
LibraryPartIdentifierByName ¶
Requires name.
# The index of the library part, as GetAvailableLibraryParts returns it.
# Indices may change when the libraries are reloaded.
index: int | None = None
# The full unique ID of the library part: main and revision GUID in the form
# '{MAIN-GUID}-{REVISION-GUID}', as GetLibraryPartDetails returns it.
unId: str | None = None
# The name of the library part, as GetAvailableLibraryParts returns it in
# documentName and GetDetailsOfElements in libPart.name.
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartIdentifierByUniqueId ¶
Requires unId.
# The index of the library part, as GetAvailableLibraryParts returns it.
# Indices may change when the libraries are reloaded.
index: int | None = None
# The name of the library part, as GetAvailableLibraryParts returns it in
# documentName and GetDetailsOfElements in libPart.name.
name: str | None = None
# The full unique ID of the library part: main and revision GUID in the form
# '{MAIN-GUID}-{REVISION-GUID}', as GetLibraryPartDetails returns it.
unId: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartIdentity ¶
# The path of the library part file.
path: str
# The unique ID of the library part, '{main GUID}-{revision GUID}'.
unId: str
# The main GUID of the unique ID. It stays the same across the revisions of a
# library part.
mainGuid: UUID | None = None
# The revision GUID of the unique ID. It changes whenever the library part is
# saved.
revisionGuid: UUID | None = None
# The reference GUID of the library part file. Missing when Archicad could not
# tell it.
refGuid: UUID | None = None
# The Teamwork lock status of the library part file. Missing when Archicad
# could not tell it.
lockStatus: LockStatus | None = None
# True when the library part is in a BIMcloud or Teamwork server library.
isServerLibraryPart: bool
Import from multiconn_archicad.models.tapir.types.
LibraryPartIndexAndPassword ¶
# The index of a loaded library part, as GetAvailableLibraryParts returns it.
index: int
# The password of a protected library part. Needed to read the size of its
# protected sections.
password: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartIndexOrPath ¶
# The index of a loaded library part, as GetAvailableLibraryParts returns it.
index: int | None = None
# The path of a library part file, for example a .gsm file.
path: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartKind ¶
Optional. Which library parts to find: all of them (default), GDL objects, images or text files, as selected by the Library Manager's own selectors.
ALL = 'All'
OBJECT = 'Object'
IMAGE = 'Image'
TEXT = 'Text'
Import from multiconn_archicad.models.tapir.types.
LibraryPartLibraryDetails ¶
The library containing the library part.
# The name of the library.
name: str | None = None
# The localized name of the library, when it has one. Archicad 29 or newer.
localizedName: str | None = None
# The location of the library.
path: str | None = None
# True if it is a Teamwork server library.
isServer: bool | None = None
# The path of the library on the Teamwork server. Only for server libraries.
twServerPath: str | None = None
# The URL of the Teamwork server. Only for server libraries.
twServerUrl: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartLocation ¶
displayName: str | None = None
path: str | None = None
isEmbedded: bool | None = None
isBuiltIn: bool | None = None
isPackage: bool | None = None
isLocal: bool | None = None
isMissing: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartLookupByIndex ¶
Requires index.
# The path of a library part file, for example a .gsm file.
path: str | None = None
# The index of a loaded library part, as GetAvailableLibraryParts returns it.
index: int
Import from multiconn_archicad.models.tapir.types.
LibraryPartLookupByPath ¶
Requires path.
# The index of a loaded library part, as GetAvailableLibraryParts returns it.
index: int | None = None
# The path of a library part file, for example a .gsm file.
path: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartMetadata ¶
The metadata to set. Only the fields given here are changed, the others are kept.
# The author of the library part.
author: str | None = None
# The keywords of the library part.
keywords: str | None = None
# The license of the library part.
license: str | None = None
# The version of the license.
licenseVersion: str | None = None
# The new password of the library part.
password: str | None = None
# Whether the library part can be placed in the project.
placeable: bool | None = None
# The UI Default flag of the library part.
uiDefault: bool | None = None
# Whether the library part is a subtype template.
isSubtype: bool | None = None
# Whether the library part uses hierarchical pages in its user interface.
hierarchicalPagesUsed: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryPartMetadataDetails ¶
# The description of the library part.
description: str
# The keywords of the library part as stored, usually a comma separated list
# used for searching.
keywords: str
# The author of the library part.
author: str
# True if the library part can be placed in the plan; false e.g. for macros.
isPlaceable: bool
# True if the library part is password protected and encrypted.
isPasswordProtected: bool
# True if the user interface of the library part uses hierarchical pages.
isHierarchicalPagesUsed: bool
Import from multiconn_archicad.models.tapir.types.
LibraryPartMetadataUpdate ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
metadata: LibraryPartMetadata
Import from multiconn_archicad.models.tapir.types.
LibraryPartName ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'Door 26.gsm').
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartNameIndexOrGuid ¶
LibraryPartNameIndexOrGuid: TypeAlias = (
LibraryPartByName
| LibraryPartByIndex
| LibraryPartByGuid
)
Import from multiconn_archicad.models.tapir.types.
LibraryPartNameOrGuid ¶
# File name of the library part with extension (the fileName
# GetAvailableLibraryParts returns). Fails when it is ambiguous.
name: str | None = None
# The guid GetAvailableLibraryParts returns.
guid: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartNameOrIndex ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts or the name field of
# FindLibraryParts (e.g. 'Door 26.gsm').
name: str | None = None
# The index of the library part, as returned by FindLibraryParts.
index: int | None = None
# Optional. The password of a password protected library part, used to read
# its scripts.
password: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartObjectDetails ¶
The detail flags of an Object, Lamp, Label or Room library part.
fixSize: bool
autoHotspot: bool
Import from multiconn_archicad.models.tapir.types.
LibraryPartObjectScriptAvailability ¶
The availability of the scripts of a library part.
interface: str | None = None
forwardMigration: str | None = None
backwardMigration: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartOriginalLocation ¶
# The path of the file the library part originally came from, e.g. before it
# was embedded into the project.
path: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterData ¶
A parameter of a new library part.
# The GDL variable name of the parameter (at most 31 characters).
name: str
type: LibraryPartParameterType
# Optional. The default value: a number for the numeric and attribute index
# types, a string for String and Title, true or false for Boolean, 'On' or
# 'Off' for LightSwitch.
value: float | str | bool | None = None
# Optional. The display name of the parameter in the settings dialog.
description: str | None = None
# Optional. When true, the parameter is hidden from the settings dialog. False
# by default.
isHidden: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartParametersUpdate ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm'). A name
# without extension, as GetGDLParametersOfLibraryParts takes it, is looked up
# as '<name>.gsm' when no file has that name. The library part must be
# editable, i.e. loaded from a writable file, not from a library package, a
# BIMcloud or read-only library. When Archicad does not let the loaded part be
# modified, as in a saved project, a part of a local library folder is changed
# in its file, and a part of the embedded library in a temporary copy that
# then replaces it, keeping its main GUID; the libraries are reloaded after
# the call. When a part of the same name is in more than one library, the one
# Archicad finds by that name is changed.
name: str
# The GDL parameters to change, by name, in the format
# SetGDLParametersOfElements uses. The parameters left out are not changed.
parameters: list[LibraryPartParameterUpdate]
# The new descriptions of all parameters of the library part, one for each
# parameter in the order of its parameter list. Defaults to the current
# descriptions.
descriptions: list[str] | None = None
# When true, the changed parameter list is merged into the parameters of the
# library part (MergeParameters of the Archicad API) instead of replacing them
# (SetParameters). Defaults to false.
merge: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterType ¶
The type of the parameter, named as GetGDLParametersOfElements reports it.
INTEGER = 'Integer'
LENGTH = 'Length'
ANGLE = 'Angle'
REAL_NUMBER = 'RealNumber'
LIGHT_SWITCH = 'LightSwitch'
RGB_COLOR = 'RGBColor'
INTENSITY = 'Intensity'
LINE_TYPE = 'LineType'
MATERIAL = 'Material'
FILL_PATTERN = 'FillPattern'
PEN_COLOR = 'PenColor'
STRING = 'String'
BOOLEAN = 'Boolean'
SEPARATOR = 'Separator'
TITLE = 'Title'
BUILDING_MATERIAL = 'BuildingMaterial'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterUpdate ¶
# The name of the parameter.
name: str
# The 1-based first index of the one item of an array parameter to change.
# Only with a single value.
index1: int | None = None
# The 1-based second index of the item to change, only together with index1.
# Defaults to 1.
index2: int | None = None
# The new value, in the format the parameter list was read in. For an array
# parameter without index1, a list of all of its items, flat (the first index
# outer) or as a list of rows; resizing an array is not supported.
value: Any
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterValue ¶
# The name of the parameter.
name: str
type: LibraryPartParameterValueType
# The 1st dimension of an array parameter.
dimension1: int | None = None
# The 2nd dimension of an array parameter, 1 for a one-dimensional array.
dimension2: int | None = None
# The default value of the parameter: a number, a boolean, a string, or 'On'
# or 'Off' for a LightSwitch. Angles are in radians. For an array parameter, a
# list of its dimension1 x dimension2 items, the first index outer.
value: Any
# The description of the parameter, the text shown for it in the settings
# dialog. Missing when Archicad gives no description for it.
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterValues ¶
# The name of the library part, as given.
name: str
# The parameters of the library part with their default values, in the format
# of GetGDLParametersOfElements. Separators, titles and dictionary parameters
# have no value here and are left out.
parameters: list[LibraryPartParameterValue]
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterValuesByName ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartParameterValueType ¶
The type of the parameter.
INTEGER = 'Integer'
LENGTH = 'Length'
ANGLE = 'Angle'
REAL_NUMBER = 'RealNumber'
LIGHT_SWITCH = 'LightSwitch'
RGB_COLOR = 'RGBColor'
INTENSITY = 'Intensity'
LINE_TYPE = 'LineType'
MATERIAL = 'Material'
FILL_PATTERN = 'FillPattern'
PEN_COLOR = 'PenColor'
STRING = 'String'
BOOLEAN = 'Boolean'
BUILDING_MATERIAL = 'BuildingMaterial'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.types.
LibraryPartPickerElementType ¶
Whose settings dialog to open: the Object, Lamp, Window or Door tool's.
OBJECT = 'Object'
LAMP = 'Lamp'
WINDOW = 'Window'
DOOR = 'Door'
Import from multiconn_archicad.models.tapir.types.
LibraryPartReadableScriptType ¶
MASTER = 'master'
PARAMETER = 'parameter'
FIELD_2D = '2d'
FIELD_3D = '3d'
PROPERTIES = 'properties'
Import from multiconn_archicad.models.tapir.types.
LibraryPartSaveLocationType ¶
Which Save Library Part dialog to open.
OBJECT = 'Object'
DOOR = 'Door'
WINDOW = 'Window'
Import from multiconn_archicad.models.tapir.types.
LibraryPartScript ¶
# Whether the library part has this script section.
present: bool
# The script text. Left out when the section is not present.
script: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptDataWithDeletions ¶
Requires deleteScripts.
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
scripts: LibraryPartScripts | None = None
# Optional. The script sections to delete from the library part. A script
# cannot be both set in scripts and deleted here.
deleteScripts: list[LibraryPartScriptType]
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptDataWithScripts ¶
Requires scripts.
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
# Optional. The script sections to delete from the library part. A script
# cannot be both set in scripts and deleted here.
deleteScripts: list[LibraryPartScriptType] | None = None
scripts: LibraryPartScripts
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptQueryByName ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
libraryPartName: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartScripts ¶
Optional. The scripts to set. Only the scripts given here are changed, the others are kept. An empty string makes that script section empty, it does not delete it; use deleteScripts for that.
# The master script.
master: str | None = None
# The parameter script.
parameter: str | None = None
# The 2D script.
field_2d: str | None = None
# The 3D script.
field_3d: str | None = None
# The properties script.
properties: str | None = None
# The interface (user interface) script.
interface: str | None = None
# The forward migration script.
forwardMigration: str | None = None
# The backward migration script.
backwardMigration: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptsByIndex ¶
Requires index.
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts or the name field of
# FindLibraryParts (e.g. 'Door 26.gsm').
name: str | None = None
# Optional. The password of a password protected library part, used to read
# its scripts.
password: str | None = None
# The index of the library part, as returned by FindLibraryParts.
index: int
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptsByName ¶
Requires name.
# The index of the library part, as returned by FindLibraryParts.
index: int | None = None
# Optional. The password of a password protected library part, used to read
# its scripts.
password: str | None = None
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts or the name field of
# FindLibraryParts (e.g. 'Door 26.gsm').
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptsDetails ¶
# The name of the library part file with its extension.
libraryPartName: str
# The unique ID of the library part, its main and revision GUID.
unID: str | None = None
# The requested scripts, by the keys used in the input.
scripts: dict[str, LibraryPartScript]
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptsUpdate ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
scripts: LibraryPartScripts | None = None
# Optional. The script sections to delete from the library part. A script
# cannot be both set in scripts and deleted here.
deleteScripts: list[LibraryPartScriptType] | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartScriptType ¶
MASTER = 'master'
PARAMETER = 'parameter'
FIELD_2D = '2d'
FIELD_3D = '3d'
PROPERTIES = 'properties'
INTERFACE = 'interface'
FORWARD_MIGRATION = 'forwardMigration'
BACKWARD_MIGRATION = 'backwardMigration'
Import from multiconn_archicad.models.tapir.types.
LibraryPartSearchResult ¶
# The index of the library part, as GetAvailableLibraryParts returns it.
index: int
# The name of the library part.
name: str
# The file name of the library part.
fileName: str | None = None
# The unique ID of the library part, '{main GUID}-{revision GUID}'.
unId: str
# The unique ID of the parent of the library part.
parentUnId: str | None = None
typeId: LibraryPartType | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartSection ¶
A section read from a library part.
# The four-character code of the section type, as GetLibraryPartSection takes
# it.
sectionType: str
# The sub-identifier that tells apart sections of the same type.
subIdent: int
# The size of the section content in bytes. Missing when Archicad could not
# read the section, for example a protected one without its password.
size: int | None = None
# True when Archicad returns the section as text (scripts, comments), which
# GetLibraryPartSection reads. Binary sections, such as previews, are only
# listed. Missing when Archicad could not read the section.
isText: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryPartSections ¶
# The index of the library part.
index: int
# The sections of the library part, in the order Archicad lists them.
sections: list[LibraryPartSection]
Import from multiconn_archicad.models.tapir.types.
LibraryPartSectionUpdate ¶
A library part section to write or remove.
type: LibraryPartSectionUpdateType
# The secondary identifier of the section, for a library part with more
# sections of the same type. Default value is 0.
subIdent: int | None = None
# The new content of the section.
text: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartSectionUpdateType ¶
The type of the text section.
MASTER_SCRIPT = 'MasterScript'
FIELD_2_D_SCRIPT = '2DScript'
FIELD_3_D_SCRIPT = '3DScript'
PARAMETER_SCRIPT = 'ParameterScript'
UI_SCRIPT = 'UIScript'
COMMENT = 'Comment'
KEYWORDS = 'Keywords'
COPYRIGHT = 'Copyright'
Import from multiconn_archicad.models.tapir.types.
LibraryPartStoredGDLParameter ¶
A stored default GDL parameter of a library part.
# The name of the parameter.
name: str
# The display name (description) of the parameter.
displayName: str
# The index of the parameter.
index: int
# The type of the parameter.
type: str
# The 1st dimension of array (in case of array value).
dimension1: int | None = None
# The 2nd dimension of array (in case of array value).
dimension2: int | None = None
# The default value of the parameter. An array value is a flat list of
# dimension1 x dimension2 items, as GetGDLParametersOfElements returns it.
# Absent for a Dictionary parameter.
value: Any | None = None
# The value description for numeric parameter.
valueDescription: str | None = None
# Per-item text labels for an array-type parameter, one per array element in
# dim1xdim2 order. Only present when the library part defines them.
itemDescriptions: list[str] | None = None
# The flags of the parameter.
flags: list[Flag]
Import from multiconn_archicad.models.tapir.types.
LibraryPartSubtype ¶
Narrows elementType or elementTypeNot to a library part subtype of the tool, as the criteria editor stores it: the subtype's main and revision guid. GetGraphicOverrideRules returns it for the tools it decodes.
mainGuid: str
revGuid: str
Import from multiconn_archicad.models.tapir.types.
LibraryPartSubtypeCheck ¶
The result of checking a library part against a subtype.
# The full unique ID of the checked library part.
unId: str
# True if the ancestor is anywhere up the subtype hierarchy of the library
# part. False for the ancestor itself: a library part is not a subtype of
# itself.
isSubtypeOf: bool
Import from multiconn_archicad.models.tapir.types.
LibraryPartTransformation ¶
The transformation chain of the library part instance: placement at location, rotation by angle, then scaling by xRatio and yRatio in the rotated coordinate system.
# The location of the referenced library part on the floor plan.
location: Coordinate2D
# The rotation angle in radians.
angle: float
# The scaling along the rotated x axis.
xRatio: float
# The scaling along the rotated y axis.
yRatio: float
Import from multiconn_archicad.models.tapir.types.
LibraryPartType ¶
Enumeration of available library part types. 'Unknown' is the schema-valid catch-all returned for any libpart whose typeID is not one of the named values (rare ACAPI sentinels and any future SDK subtype).
SPEC = 'Spec'
WINDOW = 'Window'
DOOR = 'Door'
OBJECT = 'Object'
LAMP = 'Lamp'
ROOM = 'Room'
PROPERTY = 'Property'
PLAN_SIGN = 'PlanSign'
LABEL = 'Label'
MACRO = 'Macro'
PICT = 'Pict'
PICTURE = 'Picture'
LIST_SCHEME = 'ListScheme'
SKYLIGHT = 'Skylight'
OPENING_SYMBOL = 'OpeningSymbol'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
LibraryPartTypeDetails ¶
# The current index of the library part. It may change when the libraries are
# reloaded.
index: int
# The name of the library part.
name: str
# The file name of the library part.
fileName: str
# The full unique ID (main and revision GUID) of the library part.
unId: str
# The full unique ID of the direct parent subtype of the library part.
parentUnId: str
typeId: LibraryPartType
isPlaceable: bool
isTemplate: bool
objectDetails: LibraryPartObjectDetails | None = None
doorWindowDetails: LibraryPartDoorWindowDetails | None = None
# The type of the element the library part is placed as (its creator tool).
# Missing when Archicad does not report one.
creatorElementType: ElementType | None = None
# The four character variation ID of the creator tool, when it is not the
# generic variation.
creatorVariation: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LibraryRemovalByName ¶
Requires name.
# The absolute path of the library, as returned by GetLibraries.
path: str | None = None
# The name of the library, as returned by GetLibraries.
name: str
Import from multiconn_archicad.models.tapir.types.
LibraryRemovalByPath ¶
Requires path.
# The name of the library, as returned by GetLibraries.
name: str | None = None
# The absolute path of the library, as returned by GetLibraries.
path: str
Import from multiconn_archicad.models.tapir.types.
LibraryToRemove ¶
# The name of the library, as returned by GetLibraries.
name: str | None = None
# The absolute path of the library, as returned by GetLibraries.
path: str | None = None
Import from multiconn_archicad.models.tapir.types.
LibraryTreePath ¶
The place of the library part in the library tree.
# The names along the path, from the root.
parts: list[str]
# The last name of the path.
lastPart: str
# True if the path is the root of the library tree.
isRoot: bool
# The names along the path of the parent, from the root. Omitted for the root.
parentParts: list[str] | None = None
# The Teamwork identifier of the path. Omitted when Archicad has none for it,
# e.g. outside Teamwork.
teamworkId: str | None = None
Import from multiconn_archicad.models.tapir.types.
LicenseFlag ¶
SITE = 'Site'
NOT_FOR_RESALE = 'NotForResale'
SCHOOL = 'School'
PAY_PER_USE = 'PayPerUse'
NETWORK = 'Network'
TEAMWORK = 'Teamwork'
EDUCATION = 'Education'
START = 'Start'
SOLO = 'Solo'
LIVE_SUBSCRIPTION = 'LiveSubscription'
OEM = 'OEM'
SSA = 'SSA'
EDUCATION_WITHOUT_KEY = 'EducationWithoutKey'
DEMO = 'Demo'
TRIAL = 'Trial'
BI_MCLOUD_TEAM_CLIENT = 'BIMcloudTeamClient'
Import from multiconn_archicad.models.tapir.types.
LicenseType ¶
The kind of license Archicad runs on, read from protectionMode: Trial, Demo, Education (an education license with or without a key), BIMcloudTeamClient, Start (the Start edition), otherwise Full.
FULL = 'Full'
EDUCATION = 'Education'
TRIAL = 'Trial'
DEMO = 'Demo'
START = 'Start'
BI_MCLOUD_TEAM_CLIENT = 'BIMcloudTeamClient'
Import from multiconn_archicad.models.tapir.types.
Line ¶
The split line in project coordinates: the infinite line through begin and end, as the split line of Archicad's Split command.
begin: Coordinate2D
end: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
LineArrowhead ¶
An arrowhead at one end of a Line, Polyline, Arc or Spline. Archicad 29 and later keep a separate type, size and pen for each end (ends given a different size or pen are unlinked, unless linkedArrowAttributes is given; see LinkedArrowAttributes). Before Archicad 29 both ends share one type, size and pen: a value given for one end applies to both, two ends given different values are refused, and both ends read back the same type, size and pen.
# Is the arrowhead shown? When the object is given without it, the arrowhead
# is shown.
visible: bool | None = None
type: LineArrowheadType | None = None
# The arrowhead size in mm.
size: float | None = None
# The pen index of the arrowhead.
pen: int | None = None
Import from multiconn_archicad.models.tapir.types.
LineArrowheadType ¶
The arrowhead type: circles, slash lines, open, closed (outline) and full (filled) arrows of 15, 30, 45, 60 or 90 degrees, the pepita circle, BandArrow (the double line) and the half arrows (harpoons; Ccw: barb up, Cw: barb down).
EMPTY_CIRCLE = 'EmptyCircle'
CROSS_CIRCLE = 'CrossCircle'
FULL_CIRCLE = 'FullCircle'
SLASH_LINE15 = 'SlashLine15'
OPEN_ARROW15 = 'OpenArrow15'
CLOSED_ARROW15 = 'ClosedArrow15'
FULL_ARROW15 = 'FullArrow15'
SLASH_LINE30 = 'SlashLine30'
OPEN_ARROW30 = 'OpenArrow30'
CLOSED_ARROW30 = 'ClosedArrow30'
FULL_ARROW30 = 'FullArrow30'
SLASH_LINE45 = 'SlashLine45'
OPEN_ARROW45 = 'OpenArrow45'
CLOSED_ARROW45 = 'ClosedArrow45'
FULL_ARROW45 = 'FullArrow45'
SLASH_LINE60 = 'SlashLine60'
OPEN_ARROW60 = 'OpenArrow60'
CLOSED_ARROW60 = 'ClosedArrow60'
FULL_ARROW60 = 'FullArrow60'
SLASH_LINE90 = 'SlashLine90'
PEPITA_CIRCLE = 'PepitaCircle'
BAND_ARROW = 'BandArrow'
HALF_ARROW_CCW15 = 'HalfArrowCcw15'
HALF_ARROW_CW15 = 'HalfArrowCw15'
HALF_ARROW_CCW30 = 'HalfArrowCcw30'
HALF_ARROW_CW30 = 'HalfArrowCw30'
HALF_ARROW_CCW45 = 'HalfArrowCcw45'
HALF_ARROW_CW45 = 'HalfArrowCw45'
HALF_ARROW_CCW60 = 'HalfArrowCcw60'
HALF_ARROW_CW60 = 'HalfArrowCw60'
SLASH_LINE75 = 'SlashLine75'
Import from multiconn_archicad.models.tapir.types.
LineAttribute ¶
A line attribute.
attributeId: AttributeId
index: int
name: str
scaleWithPlan: bool | None = None
defineScale: float | None = None
lineType: LineType | None = None
period: float | None = None
height: float | None = None
dashItems: list[LineDashItem] | None = None
lineItems: list[LineSymbolItem] | None = None
Import from multiconn_archicad.models.tapir.types.
LineAttributeField ¶
SCALE_WITH_PLAN = 'scaleWithPlan'
DEFINE_SCALE = 'defineScale'
LINE_TYPE = 'lineType'
PERIOD = 'period'
HEIGHT = 'height'
DASH_ITEMS = 'dashItems'
LINE_ITEMS = 'lineItems'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
LineDashItem ¶
# Length of the visible part of the item.
dash: float
# Length of the invisible part of the item.
gap: float
Import from multiconn_archicad.models.tapir.types.
LineData ¶
Data to create a Line.
# Indentifier of the existing Line to overwrite, ignored if overwriteExisting
# is false.
attributeId: AttributeId | None = None
# Index of the existing Line to overwrite, ignored if overwriteExisting is
# false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Line with the given
# name will be overwritten. It must not be empty.
name: str
# If true, the line type parameters are defined in meters at the given
# defineScale and scale on printout with the actual plan scale. If false
# (default), the parameters are fixed values in millimeters as the line will
# appear on the printout.
scaleWithPlan: bool | None = None
# The floor plan scale the line type is defined with. Only used if
# scaleWithPlan is true.
defineScale: float | None = None
# Solid, Dashed, or Symbol. Defaults to Solid.
lineType: str | None = None
# The length of one period (Dashed and Symbol line types).
period: float | None = None
# The height of the symbol line (Symbol line type only).
height: float | None = None
# Dash-gap pairs describing one period (Dashed line type only).
dashItems: list[LineDashItem] | None = None
# Symbol items describing one period (Symbol line type only).
lineItems: list[LineSymbolItemData] | None = None
Import from multiconn_archicad.models.tapir.types.
LineDetails ¶
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
# Is this a zone boundary line?
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# The arrowhead at the start.
startArrow: LineArrowhead | None = None
# The arrowhead at the end.
endArrow: LineArrowhead | None = None
# Are the size and pen of the two arrowheads linked? Only present from
# Archicad 29.
linkedArrowAttributes: bool | None = None
zCoordinate: float
Import from multiconn_archicad.models.tapir.types.
LineElementData ¶
The parameters of the new Line.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new line. Lines have no Element ID in Archicad
# 29: Archicad refuses it with error -2130313103 (APIERR_BADELEMENTTYPE,
# element has no info string), and the item then answers with that error and
# creates no line. Leave it out unless your Archicad version keeps it
# (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the line on. Optional parameter, by default
# the current layer is used.
layerIndex: int | None = None
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads. By default the tool's (or the favorite's) setting is kept, and
# ends given a different size or pen are unlinked.
linkedArrowAttributes: bool | None = None
# Is this a zone boundary line? Optional, defaults to false.
roomSeparator: bool | None = None
# Optional pen index. By default the current pen is used.
linePenIndex: int | None = None
# Optional line type attribute. By default the current line type is used.
lineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
LineSettings ¶
Settings for modifying a Line.
begCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; only the keys given are changed.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; only the keys given are changed.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads.
linkedArrowAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LineSymbolItem ¶
itemType: str
centerOffset: float
length: float
begPos: Coordinate2D
endPos: Coordinate2D
radius: float
beginAngle: float
endAngle: float
Import from multiconn_archicad.models.tapir.types.
LineSymbolItemData ¶
# Separator, CenterDot, CenterLine, Dot, RightAngle, Parallel, Line, Circle,
# or Arc.
itemType: str
# Vertical distance from the origin. Used for Separator, CenterDot, and
# CenterLine item types.
centerOffset: float | None = None
# Length of the item. Used for CenterLine, RightAngle, and Parallel item
# types.
length: float | None = None
# Beginning position. Used for Dot, RightAngle, Parallel, Line, Circle, and
# Arc item types.
begPos: Coordinate2D | None = None
# End position. Used for Line item type only.
endPos: Coordinate2D | None = None
# Radius. Used for Circle and Arc item types.
radius: float | None = None
# Beginning angle in radians, measured from the vertical axis. Used for Arc
# item type only.
beginAngle: float | None = None
# End angle in radians, measured from the vertical axis. Used for Arc item
# type only.
endAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
LineType ¶
SOLID = 'Solid'
DASHED = 'Dashed'
SYMBOL = 'Symbol'
Import from multiconn_archicad.models.tapir.types.
LinkData ¶
The marker link data
# Guid of the referred view. Only if the marker refers to a view.
referredView: ElementId | None = None
# Guid of the referred drawing. Only if the marker refers to a drawing.
referredDrawing: ElementId | None = None
# Guid of the referred view point. Only if the marker refers to a view point.
referredPMViewPoint: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
LinkedPropertyObjectsByElement ¶
elementId: ElementId
# Link the property objects matching their criteria to the element.
linkByCriteria: bool | None = None
# The index of the library part of the property object to assign to the
# element individually, the same as the index returned by
# GetAvailableLibraryParts. 0 removes the individually assigned property
# object.
individualLibraryPartIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
LinkedPropertyObjectsByToolDefault ¶
# Set the links of the element defaults of this type instead of an element.
elementType: ElementType
# Link the property objects matching their criteria to the element defaults.
linkByCriteria: bool | None = None
# The index of the library part of the property object to assign to the
# element defaults individually, the same as the index returned by
# GetAvailableLibraryParts. 0 removes the individually assigned property
# object.
individualLibraryPartIndex: int | None = None
Import from multiconn_archicad.models.tapir.commands.
LinkElementsParameters ¶
# The links to create, each from one element to another.
links: list[ElementLinkData]
Import from multiconn_archicad.models.tapir.commands.
LinkElementsResult ¶
# One result per link, aligned with the input.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
LinkToSettings ¶
Mode of linking an element to its home story.
# Difference of the home story from the current story.
homeStoryDifference: int | None = None
# Controls home-story selection during element creation. If true,
# homeStoryDifference selects the home story relative to the current story and
# the element's absolute floor index is ignored. If false, the absolute floor
# index is used and Archicad fills homeStoryDifference. This is a creation
# instruction, not a persistent linking mode.
newCreationMode: bool | None = None
Import from multiconn_archicad.models.tapir.types.
LockableObjectSetStatus ¶
Free: nobody has reserved it. Editable: the current user has reserved it. Locked: another user has reserved it (see conflicts). NotAvailable: the Teamwork server is offline or not available. NotExist: there is no Teamwork connection, for example the project is not a Teamwork project. An unknown object set name is reported as an error, not as a status.
FREE = 'Free'
EDITABLE = 'Editable'
LOCKED = 'Locked'
NOT_AVAILABLE = 'NotAvailable'
NOT_EXIST = 'NotExist'
Import from multiconn_archicad.models.tapir.commands.
LockElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
LockElementsResult ¶
LockElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
LockStatus ¶
The Teamwork lock status of the library part file. Missing when Archicad could not tell it.
FREE = 'Free'
EDITABLE = 'Editable'
LOCKED = 'Locked'
NOT_AVAILABLE = 'NotAvailable'
NOT_EXIST = 'NotExist'
Import from multiconn_archicad.models.tapir.types.
LowCeilingAreaReduction ¶
Up to three ceiling height limits split a zone into height ranges; the area of each range is reduced by its own percent in the calculated area of the zone.
# How many of the three height limits are in use: 0 (no reduction) to 3.
activeHeightLimits: int
# The three height limits, each with the reduction of the area under it (and
# above the previous limit); the first activeHeightLimits of them are in use.
# In SetProjectPreferences the given items change the limits of the same
# index.
heightLimits: list[ZoneHeightLimit]
# The reduction of the area above the highest height limit, in percent.
reductionPercentAboveHeightLimits: float
Import from multiconn_archicad.models.tapir.types.
LowCeilingAreaReductionUpdate ¶
Up to three ceiling height limits split a zone into height ranges; the area of each range is reduced by its own percent in the calculated area of the zone.
# How many of the three height limits are in use: 0 (no reduction) to 3.
activeHeightLimits: int | None = None
# The three height limits, each with the reduction of the area under it (and
# above the previous limit); the first activeHeightLimits of them are in use.
# In SetProjectPreferences the given items change the limits of the same
# index.
heightLimits: list[ZoneHeightLimitUpdate] | None = None
# The reduction of the area above the highest height limit, in percent.
reductionPercentAboveHeightLimits: float | None = None
M¶
Import from multiconn_archicad.models.tapir.commands.
MakePropertyAvailableForElementsParameters ¶
# The elements to make the property available for.
elements: list[ElementIdArrayItem]
propertyId: PropertyId
Import from multiconn_archicad.models.tapir.commands.
MakePropertyAvailableForElementsResult ¶
MakePropertyAvailableForElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
MakePropertyUnavailableForElementsParameters ¶
# The elements to make the property unavailable for.
elements: list[ElementIdArrayItem]
propertyId: PropertyId
Import from multiconn_archicad.models.tapir.commands.
MakePropertyUnavailableForElementsResult ¶
MakePropertyUnavailableForElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ManualZoneGeometry ¶
Manual zone placement.
# The 2D coordinates of the edge of the zone.
polygonCoordinates: list[Coordinate2D]
# Polygon outline arcs of the zone.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
Import from multiconn_archicad.models.tapir.types.
MappedBy ¶
name: an attribute of the open project with the same name. index: the attribute of the open project with the same index (referencesByIndex). none: not mapped, so the attribute was not imported.
NAME = 'name'
INDEX = 'index'
NONE = 'none'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
MarkerParametersOfElement ¶
# The library part of the marker. Absent when it could not be read.
libPart: LibPartDetails | None = None
# The GDL parameters of the marker.
parameters: list[StoredGDLParameter]
Import from multiconn_archicad.models.tapir.types.
MarkerParameterUpdate ¶
MarkerParameterUpdate: TypeAlias = (
MarkerParameterUpdateByName
| MarkerParameterUpdateByIndex
)
Import from multiconn_archicad.models.tapir.types.
MarkerParameterUpdateByIndex ¶
# The index of the marker parameter, as GetMarkerParametersOfElements reports
# it.
index: int
# The new value of the marker parameter, see the value given with a name.
value: Any
Import from multiconn_archicad.models.tapir.types.
MarkerParameterUpdateByName ¶
# The name of the marker parameter.
name: str
# The new value of the marker parameter: a number for the numeric types
# (Integer, Length, Angle, RealNumber, PenColor, LineType, Material,
# FillPattern, BuildingMaterial, Profile, RGBColor, Intensity), a string for
# String and Title, true/false for Boolean and 'On'/'Off' for LightSwitch.
# Array parameters are not supported.
value: Any
Import from multiconn_archicad.models.tapir.types.
MarkerShowType ¶
Show side (wing) markers or a single middle marker.
MIDDLE_MARKER = 'MiddleMarker'
WING_MARKERS = 'WingMarkers'
Import from multiconn_archicad.models.tapir.types.
MarqueeType ¶
The shape of the marquee in the current window, or 'none' when there is no marquee.
NONE = 'none'
RECTANGLE = 'rectangle'
ROTATED_RECTANGLE = 'rotatedRectangle'
POLYGON = 'polygon'
Import from multiconn_archicad.models.tapir.types.
Match ¶
How the name matches. exact: the same characters. normalized: the same except for case, accents, spacing and separators (FireRating, fire_rating, Fire Rating). words: every word of one is a word of the other, or at least half of their words are shared. contains: one contains the other. similar: a few characters differ.
EXACT = 'exact'
NORMALIZED = 'normalized'
WORDS = 'words'
CONTAINS = 'contains'
SIMILAR = 'similar'
Import from multiconn_archicad.models.tapir.commands.
MeasureTextsParameters ¶
# The texts to measure, each with the font, style and height it would be
# placed with. Nothing is created.
texts: list[TextMeasurementData]
Import from multiconn_archicad.models.tapir.commands.
MeasureTextsResult ¶
# One item per input text, in the same order. The measurement takes no width
# factor or character spacing into account.
measurements: list[TextMeasurement | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
MEPAddedPreferenceTableId ¶
guid: str
Import from multiconn_archicad.models.tapir.types.
MEPAngleDetails ¶
angle: float
# Whether the angle is defined in the set.
isDefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPAngleSet ¶
The angles (in degrees) that the elbow and branch preference tables of a domain can use.
name: str
# Whether the set can be edited.
isEditable: bool | None = None
angles: list[float]
# The angles of the set in the same order as angles, each with whether it is
# defined.
angleDetails: list[MEPAngleDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPBranchPreferenceTable ¶
guid: str
name: str
# Whether the table can be edited.
isEditable: bool | None = None
rows: list[MEPBranchPreferenceTableRow]
Import from multiconn_archicad.models.tapir.types.
MEPBranchPreferenceTableRow ¶
A row of an MEP branch preference table.
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int | None = None
mainAxisReferenceId: int
branchAxisReferenceId: int
# In degrees. Available from Archicad 29.
branchAxisAngle: float | None = None
mainAxisDiameter: float
branchAxisDiameter: float
length: float
branchOffset: float
connectionLength: float
description: str | None = None
# Whether the row is valid.
isValid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPComponentType ¶
TERMINAL = 'Terminal'
ACCESSORY = 'Accessory'
EQUIPMENT = 'Equipment'
FITTING = 'Fitting'
Import from multiconn_archicad.models.tapir.types.
MEPConnectionData ¶
# The routing element to connect to. When connecting two routes, the first or
# last node of the 'connectToId' route must lie exactly on this route (on its
# centerline, not within a tolerance). To merge two routes end to end, an end
# node of the 'connectToId' route that lies within 1e-6 m of an end node of
# this route is first moved exactly onto it, since read-back coordinates are
# rounded to 9 decimals and so cannot be copied exactly; without it Archicad
# split this route into a zero-length piece and added a tee. For a tee, this
# is the main route, which is split and gets the branch element.
routingElementId: ElementId
# The MEP element or routing element connected to 'routingElementId'. For a
# tee, this is the branch route, whose first or last node lies on the main
# route. Two routes must have the same domain and MEP system; an MEP element's
# port must match the route in domain and MEP system, lie on its first or last
# node and point in the opposite direction.
connectToId: ElementId
Import from multiconn_archicad.models.tapir.types.
MEPConnectionResult ¶
The result of connecting an MEP routing element: the routing element deleted by merging, the routing element created by splitting and the branch element created by the connection. Empty in Archicad 27, which does not report them.
Import from multiconn_archicad.models.tapir.types.
MEPConnectionResultOrError ¶
MEPConnectionResultOrError: TypeAlias = (
MEPConnectionResult | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPConnectionStyle ¶
How the pieces of an MEP routing segment, or an MEP port, are connected. For pipes, the settings dialog of Archicad 29 shows SimpleBody as Welded, and Welded is refused on a pipe route.
SIMPLE_BODY = 'SimpleBody'
FLANGED = 'Flanged'
WELDED = 'Welded'
Import from multiconn_archicad.models.tapir.types.
MEPCrossSectionShape ¶
Shape of an MEP routing segment's cross section or of an MEP port.
RECTANGULAR = 'Rectangular'
CIRCULAR = 'Circular'
OVAL = 'Oval'
U_SHAPE = 'UShape'
Import from multiconn_archicad.models.tapir.types.
MEPCutPlanePosition ¶
Where the floor plan cut plane of an MEP routing element is. Available from Archicad 29.
AT_UPPER_DISPLAY_LIMIT = 'AtUpperDisplayLimit'
BY_VIEW_SETTINGS = 'ByViewSettings'
Import from multiconn_archicad.models.tapir.types.
MEPDistributionSystem ¶
domain: MEPDomainOrUnknown
mepSystemId: AttributeId | None = None
# A list of elements.
elements: list[ElementIdArrayItem]
# The physical systems of the distribution system. From Archicad 29; missing
# when Archicad could not tell.
physicalSystemIds: list[MEPPhysicalSystemId] | None = None
# The elements of the system from its root element on, in the order Archicad
# traverses them. Only returned when includeTree is true, and missing when
# Archicad could not traverse the system.
tree: list[MEPDistributionSystemTreeNode] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPDistributionSystemTreeNode ¶
An element of a distribution system tree.
elementId: ElementId
# The number of steps from the root element; 0 for the root element.
depth: int
# The element before this one on the way from the root element. Missing for
# the root element.
previousElementId: ElementId | None = None
# The port of the previous element this element is connected to (see
# GetMEPPorts). Missing when Archicad gives none.
connectedPortIdOfPreviousElement: str | None = None
# The port of this element that is connected to the previous element (see
# GetMEPPorts). Missing when Archicad gives none.
connectedPortIdOfThisElement: str | None = None
# The elements after this one, away from the root element.
nextElements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
MEPDomain ¶
The MEP domain.
VENTILATION = 'Ventilation'
PIPING = 'Piping'
CABLE_CARRIER = 'CableCarrier'
Import from multiconn_archicad.models.tapir.types.
MEPDomainOrUnknown ¶
The reported MEP domain. Unknown indicates that the domain could not be determined.
VENTILATION = 'Ventilation'
PIPING = 'Piping'
CABLE_CARRIER = 'CableCarrier'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
MEPDomainToolDefaults ¶
The current settings of the MEP tools of one domain. A tool whose default Archicad does not give for the domain is left out; a setting is left out where the Archicad version does not have it.
domain: MEPDomain
# The routing tool default.
routingElement: RoutingElement | None = None
# The rigid segment default of the routing tool.
rigidSegment: RigidSegment | None = None
# The branch default of the routing tool.
branch: MEPElementDefaultDetails | None = None
# The flexible segment tool default. Archicad 27 has it in the Ventilation
# domain only.
flexibleSegment: FlexibleSegment | None = None
terminal: MEPElementDefaultDetails | None = None
accessory: MEPElementDefaultDetails | None = None
fitting: MEPElementDefaultDetails | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElbowDefaults ¶
# The guid of an elbow preference table of the domain (see
# GetMEPPreferenceTables with includeFittingTables).
preferenceTableId: UUID | None = None
# The radius factor of the elbows placed at the nodes.
factorRadius: float | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElbowParameters ¶
Elbow parameters. Archicad 29 or newer.
factorRadius: float | None = None
# An elbow preference table, as returned by GetMEPPreferenceTables.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElbowPreferenceTable ¶
guid: str
name: str
# Whether the table can be edited.
isEditable: bool | None = None
rows: list[MEPElbowPreferenceTableRow]
Import from multiconn_archicad.models.tapir.types.
MEPElbowPreferenceTableRow ¶
A row of an MEP elbow preference table.
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int | None = None
referenceId: int
# In degrees. Available from Archicad 29.
angle: float | None = None
diameter: float
radius: float
description: str | None = None
# Whether the row is valid.
isValid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElement ¶
elementId: ElementId
# The type of the MEP element.
type: MEPElementType
# The MEP domain of the element. Empty for domain-independent elements (e.g.
# Equipment).
domain: str
# The type name of the element in the language of Archicad. Only returned by
# Archicad 28.
localizedTypeName: str | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElementData ¶
type: MEPComponentType
# Required for all types except Equipment. For Equipment it only selects the
# ports that mepSystemId is applied to.
domain: MEPDomain | None = None
position: Coordinate3D
# Optional library part to place instead of the one in the tool's settings, as
# listed by GetAvailableLibraryParts. Its ports replace the default ones, so
# 'ports' refers to the ports of this library part. Its ports keep the MEP
# system of the library part, which may be none, so give 'mepSystemId' with it
# to connect it. If it is not found, the item fails and nothing is placed.
libraryPartId: LibPartUnId | None = None
# Optional size along the local x axis in meters. Available from Archicad 30.
# Some library parts calculate their own size and keep it.
xSize: float | None = None
# Optional size along the local y axis in meters. Available from Archicad 30.
# Some library parts calculate their own size and keep it.
ySize: float | None = None
# Optional MEP system of the ports of the element's domain (of every port when
# an Equipment item has no domain). The 'mepSystemId' of an entry of 'ports'
# overrides it for that port.
mepSystemId: AttributeId | None = None
# Optional changes to single ports of the element before it is placed. The
# values are in meters.
ports: list[MEPPortCreationData] | None = None
# Optional direction vector of the orientation. Defaults to (1, 0, 0).
orientationDirection: Coordinate3D | None = None
# Optional rotation vector of the orientation. Defaults to (0, 1, 0).
orientationRotation: Coordinate3D | None = None
# Optional home story index (as returned by GetStories). The position stays
# absolute: the element is placed at it, then moved to this home story.
# Without it, Archicad picks the home story, which follows the active story. A
# story that does not exist gives an error for the item, and nothing is
# placed.
floorIndex: int | None = None
defaults: MEPElementDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElementDefaultDetails ¶
The settings of a terminal, accessory, fitting, equipment or branch tool default.
# The library part the tool places.
libraryPartId: LibPartUnId
# The insulation thickness, when the default has insulation.
insulationThickness: float | None = None
ports: list[MEPPortDefaultDetails]
Import from multiconn_archicad.models.tapir.types.
MEPElementDefaults ¶
Optional changes to the tool default before the element is placed. Only what is placed changes, not the tool's settings. A value that cannot be set gives an error for the item, and nothing is placed.
# The insulation thickness in meters.
insulationThickness: float | None = None
# If true, the element is placed without insulation. Cannot be combined with
# insulationThickness.
removeInsulation: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElementDetails ¶
elementId: ElementId
type: MEPElementType
# The MEP domain (Ventilation, Piping or CableCarrier), empty if the element
# has none.
domain: str
# The insulation thickness. RigidSegment, Elbow, Branch and Transition.
insulationThickness: float | None = None
# The routing segment the rigid segment belongs to (see
# GetMEPRoutingElements). RigidSegment.
routingSegmentId: ElementId | None = None
# The routing node the elbow or transition belongs to (see
# GetMEPRoutingElements). Elbow and Transition.
routingNodeId: ElementId | None = None
# The control points of the flexible segment. FlexibleSegment.
controlPoints: list[Coordinate3D] | None = None
# The line and spline parts of the flexible segment, when Archicad gives them
# (a flexible segment placed as a polyline, see CreateMEPFlexibleSegments).
# FlexibleSegment.
polyline: list[MEPFlexibleSegmentPolylinePart] | None = None
# The radius factor of the elbow (Elbow::GetFactorRadius). Elbow, from
# Archicad 29.
factorRadius: float | None = None
# The guid of the elbow or transition preference table (see
# GetMEPPreferenceTables). Elbow and Transition, from Archicad 29.
preferenceTableId: UUID | None = None
# The angle of the branch, as returned by Branch::GetBranchAngle. Branch.
branchAngle: float | None = None
# The length of the branch. Branch.
branchLength: float | None = None
# The Y offset of the transition (Transition::GetOffsetY). Transition.
offsetY: float | None = None
# The Z offset of the transition (Transition::GetOffsetZ). Transition.
offsetZ: float | None = None
# The port at the wider end of the transition (see GetMEPPorts). Transition.
widerPortId: UUID | None = None
# The port at the narrower end of the transition (see GetMEPPorts).
# Transition.
narrowerPortId: UUID | None = None
# Whether the transition is controlled by its preference table. Transition,
# from Archicad 29.
isControlledByPreference: bool | None = None
# The width of the flexible segment (FlexibleSegment::GetWidth), as
# ModifyMEPElements writes it. FlexibleSegment.
width: float | None = None
# The height of the flexible segment (FlexibleSegment::GetHeight), as
# ModifyMEPElements writes it. FlexibleSegment.
height: float | None = None
# The anchor point, as ModifyMEPElements writes it. The elements
# ModifyMEPElements can place: Terminal, Accessory, Equipment, Fitting,
# FlexibleSegment and the other modifiable MEP elements.
anchorPoint: Coordinate3D | None = None
# The orientation, as ModifyMEPElements writes it. Present with anchorPoint.
orientation: MEPOrientation | None = None
# The library part the element uses (its main guid), as ModifyMEPElements
# writes it. Present with anchorPoint.
libraryPartId: LibPartUnId | None = None
# The size of the library part along the element's local x axis in meters, as
# ModifyMEPElements writes it. Present with anchorPoint, from Archicad 30.
xSize: float | None = None
# The size of the library part along the element's local y axis in meters, as
# ModifyMEPElements writes it. Present with anchorPoint, from Archicad 30.
ySize: float | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElementModificationData ¶
elementId: ElementId
# The new anchor point of a terminal, accessory, equipment, fitting or
# flexible segment.
anchorPoint: Coordinate3D | None = None
# The new orientation of a terminal, accessory, equipment, fitting or flexible
# segment.
orientation: MEPOrientation | None = None
# The library part a terminal, accessory, equipment or fitting uses, as listed
# by GetAvailableLibraryParts. If it is not found, the element keeps its
# library part and the item fails.
libraryPartId: LibPartUnId | None = None
# The new control points of a flexible segment, from its beginning to its end.
# Not together with 'polyline'.
controlPoints: list[Coordinate3D] | None = None
# The new geometry of a Piping flexible segment as alternating line and spline
# parts that connect at their ends. Not together with 'controlPoints'.
# Available from Archicad 28.
polyline: list[MEPFlexibleSegmentPolylinePart] | None = None
# The new width of a flexible segment. It is written before height: on
# Archicad 29 a Ventilation flexible duct of the template then read the height
# given in the same item as its width too (probably a round duct, whose width
# and height are one diameter), so give such a duct one of them.
width: float | None = None
# The new height of a flexible segment, written after width.
height: float | None = None
# The new size of a terminal, accessory, equipment or fitting along its local
# x axis, in meters. Some library parts calculate their own size and keep it,
# then the item fails after its other changes were made. The size of its
# connections is set with ModifyMEPPorts. Available from Archicad 30.
xSize: float | None = None
# The new size of a terminal, accessory, equipment or fitting along its local
# y axis, in meters. Some library parts calculate their own size and keep it,
# then the item fails after its other changes were made. Available from
# Archicad 30.
ySize: float | None = None
Import from multiconn_archicad.models.tapir.types.
MEPElementPorts ¶
The ports of an MEP element.
ports: list[MEPPortDetails]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
MEPElementType ¶
ROUTING_ELEMENT = 'RoutingElement'
RIGID_SEGMENT = 'RigidSegment'
ELBOW = 'Elbow'
TRANSITION = 'Transition'
BRANCH = 'Branch'
TERMINAL = 'Terminal'
ACCESSORY = 'Accessory'
EQUIPMENT = 'Equipment'
FITTING = 'Fitting'
FLEXIBLE_SEGMENT = 'FlexibleSegment'
TAKE_OFF = 'TakeOff'
ELECTRICAL_PANEL = 'ElectricalPanel'
ELECTRICAL_DEVICE = 'ElectricalDevice'
ELECTRICAL_CIRCUIT = 'ElectricalCircuit'
Import from multiconn_archicad.models.tapir.types.
MEPFlexibleSegmentCreationData ¶
domain: MEPDomain
# The control points of the flexible segment, from its beginning to its end.
# Give either 'controlPoints' or 'polyline'.
controlPoints: list[Coordinate3D] | None = None
# Optional orientation at the beginning, with 'controlPoints'. Defaults to the
# direction from the first control point to the second one, with a horizontal
# rotation vector perpendicular to it.
startOrientation: MEPOrientation | None = None
# Optional orientation at the end, with 'controlPoints'. Defaults to the
# direction from the last but one control point to the last one, with a
# horizontal rotation vector perpendicular to it.
endOrientation: MEPOrientation | None = None
# The flexible segment as alternating line and spline parts that connect at
# their ends, instead of 'controlPoints'. Archicad places polyline flexible
# segments in the Piping domain only.
polyline: list[MEPFlexibleSegmentPolylinePart] | None = None
# Optional direction vector at the beginning, with 'polyline'. Only when the
# first part is a spline.
startDirection: Coordinate3D | None = None
# Optional direction vector at the end, with 'polyline'. Only when the last
# part is a spline.
endDirection: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
MEPFlexibleSegmentPolylinePart ¶
type: MEPFlexibleSegmentPolylinePartType
# The beginning of a line part.
begin: Coordinate3D | None = None
# The end of a line part.
end: Coordinate3D | None = None
# The control points of a spline part.
controlPoints: list[Coordinate3D] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPFlexibleSegmentPolylinePartType ¶
A straight line from 'begin' to 'end', or a spline through 'controlPoints'.
LINE = 'Line'
SPLINE = 'Spline'
Import from multiconn_archicad.models.tapir.types.
MEPFloorPlanDisplayOption ¶
How an MEP routing element is shown on the floor plan. Available from Archicad 29.
PROJECTED = 'Projected'
PROJECTED_WITH_OVERHEAD = 'ProjectedWithOverhead'
SYMBOLIC = 'Symbolic'
BY_MVO = 'ByMVO'
Import from multiconn_archicad.models.tapir.types.
MEPFlowDirection ¶
The flow direction of a piping or ventilation port.
FLOW_NOT_DEFINED = 'FlowNotDefined'
FLOW_IN = 'FlowIn'
FLOW_OUT = 'FlowOut'
Import from multiconn_archicad.models.tapir.types.
MEPNewValuePreferenceRow ¶
A value row to add to an MEP preference table.
value: float
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
MEPOnStoryVisibility ¶
On which stories an MEP routing element is shown. Available from Archicad 29.
ALL_RELEVANT_STORIES = 'AllRelevantStories'
HOME_STORY_ONLY = 'HomeStoryOnly'
Import from multiconn_archicad.models.tapir.types.
MEPOrientation ¶
The orientation of an MEP element, given by a direction and a rotation vector.
# The direction vector.
direction: Coordinate3D
# The rotation vector.
rotation: Coordinate3D
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemData ¶
# The system group the new physical system belongs to.
systemGroupId: MEPSystemGroupId
name: str
# The MEP element the system starts from. Archicad keeps it only while it is
# part of an MEP network: the root of a stand-alone element is cleared when
# the MEP networks are recalculated.
rootElementId: ElementId | None = None
# The MEP system attribute used as the category of the physical system.
mepSystemId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemDetails ¶
physicalSystemId: MEPPhysicalSystemId
name: str
# Whether the physical system can be modified. Missing when Archicad could not
# tell.
isEditable: bool | None = None
# The element the system starts from. Missing when not set, or when Archicad
# cleared it because the element is not part of an MEP network.
rootElementId: ElementId | None = None
# The MEP system attribute used as the category of the system. Missing when
# not set.
mepSystemId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemDetailsOrError ¶
MEPPhysicalSystemDetailsOrError: TypeAlias = (
MEPPhysicalSystemDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemId ¶
The identifier of an MEP physical system.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemIdArrayItem ¶
physicalSystemId: MEPPhysicalSystemId
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemIdOrError ¶
MEPPhysicalSystemIdOrError: TypeAlias = (
MEPPhysicalSystemIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemModificationData ¶
physicalSystemId: MEPPhysicalSystemId
# The new name of the physical system.
name: str | None = None
# The MEP element the system starts from. Archicad keeps it only while it is
# part of an MEP network: the root of a stand-alone element is cleared when
# the MEP networks are recalculated.
rootElementId: ElementId | None = None
# The MEP system attribute used as the category of the physical system.
mepSystemId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPhysicalSystemsOfElement ¶
# The physical systems the element is part of. Empty for an element of no
# physical system.
physicalSystemIds: list[MEPPhysicalSystemId]
Import from multiconn_archicad.models.tapir.types.
MEPPortConnectability ¶
# Whether the port can be connected to the other port.
isConnectable: bool
Import from multiconn_archicad.models.tapir.types.
MEPPortCreationData ¶
# Zero-based index of the port in the library part.
portIndex: int
# The MEP system of the port.
mepSystemId: AttributeId | None = None
# The shape of the port.
shape: MEPCrossSectionShape | None = None
# The width of the port.
width: float | None = None
# The height of a ventilation or cable carrier port.
height: float | None = None
# The diameter of a piping port.
diameter: float | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPortDefaultDetails ¶
The settings of one port of an MEP tool default. Each field is present only where the port's domain and the Archicad version have it: Archicad 27 gives only the index and the shape.
# The index of the port in the default.
index: int
domain: MEPDomain | None = None
name: str | None = None
shape: MEPCrossSectionShape | None = None
width: float | None = None
# The height of a ventilation or cable carrier port.
height: float | None = None
# The diameter of a piping port.
diameter: float | None = None
# The wall thickness of a piping or ventilation port.
wallThickness: float | None = None
# The flow direction of a piping or ventilation port.
flowDirection: MEPFlowDirection | None = None
# The flange size of a piping or ventilation port, when it has flanges.
# Available from Archicad 30.
flangeSize: float | None = None
# Available from Archicad 30.
connectionStyle: MEPConnectionStyle | None = None
mepSystemId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPortDetails ¶
The details of a port of an MEP element.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
portId: UUID
# The MEP element the port belongs to.
mepElementId: ElementId | None = None
name: str
position: Coordinate3D
direction: Coordinate3D
shape: str
width: float
height: float
domain: MEPDomainOrUnknown
mepSystemId: AttributeId
# Whether the port is physically connected to another port. Available from
# Archicad 28.
isPhysicallyConnected: bool | None = None
# Whether the port is connected to another port. Archicad 27 only; from
# Archicad 28 see isPhysicallyConnected.
isConnected: bool | None = None
# The connection style of the port. Available from Archicad 30.
connectionStyle: MEPConnectionStyle | None = None
# The flow direction of a piping or ventilation port.
flowDirection: MEPFlowDirection | None = None
# The nominal size of a piping port. Available from Archicad 30.
nominalSize: str | None = None
# The outer diameter of a piping port.
outerDiameter: float | None = None
# The wall thickness of a piping or ventilation port.
wallThickness: float | None = None
# The flange size of a piping or ventilation port. Available from Archicad 30.
flangeSize: float | None = None
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
connectedPortId: UUID | None = None
connectedElementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPortModificationData ¶
# The port to modify, as returned by GetMEPPorts.
portId: UUID
# New shape of the port.
shape: MEPCrossSectionShape | None = None
# New width of the port (the connection size of a terminal, accessory,
# equipment or fitting), in meters. The ports of routes and branches take
# their size from the route instead.
width: float | None = None
# New height of a ventilation or cable carrier port, in meters. A piping
# port's size is its 'outerDiameter'.
height: float | None = None
# New connection style of the port. Available from Archicad 30.
connectionStyle: MEPConnectionStyle | None = None
# New flow direction of a piping or ventilation port.
flowDirection: MEPFlowDirection | None = None
# New outer diameter of a piping port.
outerDiameter: float | None = None
# New nominal size of a piping port. Available from Archicad 30.
nominalSize: str | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPortPair ¶
# The port to check, as returned by GetMEPPorts.
portId: UUID
# The port to connect it to, as returned by GetMEPPorts.
otherPortId: UUID
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRow ¶
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int | None = None
referenceId: int
diameter: float
wallThickness: float | None = None
description: str | None = None
# Whether the row is valid.
isValid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowAddition ¶
key: MEPPreferenceRowKey
values: MEPPreferenceRowValues | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowAdditionResult ¶
success: Literal[True] = True
# The index of the new row in the table. Archicad 27: in the list of its
# shape, after the call.
index: int
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowChange ¶
Changes one row of a preference table, in the shape GetMEPPreferenceTables returns. Only the given values are changed. A value that does not belong to the kind of table is an error; the read-only values (reference ids, branchAxisAngle, isValid, and angle of an elbow table) are ignored.
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int
# Deletes the row. The circular segment tables, and the elbow tables in
# Archicad 28, have a fixed row for each reference id; there the row is
# emptied instead. Cannot be combined with new values.
delete: bool | None = None
# Circular segment and elbow tables.
diameter: float | None = None
# Circular segment tables.
wallThickness: float | None = None
# Rectangular duct and cable carrier segment tables. These tables keep their
# rows ordered by value, so a changed value can move the row; the indices of
# the other rows given in the same call are followed.
value: float | None = None
# Elbow tables.
radius: float | None = None
# Branch tables.
mainAxisDiameter: float | None = None
# Branch tables.
branchAxisDiameter: float | None = None
# Branch tables and piping transition tables.
length: float | None = None
# Branch tables.
branchOffset: float | None = None
# Branch tables.
connectionLength: float | None = None
# Transition tables.
beginDiameter: float | None = None
# Transition tables.
endDiameter: float | None = None
# Ventilation transition tables, in the unit GetMEPPreferenceTables returns
# it. Read-only (ignored) in elbow tables.
angle: float | None = None
description: str | None = None
# Read-only, ignored.
referenceId: int | None = None
# Read-only, ignored.
mainAxisReferenceId: int | None = None
# Read-only, ignored.
branchAxisReferenceId: int | None = None
# Read-only, ignored.
beginReferenceId: int | None = None
# Read-only, ignored.
endReferenceId: int | None = None
# Read-only, ignored.
branchAxisAngle: float | None = None
# Read-only, ignored.
isValid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowDetails ¶
key: MEPPreferenceRowKey
# Whether the row is valid. Archicad 27: whether the list of the shape has a
# row with the index.
valid: bool
values: MEPPreferenceRowValues
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowKey ¶
The key of a row. Segment tables: referenceId. Elbow tables: referenceId and angle. Branch tables: mainAxisReferenceId, branchAxisReferenceId and branchAxisAngle. Transition tables: beginReferenceId and endReferenceId. The angles are as GetMEPPreferenceTables returns them; Archicad 28 finds the rows by their reference ids only and rejects a key with an angle. Archicad 27: shape and index (AddMEPPreferenceTableRows: shape only).
shape: MEPPreferenceRowShape | None = None
# Archicad 27 only: the index of the row in the list of its shape, from 0.
index: int | None = None
referenceId: int | None = None
angle: float | None = None
mainAxisReferenceId: int | None = None
branchAxisReferenceId: int | None = None
branchAxisAngle: float | None = None
beginReferenceId: int | None = None
endReferenceId: int | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowShape ¶
Archicad 27 only: the shape whose list of values the row is in.
CIRCULAR = 'Circular'
RECTANGULAR = 'Rectangular'
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowUpdate ¶
key: MEPPreferenceRowKey
values: MEPPreferenceRowValues
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowUpdateResult ¶
success: Literal[True] = True
# Archicad 27 only: the index of the row after the call, which can differ from
# the index of its key when setting a value moves rows. The keys are the
# indices before the call.
index: int | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceRowValues ¶
The values of a row, lengths in meters. Segment tables: diameter, wallThickness and description. Elbow tables: diameter, radius and description. Branch tables: mainAxisDiameter, branchAxisDiameter, length, branchOffset, connectionLength and description. Pipe transition tables: beginDiameter, endDiameter, length and description. Duct transition tables: beginDiameter, endDiameter, angle and description. Archicad 27: value and description.
# Archicad 27 only: the value of the row.
value: float | None = None
diameter: float | None = None
wallThickness: float | None = None
radius: float | None = None
mainAxisDiameter: float | None = None
branchAxisDiameter: float | None = None
length: float | None = None
branchOffset: float | None = None
connectionLength: float | None = None
beginDiameter: float | None = None
endDiameter: float | None = None
angle: float | None = None
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTable ¶
guid: str
name: str | None = None
# Whether the table can be edited.
isEditable: bool | None = None
# Whether the table uses individual segmentation lengths. Available from
# Archicad 29.
useIndividualSegmentLengths: bool | None = None
# Available from Archicad 29.
minimumSegmentationLength: float | None = None
# Available from Archicad 29.
maximumSegmentationLength: float | None = None
rows: list[MEPPreferenceRow]
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableAddition ¶
type: MEPPreferenceTableType
name: str
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableChange ¶
Changes one preference table, in the shape GetMEPPreferenceTables returns. Only the given values and rows are changed.
# The guid of the table, as returned by GetMEPPreferenceTables.
guid: str
# The new name of the table.
name: str | None = None
# Read-only, ignored.
isEditable: bool | None = None
# Segment tables only. Available from Archicad 29.
useIndividualSegmentLengths: bool | None = None
# Segment tables only; the maximum is kept when not given. Available from
# Archicad 29.
minimumSegmentationLength: float | None = None
# Segment tables only; the minimum is kept when not given. Available from
# Archicad 29.
maximumSegmentationLength: float | None = None
# The rows to change or delete, each at most once. All indices refer to the
# table before this call.
rows: list[MEPPreferenceRowChange] | None = None
# Rows to add to a rectangular duct or cable carrier segment table, after the
# other changes. Adding rows to the other tables is not supported yet.
newRows: list[MEPNewValuePreferenceRow] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableContainer ¶
# The MEP domain of a preference table container.
domain: MEPPreferenceTableDomain
# Whether the container exists.
exists: bool
tables: list[MEPPreferenceTableContainerDetails]
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableContainerDetails ¶
# The id of a preference table, for the tableId of the preference table row
# commands.
tableId: MEPPreferenceTableId
name: str
exists: bool
sizes: MEPPreferenceTableSizes
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableCreationResult ¶
success: Literal[True] = True
# The id of a preference table, for the tableId of the preference table row
# commands.
tableId: MEPPreferenceTableId
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableData ¶
name: str
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableDomain ¶
PIPING = 'Piping'
VENTILATION = 'Ventilation'
CABLE_CARRIER = 'CableCarrier'
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableId ¶
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableSizes ¶
The number of rows of each shape.
Circular: int | None = None
Rectangular: int | None = None
Import from multiconn_archicad.models.tapir.types.
MEPPreferenceTableType ¶
The kind of preference table container: the segment tables (circular and rectangular ducts share one container), or the elbow, branch or transition tables. CableCarrier has only segment tables, transition tables are available from Archicad 29.
SEGMENT = 'Segment'
ELBOW = 'Elbow'
BRANCH = 'Branch'
TRANSITION = 'Transition'
Import from multiconn_archicad.models.tapir.types.
MEPPreferredTransitionPlacement ¶
Where an MEP routing node places its transitions.
SMALL_TO_LARGE = 'SmallToLarge'
LARGE_TO_SMALL = 'LargeToSmall'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
MEPReferenceIdDetails ¶
referenceId: int
# Whether the reference id is defined in the set.
isDefined: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPReferenceSet ¶
The reference ids (nominal sizes) that the preference tables of a domain can use.
name: str
# Whether the set can be edited.
isEditable: bool | None = None
referenceIds: list[int]
# The reference ids of the set in the same order as referenceIds, each with
# whether it is defined.
referenceIdDetails: list[MEPReferenceIdDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRigidSegmentParameters ¶
The rigid segment default parameters of a routing segment (RoutingSegment::GetRigidSegmentDefaultParameters). Archicad 28 only.
width: float | None = None
height: float | None = None
shape: MEPCrossSectionShape | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutePart ¶
A rigid segment, elbow or transition of an MEP route, with the centres of its two drawn ends: the positions of its two ports (as GetMEPPorts gives them), ordered along the route. They show where the part is drawn, which can differ from the route's polyline.
elementId: ElementId
# The centre of the end towards the start of the route. Not present when the
# part does not have two ports.
beginPosition: Coordinate3D | None = None
# The centre of the end towards the end of the route. Not present when the
# part does not have two ports.
endPosition: Coordinate3D | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingAnchor ¶
The anchor point of the cross section, on a 3x3 grid.
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementData ¶
domain: MEPDomain
# The corner points of the route polyline.
nodeCoordinates: list[Coordinate3D]
# Optional cross section width applied to all segments. For a circular segment
# (Piping, or Ventilation with a circular shape) it must be a diameter of the
# segment preference table (preferenceTableId if given, otherwise the table of
# the routing tool default), within 0.5 mm: the row with that diameter gives
# the segment its crossSectionReferenceId. A width that no row has, or a
# crossSectionReferenceId of another row, fails the item and nothing is
# placed; the error lists the table's diameters.
crossSectionWidth: float | None = None
# Optional cross section height applied to all segments.
crossSectionHeight: float | None = None
# Optional; applied to all segments.
crossSectionShape: MEPCrossSectionShape | None = None
# Optional cross section reference id of the segment preference table (used
# for circular cross sections). Resolved against preferenceTableId if given,
# otherwise against the table of the current routing tool default. For a
# circular segment, a reference id that no valid row of a circular table has
# fails the item and nothing is placed; the error lists the table's diameters
# and reference ids.
crossSectionReferenceId: int | None = None
# Optional guid of the segment preference table (see GetMEPPreferenceTables)
# applied to all segments. Not applicable to the CableCarrier domain.
preferenceTableId: UUID | None = None
# Optional MEP system attribute.
mepSystemId: AttributeId | None = None
# Optional layer attribute index of the routing element and all its parts
# (routing segments, rigid segments, elbows and transitions). Only a positive
# index takes effect; otherwise the routing tool default layer is used. A
# layer that does not exist or is locked gives an error for the item, and
# nothing is placed.
layerIndex: int | None = None
# Optional home story index (as returned by GetStories) of the routing element
# and all its parts. The node coordinates stay absolute: the route is placed
# at them, then moved to this home story. Without it, Archicad picks the home
# story, which follows the active story. A story that does not exist gives an
# error for the item, and nothing is placed.
floorIndex: int | None = None
defaults: MEPRoutingElementDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementDefaults ¶
Optional changes to the routing tool default of the domain before the route is placed. Only what is placed changes, not the routing tool's settings. A value that cannot be set gives an error for the item, and nothing is placed.
routingNode: MEPRoutingNodeDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementDetails ¶
The details of an MEP routing element.
domain: MEPDomainOrUnknown
mepSystemId: AttributeId
# The index of the home story of the routing element (see GetStories).
floorIndex: int | None = None
# The offset of the lowest node of the routing element from the level of its
# home story.
offsetFromHomeStory: float | None = None
# The guid of the branch preference table used by the routing element (see
# GetMEPPreferenceTables). Not present when the routing element has none.
branchPreferenceTableId: UUID | None = None
# The port logically connected to the beginning of the route (see
# GetMEPPorts). Not present when nothing is connected there.
logicallyConnectedPortIdAtRouteBegin: UUID | None = None
# The port logically connected to the end of the route (see GetMEPPorts). Not
# present when nothing is connected there.
logicallyConnectedPortIdAtRouteEnd: UUID | None = None
cutPlanePosition: MEPCutPlanePosition | None = None
floorPlanDisplayOption: MEPFloorPlanDisplayOption | None = None
showProjection: MEPShowProjection | None = None
onStoryVisibility: MEPOnStoryVisibility | None = None
polyline: list[Coordinate3D]
segments: list[MEPRoutingSegmentDetails]
nodes: list[MEPRoutingNodeDetails]
# The position of every node, in the order of nodes: the key
# ModifyMEPRoutingElements writes the node positions with, so they can be sent
# back. The other settings ModifyMEPRoutingElements applies to all segments or
# all nodes are read per segment (segments) and per node (nodes), with the
# same keys.
nodePositions: list[Coordinate3D] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementDetailsOrError ¶
MEPRoutingElementDetailsOrError: TypeAlias = (
MEPRoutingElementDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementModificationData ¶
elementId: ElementId
mepSystemId: AttributeId | None = None
# New cross section width applied to all segments. For a circular segment
# (Piping, or Ventilation with a circular shape) it must be a diameter of the
# segment preference table (preferenceTableId if given, otherwise the table
# the segment uses), within 0.5 mm: the row with that diameter gives the
# segment its crossSectionReferenceId. A width that no row has, or a
# crossSectionReferenceId of another row, fails the item and nothing is
# changed; the error lists the table's diameters.
crossSectionWidth: float | None = None
# New cross section height applied to all segments.
crossSectionHeight: float | None = None
# The new shape is applied to all segments.
crossSectionShape: MEPCrossSectionShape | None = None
# New cross section reference id of the segment preference table applied to
# all segments (used for circular cross sections). Resolved against
# preferenceTableId if given, otherwise against the table the segments already
# use. For a circular segment, a reference id that no valid row of a circular
# table has fails the item and nothing is changed; the error lists the table's
# diameters and reference ids.
crossSectionReferenceId: int | None = None
# New segment preference table (guid as returned by GetMEPPreferenceTables)
# applied to all segments. Not applicable to the CableCarrier domain.
preferenceTableId: UUID | None = None
# New branch preference table (guid as returned by GetMEPPreferenceTables) of
# the routing element.
branchPreferenceTableId: UUID | None = None
# Applied to all segments of the routing element.
anchor: MEPRoutingAnchor | None = None
# New horizontal offset of the reference line from the anchor point, applied
# to all segments.
referenceLineOffsetX: float | None = None
# New vertical offset of the reference line from the anchor point, applied to
# all segments.
referenceLineOffsetY: float | None = None
# New wall thickness applied to all segments.
wallThickness: float | None = None
# New flange size applied to all segments. Needs the Flanged connection style,
# which can be set in the same call.
flangeSize: float | None = None
# New insulation thickness of the route, as Insulation in its settings:
# applied to the rigid segments of all segments and to the elbows (bends in
# Archicad 28) and transitions at all nodes. 0 removes the insulation. Not
# applicable to the CableCarrier domain.
insulationThickness: float | None = None
# New connection style applied to all segments.
connectionStyle: MEPConnectionStyle | None = None
# New preferred transition placement applied to all nodes.
preferredTransitionPlacement: MEPPreferredTransitionPlacement | None = None
# New cut plane position of the routing element. Available from Archicad 29.
cutPlanePosition: MEPCutPlanePosition | None = None
# New floor plan display option of the routing element. Available from
# Archicad 29.
floorPlanDisplayOption: MEPFloorPlanDisplayOption | None = None
# New show projection setting of the routing element. Available from Archicad
# 29.
showProjection: MEPShowProjection | None = None
# New on-story visibility of the routing element. Available from Archicad 29.
onStoryVisibility: MEPOnStoryVisibility | None = None
# New positions of the routing nodes. The size must match the number of nodes
# of the route. A first or last node that is connected to a tee (Branch) must
# keep its position (within 1 mm): moving a route end away from its tee can
# crash Archicad, and no command moves a tee, so such an item is refused and
# nothing of it is changed. GetMEPRoutingElements reads them back with the
# same key.
nodePositions: list[Coordinate3D] | None = None
# New home story index (as returned by GetStories) of the routing element and
# all its parts. The nodes stay where they are (after nodePositions, when both
# are given): only the story the route belongs to and its offset from it
# change. A story that does not exist fails the item, and nothing is changed.
floorIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingElementRebuildData ¶
Rebuild settings for one MEP routing element.
# The routing element (duct, pipe or cable carrier route) to rebuild.
routingElementId: ElementId
# The new corner points of the route, at least 2, absolute like the polyline
# GetMEPRoutingElements returns. Fewer or more points than the route has nodes
# remove or add nodes. Omitted: the route's current polyline.
nodeCoordinates: list[Coordinate3D] | None = None
# Leaves out every inner node that lies on the straight line between its
# neighbours (within 1 mm), as Purge Unused MEP Nodes does, and every node on
# top of the previous one. Default false.
removeCollinearNodes: bool | None = None
# True gives every segment and node the route's uncustomized settings, as
# Reset Custom Segments does. False (default) gives each new segment the size
# and settings of the old segment it lies along most (within 1 mm), and each
# new node those of the old node at its position; a segment along no old
# segment takes the settings of its nearest neighbour along the route (the one
# before it first), and nodes without an old counterpart take the route's
# uncustomized settings.
resetCustomSegments: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingNodeDefaults ¶
The routing node default: the elbows and transitions placed at the nodes of the route. Available from Archicad 29.
elbow: MEPElbowDefaults | None = None
transition: MEPTransitionDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingNodeDetails ¶
The details of an MEP routing node.
elementId: ElementId
# The routing element the node belongs to.
routingElementId: ElementId | None = None
position: Coordinate3D
# The routing segment ending at this node. Not present at the beginning of the
# route.
incomingSegmentId: ElementId | None = None
# The routing segment starting at this node. Not present at the end of the
# route.
outgoingSegmentId: ElementId | None = None
preferredTransitionPlacement: MEPPreferredTransitionPlacement | None = None
# The elbows (bends in Archicad 28) at this node, with where their drawn ends
# are.
elbows: list[MEPRoutePart] | None = None
# The transitions at this node, with where their drawn ends are.
transitions: list[MEPRoutePart] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingNodeParameters ¶
The routing node default parameters of a routing element (RoutingElement::GetRoutingNodeDefaultParameters). The elbow is given from Archicad 29.
preferredTransitionPlacement: MEPPreferredTransitionPlacement | None = None
elbow: MEPElbowParameters | None = None
transition: MEPTransitionParameters | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingNodeParametersUpdate ¶
The routing node default parameters of a routing element (RoutingElement::Modifier::SetRoutingNodeDefaultParameters). Archicad 29 or newer.
elbow: MEPElbowParameters | None = None
transition: MEPTransitionDefaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingParameterElementType ¶
ROUTING_ELEMENT = 'RoutingElement'
ROUTING_NODE = 'RoutingNode'
ROUTING_SEGMENT = 'RoutingSegment'
Import from multiconn_archicad.models.tapir.types.
MEPRoutingParameters ¶
elementId: ElementId
type: MEPRoutingParameterElementType
routingNodeParameters: MEPRoutingNodeParameters | None = None
routingSegmentParameters: MEPRoutingSegmentParameters | None = None
elbowParameters: MEPElbowParameters | None = None
transitionParameters: MEPTransitionParameters | None = None
rigidSegmentParameters: MEPRigidSegmentParameters | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingRebuildGuidKind ¶
The kind of part. Elbows are called bends in Archicad 28.
SEGMENT = 'Segment'
RIGID_SEGMENT = 'RigidSegment'
NODE = 'Node'
ELBOW = 'Elbow'
TRANSITION = 'Transition'
Import from multiconn_archicad.models.tapir.types.
MEPRoutingRebuildGuidMapItem ¶
An old-to-new identifier mapping for a rebuilt routing part.
kind: MEPRoutingRebuildGuidKind
# The guid of the part of the old route. Left out for a new part without an
# old counterpart.
oldGuid: UUID | None = None
# The guid of the part of the rebuilt route. Left out for an old part without
# a new counterpart.
newGuid: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingSegmentDefaults ¶
The routing segment default parameters of a routing element (RoutingElement::Modifier::SetRoutingSegmentDefaultParameters).
crossSectionShape: MEPCrossSectionShape | None = None
crossSectionWidth: float | None = None
crossSectionHeight: float | None = None
# Cross section reference id of the segment preference table. Resolved against
# preferenceTableId if given, otherwise against the table already set.
crossSectionReferenceId: int | None = None
# A segment preference table, as returned by GetMEPPreferenceTables.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingSegmentDetails ¶
The details of an MEP routing segment.
elementId: ElementId
# The routing element the segment belongs to.
routingElementId: ElementId | None = None
crossSectionWidth: float
crossSectionHeight: float
crossSectionShape: str
# The cross section reference id of the segment in its preference table
# (meaningful for circular cross sections).
crossSectionReferenceId: int | None = None
# The guid of the segment preference table used by the segment (see
# GetMEPPreferenceTables).
preferenceTableId: UUID | None = None
# The routing node at the beginning of the segment.
beginNodeId: ElementId | None = None
# The routing node at the end of the segment.
endNodeId: ElementId | None = None
anchor: MEPRoutingAnchor | None = None
# The horizontal offset of the reference line from the anchor point.
referenceLineOffsetX: float | None = None
# The vertical offset of the reference line from the anchor point.
referenceLineOffsetY: float | None = None
# The wall thickness of the segment.
wallThickness: float | None = None
# The flange size of the segment (width for Ventilation, diameter for Piping).
# It is used only when the connection style is Flanged; Archicad 29 also
# returns it for other styles.
flangeSize: float | None = None
# The insulation thickness of the rigid segments of the segment. Only present
# when they are insulated (never for cable carriers).
insulationThickness: float | None = None
connectionStyle: MEPConnectionStyle | None = None
# The rigid segments (the straight duct, pipe or cable carrier pieces) of the
# routing segment, with where their drawn ends are.
rigidSegments: list[MEPRoutePart] | None = None
Import from multiconn_archicad.models.tapir.types.
MEPRoutingSegmentParameters ¶
The routing segment default parameters of the routing element (RoutingElement::GetRoutingSegmentDefaultParameters).
crossSectionShape: MEPCrossSectionShape | None = None
crossSectionWidth: float | None = None
crossSectionHeight: float | None = None
crossSectionReferenceId: int | None = None
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
preferenceTableId: UUID | None = None
anchor: str | None = None
referenceLineOffsetX: float | None = None
referenceLineOffsetY: float | None = None
wallThickness: float | None = None
flangeSize: float | None = None
connectionStyle: MEPConnectionStyle | None = None
Import from multiconn_archicad.models.tapir.types.
MEPShowProjection ¶
How much of an MEP routing element's projection is shown on the floor plan. Available from Archicad 29.
TO_FLOOR_PLAN_RANGE = 'ToFloorPlanRange'
TO_ABSOLUTE_DISPLAY_LIMIT = 'ToAbsoluteDisplayLimit'
ENTIRE_ELEMENT = 'EntireElement'
Import from multiconn_archicad.models.tapir.types.
MEPSystemAttribute ¶
An MEP system attribute.
attributeId: AttributeId
index: int
name: str
# The domain(s) this system belongs to. Archicad 29+ allows only one; earlier
# versions may report several.
domain: list[MEPDomain] | None = None
contourPen: int | None = None
fillPen: int | None = None
fillBackgroundPen: int | None = None
centerLinePen: int | None = None
fillId: AttributeIdArrayItem | None = None
centerLineTypeId: AttributeIdArrayItem | None = None
# The surface (material) attribute applied to the 3D model of the elements of
# the system.
materialId: AttributeIdArrayItem | None = None
# The surface (material) attribute applied to the insulation of the elements
# of the system.
insulationMaterialId: AttributeIdArrayItem | None = None
Import from multiconn_archicad.models.tapir.types.
MEPSystemAttributeField ¶
DOMAIN = 'domain'
CONTOUR_PEN = 'contourPen'
FILL_PEN = 'fillPen'
FILL_BACKGROUND_PEN = 'fillBackgroundPen'
CENTER_LINE_PEN = 'centerLinePen'
FILL_ID = 'fillId'
CENTER_LINE_TYPE_ID = 'centerLineTypeId'
MATERIAL_ID = 'materialId'
INSULATION_MATERIAL_ID = 'insulationMaterialId'
Import from multiconn_archicad.models.tapir.types.
MEPSystemAttributeOrError ¶
MEPSystemAttributeOrError: TypeAlias = (
MEPSystemAttribute | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPSystemData ¶
Data to create an MEP System.
# Indentifier of the existing MEP System to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing MEP System to overwrite, ignored if overwriteExisting
# is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing MEP System with the
# given name will be overwritten. It must not be empty.
name: str
# Only elements belonging to the same domain can use this system.
domain: MEPDomain | None = None
# The index of the contour pen [1..255].
contourPen: int | None = None
# The index of the fill (foreground) pen [1..255].
fillPen: int | None = None
# The index of the background pen [0..255]. 0 means transparent background.
fillBackgroundPen: int | None = None
# The index of the center line pen [1..255].
centerLinePen: int | None = None
# Identifier of the fill pattern attribute.
fillId: AttributeIdArrayItem | None = None
# Identifier of the center line type attribute.
centerLineTypeId: AttributeIdArrayItem | None = None
# Identifier of the surface (material) attribute applied to the 3D model of
# the elements of the system.
materialId: AttributeIdArrayItem | None = None
# Identifier of the surface (material) attribute applied to the insulation of
# the elements of the system.
insulationMaterialId: AttributeIdArrayItem | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupData ¶
name: str
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupDetails ¶
systemGroupId: MEPSystemGroupId
name: str
# Whether the system group can be modified. Missing when Archicad could not
# tell.
isEditable: bool | None = None
physicalSystems: list[MEPPhysicalSystemDetails | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupDetailsOrError ¶
MEPSystemGroupDetailsOrError: TypeAlias = (
MEPSystemGroupDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupId ¶
The identifier of an MEP system group.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupIdArrayItem ¶
systemGroupId: MEPSystemGroupId
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupIdOrError ¶
MEPSystemGroupIdOrError: TypeAlias = (
MEPSystemGroupIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
MEPSystemGroupModificationData ¶
systemGroupId: MEPSystemGroupId
# The new name of the system group.
name: str
Import from multiconn_archicad.models.tapir.types.
MEPTakeOffCreationData ¶
# Optional domain of the Take-Off tool whose settings are used. Defaults to
# the domain of the segment's routing element. Archicad currently only has
# Ventilation take-offs.
domain: MEPDomain | None = None
# The routing segment to place the take-off on (the elementId of an item of
# 'segments' returned by GetMEPRoutingElements).
segmentId: ElementId
# The distance of the take-off from the beginning of the segment, in meters.
# Must not be negative or more than the length of the segment.
distanceFromBeginning: float
# Optional rotation of the take-off around the axis of the segment, in
# radians. Archicad places take-offs only at quarter turns, so it must be a
# multiple of pi/2 (negative values and full turns are allowed). Defaults to
# 0, which places the take-off facing left relative to the segment's
# direction; pi/2 faces up, pi faces right, 3*pi/2 (or -pi/2) faces down.
rotationAroundMainAxis: float | None = None
# Optional length of the take-off in meters, set after placing it; must be
# positive. The length of the Take-Off tool when not given.
length: float | None = None
# Optional changes to the settings of the Take-Off tool before the take-off is
# placed. Only what is placed changes, not the tool's settings. A value that
# cannot be set gives an error for the item, and nothing is placed. The
# insulation thickness of a take-off cannot be set (Archicad stops with a
# fatal error).
defaults: Defaults | None = None
Import from multiconn_archicad.models.tapir.types.
MEPTransitionDefaults ¶
The transition parameters of a routing node (RoutingNode::Modifier::SetTransitionDefaultParameters). Archicad 29 or newer.
# A transition preference table of the routing domain, as returned by
# GetMEPPreferenceTables with includeFittingTables.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
MEPTransitionParameters ¶
Transition parameters. preferenceTableId is given from Archicad 29.
angle: float | None = None
offsetY: float | None = None
offsetZ: float | None = None
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
MEPTransitionPreferenceTable ¶
guid: str
name: str
# Whether the table can be edited.
isEditable: bool | None = None
rows: list[MEPTransitionPreferenceTableRow]
Import from multiconn_archicad.models.tapir.types.
MEPTransitionPreferenceTableRow ¶
A row of an MEP transition preference table.
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int | None = None
beginReferenceId: int
endReferenceId: int
beginDiameter: float
endDiameter: float
# Piping only.
length: float | None = None
# In degrees. Ventilation only.
angle: float | None = None
description: str | None = None
# Whether the row is valid.
isValid: bool | None = None
Import from multiconn_archicad.models.tapir.types.
MEPValuePreferenceRow ¶
A value row of an MEP preference table.
# The position of the row in its preference table, as
# ModifyMEPPreferenceTables expects it. Rows that cannot be read are left out
# of GetMEPPreferenceTables, so this is not always the position in the rows
# list.
index: int | None = None
# The size of the row.
value: float
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
MEPValuePreferenceTable ¶
A rectangular duct or cable carrier segment preference table: a list of sizes.
guid: str
name: str | None = None
# Whether the table can be edited.
isEditable: bool | None = None
# Whether the table uses individual segmentation lengths. Available from
# Archicad 29.
useIndividualSegmentLengths: bool | None = None
# Available from Archicad 29.
minimumSegmentationLength: float | None = None
# Available from Archicad 29.
maximumSegmentationLength: float | None = None
rows: list[MEPValuePreferenceRow]
Import from multiconn_archicad.models.tapir.types.
MergedElements ¶
The elements merged with one element.
# The elements merged with the queried element. Empty when it is not merged
# with any.
mergedElements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
MergeElementsParameters ¶
# The construction elements to merge together. At least two.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
MergeElementsResult ¶
MergeElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
MergeFileParameters ¶
# Absolute path of the file to merge: an Archicad project (.pln, .pla) or
# module (.mod). It cannot be a file the project already hotlinks: breaking
# that hotlink would turn its placed instances into ordinary elements too.
sourceLocation: str
# Optional. Where the origin of the file lands in the project. Defaults to the
# project origin; if z is omitted, it is 0.
origin: HotlinkOrigin | None = None
# Optional rotation about the origin, counter-clockwise, in radians. Defaults
# to 0.
rotationAngle: float | None = None
# Optional. Reflects the file's local X axis before the rotation. Defaults to
# false.
mirrored: bool | None = None
# Optional story of the project that the story with index 0 of the file goes
# to; the other stories of the file follow it. Defaults to 0, so each story of
# the file goes to the story with the same index.
floorIndex: int | None = None
Import from multiconn_archicad.models.tapir.commands.
MergeFileResult ¶
# The elements the merge added to the model, every element of the file's
# model. Archicad leaves them grouped together, as it leaves the elements of a
# broken hotlink; UngroupElements dissolves the group.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
MeshData ¶
The parameters of the new Mesh.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
floorIndex: int | None = None
# The Z reference level of coordinates.
level: float | None = None
skirtType: MeshSkirtType | None = None
# The height of the skirt.
skirtLevel: float | None = None
# Optional building material of the mesh. Its top, side and bottom surface
# overrides are cleared, also one from the Mesh tool defaults, so the mesh
# shows the building material's own surface; topMaterial, sideMaterial and
# bottomMaterial given in the same item are applied after that.
buildingMaterialId: AttributeId | None = None
# Optional override of the surface of the top of the mesh; overridden false
# clears the override.
topMaterial: OverriddenMaterial | None = None
# Optional override of the surface of the sides (skirt) of the mesh;
# overridden false clears the override.
sideMaterial: OverriddenMaterial | None = None
# Optional override of the surface of the bottom of the mesh; overridden false
# clears the override.
bottomMaterial: OverriddenMaterial | None = None
# Optional: whether the surface overrides are chained (the chain button of the
# Model panel).
materialsChained: bool | None = None
# Optional: the stories the contour of the mesh is shown on. Only the given
# fields change.
visibility: StoryVisibility | None = None
# Optional: the stories the cover fill of the mesh is shown on. Only the given
# fields change.
fillVisibility: StoryVisibility | None = None
# Optional override of the pen of the cut fill (shown on solid meshes);
# overridden false clears the override.
cutFillPen: OverriddenPen | None = None
# Optional override of the background pen of the cut fill (shown on solid
# meshes); overridden false clears the override.
cutFillBackgroundPen: OverriddenPen | None = None
# Optional pen of the contour of the mesh where it is cut in sections.
sectionContourPen: int | None = None
# Optional cover fill of the mesh in the floor plan. Only the given fields
# change.
floorFill: MeshFloorFill | None = None
ridges: MeshRidges | None = None
# Whether to show secondary mesh lines (level lines other than the user-
# defined ones) on plan.
showLines: bool | None = None
# Optional pen attribute index for the mesh's contour line.
contourPen: int | None = None
# Optional pen attribute index for the mesh's level lines.
levelPen: int | None = None
# Optional line type attribute index for the mesh's contour.
lineTypeIndex: int | None = None
# The 3D coordinates of the outline polygon of the mesh.
polygonCoordinates: list[Coordinate3D]
# Polygon outline arcs of the mesh.
polygonArcs: list[PolyArc] | None = None
# A list of 3D holes in an element defined by closed polylines
holes: list[Hole3D] | None = None
# The leveling sublines inside the polygon of the mesh.
sublines: list[MeshSubline] | None = None
Import from multiconn_archicad.models.tapir.types.
MeshDetails ¶
# The index of the story the mesh is placed on.
floorIndex: int | None = None
# The Z reference level of coordinates.
level: float
skirtType: MeshSkirtType
# The height of the skirt.
skirtLevel: float
ridges: MeshRidges | None = None
# Whether to show secondary mesh lines on plan.
showLines: bool | None = None
# Pen attribute index for the mesh contour line.
contourPen: int | None = None
# Pen attribute index for the mesh level lines.
levelPen: int | None = None
# Line type attribute index for the mesh contour.
lineTypeIndex: int | None = None
# The building material of the mesh.
buildingMaterialId: AttributeId | None = None
# The surface override of the top of the mesh.
topMaterial: OverriddenMaterial | None = None
# The surface override of the sides (skirt) of the mesh.
sideMaterial: OverriddenMaterial | None = None
# The surface override of the bottom of the mesh.
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface overrides are chained (the chain button of the Model
# panel).
materialsChained: bool | None = None
# The stories the contour of the mesh is shown on.
visibility: StoryVisibility | None = None
# The stories the cover fill of the mesh is shown on.
fillVisibility: StoryVisibility | None = None
# The override of the pen of the cut fill.
cutFillPen: OverriddenPen | None = None
# The override of the background pen of the cut fill.
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the contour of the mesh where it is cut in sections.
sectionContourPen: int | None = None
# The cover fill of the mesh in the floor plan.
floorFill: MeshFloorFill | None = None
# The 3D coordinates of the outline polygon of the mesh.
polygonCoordinates: list[Coordinate3D]
# Polygon outline arcs of the mesh.
polygonArcs: list[PolyArc] | None = None
# A list of 3D holes in an element defined by closed polylines
holes: list[Hole3D] | None = None
# The leveling sublines inside the polygon of the mesh.
sublines: list[MeshSubline] | None = None
Import from multiconn_archicad.models.tapir.types.
MeshFloorFill ¶
Floor plan cover fill settings of a Mesh (API_MeshType). When modifying a mesh, omitted properties keep their current values.
# Whether the cover fill is shown on the floor plan.
use: bool | None = None
foregroundPen: int | None = None
backgroundPen: int | None = None
fillId: AttributeId | None = None
# Whether the cover fill is drawn from the mesh's own reference vector
# (localOrigin and angle) instead of the project origin.
useLocalOrigin: bool | None = None
# Base point of the cover fill's reference vector, used when useLocalOrigin is
# true.
localOrigin: Coordinate2D | None = None
# Angle of the cover fill's reference vector in radians, used when
# useLocalOrigin is true.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
MeshModificationData ¶
The fields to modify on the Mesh. Only provided fields are changed; omitted fields are left as-is.
floorIndex: int | None = None
# The Z reference level of coordinates.
level: float | None = None
skirtType: MeshSkirtType | None = None
# The height of the skirt.
skirtLevel: float | None = None
ridges: MeshRidges | None = None
# Whether to show secondary mesh lines on plan.
showLines: bool | None = None
# Pen attribute index for the mesh contour line.
contourPen: int | None = None
# Pen attribute index for the mesh level lines.
levelPen: int | None = None
# Line type attribute index for the mesh contour.
lineTypeIndex: int | None = None
# The building material of the mesh. The surface overrides are kept; send
# topMaterial, sideMaterial and bottomMaterial with overridden false to show
# the building material's own surfaces.
buildingMaterialId: AttributeId | None = None
# Overrides the surface of the top of the mesh; overridden false clears the
# override.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the sides (skirt) of the mesh; overridden false
# clears the override.
sideMaterial: OverriddenMaterial | None = None
# Overrides the surface of the bottom of the mesh; overridden false clears the
# override.
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface overrides are chained (the chain button of the Model
# panel).
materialsChained: bool | None = None
# The stories the contour of the mesh is shown on. Only the given fields
# change.
visibility: StoryVisibility | None = None
# The stories the cover fill of the mesh is shown on. Only the given fields
# change.
fillVisibility: StoryVisibility | None = None
# Overrides the pen of the cut fill (shown on solid meshes); overridden false
# clears the override.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill (shown on solid meshes);
# overridden false clears the override.
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the contour of the mesh where it is cut in sections.
sectionContourPen: int | None = None
# The cover fill of the mesh in the floor plan. Only the given fields change.
floorFill: MeshFloorFill | None = None
# The 3D coordinates of the outline polygon of the mesh. Replaces the existing
# boundary entirely; the existing outline arcs are removed unless polygonArcs
# is also given, and the existing holes are kept unless holes is also given.
# Where a level line (sublines) crosses the new outline or a hole, Archicad
# adds a point; each given point keeps its own z, and an added point gets the
# z interpolated along the edge between the given points next to it.
polygonCoordinates: list[Coordinate3D] | None = None
# Polygon outline arcs of the mesh. Replaces the existing outline arcs; when
# given without polygonCoordinates, they apply to the existing outline.
polygonArcs: list[PolyArc] | None = None
# The 3D holes of the mesh. Replaces all existing holes; an empty array
# removes them. When given without polygonCoordinates, the existing outline is
# kept.
holes: list[Hole3D] | None = None
# The leveling sublines inside the polygon of the mesh. Replaces existing
# sublines entirely.
sublines: list[MeshSubline] | None = None
Import from multiconn_archicad.models.tapir.types.
MeshRidges ¶
How ridges between mesh facets are displayed in 3D: 'AllSharp' shows all ridges, 'AllSmooth' hides them, 'UserDefined' shows only ridges along user-defined level lines (the drawing-set look for contour-line topography).
ALL_SHARP = 'AllSharp'
ALL_SMOOTH = 'AllSmooth'
USER_DEFINED = 'UserDefined'
Import from multiconn_archicad.models.tapir.types.
MeshSkirtType ¶
The type of the skirt structure.
SURFACE_ONLY_WITHOUT_SKIRT = 'SurfaceOnlyWithoutSkirt'
WITH_SKIRT = 'WithSkirt'
SOLID_BODY_WITH_SKIRT = 'SolidBodyWithSkirt'
Import from multiconn_archicad.models.tapir.types.
MeshSubline ¶
# The 3D coordinates of the leveling subline of the mesh.
coordinates: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.types.
MeshWithDetails ¶
elementId: ElementId
meshData: MeshModificationData
Import from multiconn_archicad.models.tapir.types.
Method ¶
The file operation method to use.
SAVE = 'save'
MERGE = 'merge'
OPEN = 'open'
Import from multiconn_archicad.models.tapir.types.
MirrorAxis ¶
The mirror axis: the line through two points on the floor plan.
# First point of the mirror axis.
beginPoint: Coordinate2D
# Second point of the mirror axis. Must differ from beginPoint.
endPoint: Coordinate2D
Import from multiconn_archicad.models.tapir.commands.
MirrorElementsParameters ¶
# The elements with mirror axes.
elementsWithMirrorAxes: list[ElementMirrorData]
Import from multiconn_archicad.models.tapir.commands.
MirrorElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
MissingAttribute ¶
# What refers to the missing attribute: a placed element, the default settings
# of a tool, a Favorite, a graphic override rule, a Model View Options
# combination, or another attribute.
source: MissingAttributeSource
# The placed element. Only for source element.
elementId: ElementId | None = None
# The element's type, as GetElementsByType names it: for a tool default or a
# Favorite the type of its tool. Missing for a graphic override rule, a Model
# View Options combination and an attribute.
elementType: str | None = None
# The graphic override rule. Only for source overrideRule.
overrideRuleId: OverrideRuleId | None = None
# The name of the graphic override rule. Only for source overrideRule.
overrideRuleName: str | None = None
# The Model View Options combination, the id GetModelViewOptionDetails
# returns. Only for source modelViewOption.
modelViewOptionId: ModelViewOptionId | None = None
# The name of the Model View Options combination. Only for source
# modelViewOption.
modelViewOptionName: str | None = None
# When the reference is a GDL parameter of the library part settings of a
# Model View Options combination, the name of that option set (the gdlOptions
# name GetModelViewOptionDetails returns). Missing otherwise.
gdlOptionsName: str | None = None
# The type of the attribute that refers to the missing one. Only for source
# attribute.
ownerAttributeType: OwnerAttributeType | None = None
# The attribute that refers to the missing one. Only for source attribute.
ownerAttributeId: AttributeId | None = None
# The name of that attribute. Only for source attribute.
ownerAttributeName: str | None = None
# The name of the Favorite. Only for source favorite.
favoriteName: str | None = None
# When the reference is in a sub-element the Favorite keeps apart (e.g. a
# stair's structure), the type of that sub-element. Missing otherwise.
subElementType: str | None = None
# The element this one is part of (the curtain wall of a frame, the column of
# a segment, ...). Missing for an element that is not part of another one.
parentElementId: ElementId | None = None
parentElementType: str | None = None
# The database the element is in, the same id GetDatabases returns. Only for
# source element.
databaseId: DatabaseId | None = None
# The type of that database, e.g. FloorPlan, Worksheet, Details, Section,
# Layout. Only for source element.
databaseType: str | None = None
# The element's home story. Only for elements of the floor plan.
storyIndex: int | None = None
# The name of that story. Only for elements of the floor plan.
storyName: str | None = None
# The name of the view or layout (e.g. the worksheet) the element is in.
# Missing for the floor plan.
databaseName: str | None = None
# The reference id of that view or layout. Missing when it has none.
databaseReference: str | None = None
# True when the element comes from a hotlinked module: it has to be fixed in
# the module's file. Missing otherwise.
inHotlinkedModule: bool | None = None
attributeType: AttributeUsageType
# The attribute index the element, tool default, Favorite, graphic override
# rule, Model View Options combination or attribute refers to, which no
# attribute of attributeType has.
index: int
# The element's setting that holds the index, named as in the Archicad API
# (e.g. layer, contLtype, cWallFrameDefaults.material); for a graphic override
# rule lineType, fillOverride or surfaceOverride; for a Model View Options
# combination the field as GetModelViewOptionDetails names it (e.g.
# stair.stairSchemeSurfaceIndex); for an attribute the field as GetComposites,
# GetBuildingMaterials, GetSurfaces, GetMEPSystems or GetProfiles names it
# (e.g. skins[0].buildingMaterialId, cutFillIndex). Missing when gdlParameter
# is given.
field: str | None = None
# The library part parameter that holds the index, with the cell for an array
# parameter (e.g. gs_frame_mat, matArray[2][1]). Missing when field is given.
gdlParameter: str | None = None
Import from multiconn_archicad.models.tapir.types.
MissingAttributeSource ¶
ELEMENT = 'element'
TOOL_DEFAULT = 'toolDefault'
FAVORITE = 'favorite'
OVERRIDE_RULE = 'overrideRule'
MODEL_VIEW_OPTION = 'modelViewOption'
ATTRIBUTE = 'attribute'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Mode ¶
centers makes the distances between the middles of the plan bounding boxes equal, gaps makes the empty space between neighbouring bounding boxes equal (the gap is negative, so the boxes overlap, when the elements are wider together than the space between the two outermost elements).
CENTERS = 'centers'
GAPS = 'gaps'
Import from multiconn_archicad.models.tapir.types.
Model3DComponentType ¶
The component type: the API_3DTypeID enumerator name without its API_ prefix and ID suffix.
BODY = 'Body'
PGON = 'Pgon'
PEDG = 'Pedg'
EDGE = 'Edge'
VERT = 'Vert'
VECT = 'Vect'
UMAT = 'Umat'
LGHT = 'Lght'
Import from multiconn_archicad.models.tapir.types.
Model3DCount ¶
componentType: Model3DComponentType
# The number of components of this type.
count: int
Import from multiconn_archicad.models.tapir.commands.
ModelToScreenParameters ¶
# Model coordinates in the current database (meters). In a 3D window they are
# projected with the current camera; in other windows z is disregarded.
coordinates: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.commands.
ModelToScreenResult ¶
# One item per input coordinate, in the same order: the pixel position local
# to the current Archicad view window (not global desktop coordinates), or an
# error.
screenPoints: list[ScreenPoint | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ModelUncutSurfaceFillType ¶
Method for displaying fills of uncut surfaces (Model Effects), effective if useUncutSurfaceFill is true.
PEN_COLOR = 'PenColor'
MATERIAL_COLOR_SHADED = 'MaterialColorShaded'
MATERIAL_COLOR_NON_SHADED = 'MaterialColorNonShaded'
Import from multiconn_archicad.models.tapir.types.
ModelViewOption ¶
Represents the model view options.
name: str
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionById ¶
Requires modelViewOptionId.
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str | None = None
modelViewOptionId: ModelViewOptionId
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionByName ¶
Requires name.
modelViewOptionId: ModelViewOptionId | None = None
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionDetails ¶
# The index of the model view option combination, the one SetViewOptions takes
# as modelViewOptionIndex.
index: int
modelViewOptionId: ModelViewOptionId
# The name of the model view option combination.
name: str
# The fields of API_ModelViewOptions stored in the combination, with the
# curtainWall, stair and railing parts as nested objects: the same fields as
# viewOptions.modelViewOptions of GetViewOptions. Values are the numeric API
# constants; attribute indices are plain integers.
modelViewOptions: ModelViewOptions
# The model view options that library parts add to the combination (the
# library part settings of the Model View Options dialog, e.g. of doors,
# windows and objects), with their GDL parameter values.
gdlOptions: list[ModelViewOptionGDLOption]
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionDetailsById ¶
Requires modelViewOptionId.
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str | None = None
# The identifier of the model view option combination (see
# FindModelViewOption).
modelViewOptionId: ModelViewOptionId
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionDetailsByName ¶
Requires name.
# The identifier of the model view option combination (see
# FindModelViewOption).
modelViewOptionId: ModelViewOptionId | None = None
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionDetailsSelector ¶
# The identifier of the model view option combination (see
# FindModelViewOption).
modelViewOptionId: ModelViewOptionId | None = None
# The name of the model view option combination, as shown in Document > Model
# View > Model View Options.
name: str | None = None
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionGDLOption ¶
# The name of the option set, e.g. the name of the library global settings
# part.
name: str
guid: ModelViewOptionGDLOptionId
# The id of another option set that has all of the functionality of this one.
# When it is given, this set is filled but not shown in the Model View Options
# dialog.
supersetGuid: SupersetGuid | None = None
# The GDL parameters of the option set with their values in this combination.
parameters: list[StoredGDLParameter]
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionGDLOptionId ¶
The unique id of the option set.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ModelViewOptionId ¶
The identifier of the model view option combination.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ModelViewOptions ¶
Fields of API_ModelViewOptions, with the curtainWall, stair and railing parts as nested objects.
railing: RailingModelViewOptions | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyAngleDimensionsParameters ¶
# The Angle Dimensions to change, each with the settings to change. Only the
# given settings are changed; the keys are those CreateAngleDimensions takes
# and GetDetailsOfElements returns. The lines and the arc position cannot be
# changed: Archicad keeps them as they are, so delete the dimension and create
# it again with CreateAngleDimensions.
angleDimensionsWithDetails: list[AngleDimensionWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyAngleDimensionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyAssociativeDimensionsParameters ¶
# The linear dimensions to change (the Dimension tool's elements, also those
# placed in sections), each with the settings to change. Only the given
# settings are changed.
dimensionsWithDetails: list[AssociativeDimensionWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyAssociativeDimensionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyBeamsParameters ¶
beamsWithDetails: list[BeamWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyBeamsResult ¶
# A list of execution results, one per given item. A success may carry
# warnings about given values Archicad did not apply.
executionResults: list[SuccessfulExecutionResultWithWarnings | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyCameraSetsParameters ¶
# The Camera Sets to change, each with the values to change; the values not
# given are kept.
cameraSets: list[CameraSetModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyCameraSetsResult ¶
# One result for each Camera Set of the input, in its order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyCamerasParameters ¶
# The perspective cameras to change, each with the values to change; the
# values not given are kept. A camera keeps its element id, its Camera Set and
# its place in the path.
cameras: list[CameraModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyCamerasResult ¶
# One result for each camera of the input, in its order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyChangeMarkersParameters ¶
# The Change Markers to change, in the database of the active window, each
# with the settings to change. Only the given settings are changed; the keys
# are those CreateChangeMarkers takes and GetDetailsOfElements returns. The
# cloud polygon cannot be changed: besides the settings, ACAPI_Element_Change
# only changes the position of a marker without a polygon, so delete the
# marker and create it again with CreateChangeMarkers for a new polygon.
changeMarkersWithDetails: list[ChangeMarkerWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyChangeMarkersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyColumnsParameters ¶
columnsWithDetails: list[ColumnWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyColumnsResult ¶
# A list of execution results, one per given item. A success may carry
# warnings about given values Archicad did not apply.
executionResults: list[SuccessfulExecutionResultWithWarnings | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallFramesParameters ¶
# Curtain Wall Frames to modify (the GUIDs from
# GetSubelementsOfHierarchicalElements), with the fields to change. Only the
# given fields are changed. EXPERIMENTAL.
framesWithDetails: list[CurtainWallFrameWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallFramesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallPanelsParameters ¶
# Curtain Wall Panels to modify (the GUIDs from
# GetSubelementsOfHierarchicalElements), with the fields to change. Only the
# given fields are changed.
panelsWithDetails: list[CurtainWallPanelWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallPanelsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallsParameters ¶
# Array of Curtain Wall elements to modify, with the fields to change. Only
# the given fields are changed; the others, and the frames and panels not
# affected by them, are left as they are. The fields are those of
# CreateCurtainWalls, plus flipped, offset and nominalWidth, so a curtain wall
# can be changed in place instead of being deleted and recreated, keeping its
# GUID, properties and classifications, and the floor plan display fields
# GetDetailsOfElements returns for a curtain wall, under the same names. Every
# given field is read back, and one Archicad did not apply fails the item.
curtainWallsWithDetails: list[CurtainWallWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyCurtainWallsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyDetailMarkersParameters ¶
detailMarkersWithDetails: list[DetailMarkersWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyDetailMarkersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyDoorsParameters ¶
doorsWithDetails: list[DoorWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyDoorsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalCircuitsParameters ¶
# Array of data to modify electrical circuits. Only the given fields are
# changed.
electricalCircuitsData: list[ElectricalCircuitModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalCircuitsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalDevicesParameters ¶
# Array of data to modify electrical devices. Only the given fields are
# changed.
electricalDevicesData: list[ElectricalDeviceModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalDevicesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalPanelsParameters ¶
# Array of data to modify electrical panels. Only the given fields are
# changed.
electricalPanelsData: list[ElectricalPanelModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalPanelsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalProjectSettingsParameters ¶
voltage: float | None = None
# If true, every wiring type is removed before wiringTypesToAdd is applied;
# wiringTypesToRemove is then not needed and is ignored.
clearWiringTypes: bool | None = None
# If true, every load classification is removed before
# loadClassificationsToAdd is applied; loadClassificationsToRemove is then not
# needed and is ignored.
clearLoadClassifications: bool | None = None
wiringTypesToAdd: list[ElectricalWiringType] | None = None
# The names of the wiring types to remove.
wiringTypesToRemove: list[str] | None = None
loadClassificationsToAdd: list[ElectricalLoadClassification] | None = None
# The names of the load classifications to remove.
loadClassificationsToRemove: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyElectricalProjectSettingsResult ¶
ModifyElectricalProjectSettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ModifyGraphicOverrideCombinationsParameters ¶
# The graphic override combinations to modify.
graphicOverrideCombinations: list[GraphicOverrideCombinationModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyGraphicOverrideCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyGraphicOverrideRulesParameters ¶
# The graphic override rules to modify.
graphicOverrideRules: list[GraphicOverrideRuleModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyGraphicOverrideRulesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyHatchesParameters ¶
# The Hatches (Fills) to change, each with the settings to change. Only the
# given settings are changed; the keys are those CreateHatches takes and
# GetDetailsOfElements returns. coordinates replaces the whole polygon, with
# its arcs and holes.
hatchesWithDetails: list[HatchWithDetails]
# Optional database the hatches are in, e.g. a worksheet, a detail or a layout
# (see GetDatabases, or the databaseId CreateWorksheets and CreateDetails
# return), as CreateHatches takes it. The front window stays as it is: a
# worksheet or detail whose window was never opened is opened once on Archicad
# 27 and later, and the front window is brought back. Without it the hatches
# are looked for in the current database. If Archicad cannot switch to it,
# nothing is changed and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyHatchesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyKeynoteFoldersParameters ¶
# Array of data to modify keynote folders. Only provided fields are changed.
foldersData: list[KeynoteFolderModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyKeynoteFoldersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyKeynoteItemsParameters ¶
# Array of data to modify keynote items. Only provided fields are changed.
itemsData: list[KeynoteItemModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyKeynoteItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyLabelsParameters ¶
# Array of Label elements to modify, with the fields to change. Only provided
# fields are changed; omitted fields are left as-is. The label's class
# (Text/Symbol) cannot be changed after creation. A change of the text, the
# runs, or a run-level style field (pen, font, faces, height, effects)
# rebuilds the content (one paragraph per line), which makes the label's text
# auto-width (word wrap off), as SetDetailsOfElements does, and on a multi-run
# label applies that style to every run; the other style fields leave the
# content as it is.
labelsWithDetails: list[LabelsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyLabelsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyLampsParameters ¶
# Array of elements to modify, with the fields to change. Only provided fields
# are changed; omitted fields are left as-is.
lampsWithDetails: list[LampWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyLampsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyLayersParameters ¶
# The layers to change. Only the given fields of a layer are changed; every
# other setting of it is kept.
layers: list[LayerModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyLayersResult ¶
# One result per layer, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyLevelDimensionsParameters ¶
# The Level Dimensions to change, each with the settings to change. Only the
# given settings are changed.
levelDimensionsWithDetails: list[LevelDimensionsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyLevelDimensionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyLibraryListParameters ¶
# Library folders or container files to add, by absolute path.
add: list[LibraryLocation] | None = None
# Loaded libraries to remove, each by its name or by its path.
remove: list[LibraryToRemove] | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyLibraryListResult ¶
# A list of execution results.
addResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# A list of execution results.
removeResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPElementsParameters ¶
# The MEP elements to modify, each with the fields to change. Only the given
# fields are changed.
elements: list[MEPElementModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPhysicalSystemsParameters ¶
# Array of data to modify physical systems. Only the given fields are changed.
physicalSystemsData: list[MEPPhysicalSystemModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPhysicalSystemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPortsParameters ¶
# Array of data to modify MEP ports. Only provided fields are changed.
portsData: list[MEPPortModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPortsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPreferenceTablesParameters ¶
# The MEP domain of the segment preference tables.
domain: MEPPreferenceTableDomain
# New tables to add to the domain, before the other changes.
tablesToAdd: list[MEPPreferenceTableAddition] | None = None
# The tables of the domain to change, in the shape GetMEPPreferenceTables
# returns them. Each table is changed in one undoable step.
tables: list[MEPPreferenceTableChange] | None = None
# The guids of the tables of the domain to delete, after the other table
# changes.
tablesToDelete: list[str] | None = None
# Reference ids to delete from the reference set of the Piping or Ventilation
# domain.
referenceIdsToDelete: list[MEPReferenceId] | None = None
# Angles in degrees, between 1 and 90, to add to the angle set of the Piping
# or Ventilation domain, so that elbow and branch rows can have them. They are
# added before the tables are changed. Available from Archicad 29.
anglesToAdd: list[float] | None = None
# Angles to delete from the angle set of the Piping or Ventilation domain, as
# GetMEPPreferenceTables returns them. Available from Archicad 29.
anglesToDelete: list[float] | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPPreferenceTablesResult ¶
# One item for each item of tablesToAdd: the guid of the new table, or the
# error.
addedTables: list[MEPAddedPreferenceTableId | FailedExecutionResult]
# One result for each item of tables.
tables: list[SuccessfulExecutionResult | FailedExecutionResult]
# One result for each item of tablesToDelete.
deletedTables: list[SuccessfulExecutionResult | FailedExecutionResult]
# Only when referenceIdsToDelete is given.
referenceSet: SuccessfulExecutionResult | FailedExecutionResult | None = None
# Only when anglesToAdd is given.
addedAngles: SuccessfulExecutionResult | FailedExecutionResult | None = None
# Only when anglesToDelete is given.
angleSet: SuccessfulExecutionResult | FailedExecutionResult | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPRoutingElementsParameters ¶
# Array of data to modify MEP routing elements. Only provided fields are
# changed.
routingElementsData: list[MEPRoutingElementModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPRoutingElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPSystemGroupsParameters ¶
# Array of data to modify system groups.
systemGroupsData: list[MEPSystemGroupModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyMEPSystemGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMeshesParameters ¶
# Array of meshes to modify.
meshesData: list[MeshWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyMeshesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyMorphsParameters ¶
morphsWithDetails: list[MorphWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyMorphsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyObjectsParameters ¶
# Array of elements to modify, with the fields to change. Only provided fields
# are changed; omitted fields are left as-is.
objectsWithDetails: list[ObjectWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyObjectsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyOpeningsParameters ¶
openingsWithDetails: list[OpeningsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyOpeningsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
ModifyPensResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyPicturesParameters ¶
# Array of Picture elements to modify, with the settings to change. Only the
# given settings are changed; the others are left as they are. The image
# itself is not changed. Archicad cannot change a picture in place, so a
# picture with a change is replaced by a new picture with the same image,
# layer, story and ID, and the original is deleted: the new picture has a new
# elementId (returned in elements), and labels, dimensions, properties and
# classifications of the original are not carried over.
picturesWithDetails: list[PictureWithDetails]
# Optional database the pictures are in, e.g. a worksheet, a detail or a
# layout (see GetDatabases). The front window stays as it is: a worksheet or
# detail whose window was never opened is opened once on Archicad 27 and
# later, and the front window is brought back. Without it the pictures are
# looked for in the current database. If Archicad cannot switch to it, nothing
# is changed and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyPicturesResult ¶
# One result per item of picturesWithDetails, in the same order. On success
# elementId is the picture's identifier after the change: a new one when a
# setting was changed (the picture is replaced), the given one when nothing
# was to change.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ModifyPolylinesParameters ¶
# The Polylines to change, each with the settings to change. Only the given
# settings are changed; the keys are those CreatePolylines takes and
# GetDetailsOfElements returns. coordinates replaces the whole polygon, with
# its arcs. The pen weight override (penWeightMm of CreatePolylines) is not
# taken: Archicad did not keep a pen weight changed on an existing polyline.
polylinesWithDetails: list[PolylineWithDetails]
# Optional database the polylines are in, e.g. a worksheet, a detail or a
# layout (see GetDatabases, or the databaseId CreateWorksheets and
# CreateDetails return), as CreatePolylines takes it. The front window stays
# as it is: a worksheet or detail whose window was never opened is opened once
# on Archicad 27 and later, and the front window is brought back. Without it
# the polylines are looked for in the current database. If Archicad cannot
# switch to it, nothing is changed and the call fails.
databaseId: DatabaseId | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyPolylinesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyPropertyValueOfElementsParameters ¶
# The elements to set the value on. The property must be available for every
# one of them.
elements: list[ElementIdArrayItem]
propertyId: PropertyId
propertyValue: PropertyValue
Import from multiconn_archicad.models.tapir.commands.
ModifyPropertyValueOfElementsResult ¶
ModifyPropertyValueOfElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ModifyRadialDimensionsParameters ¶
# The Radial Dimensions to change, each with the settings to change. Only the
# given settings are changed, also inside marker and textBox; the keys are
# those CreateRadialDimensions takes and GetDetailsOfElements returns. The
# measured element and the dimension line cannot be changed here: delete the
# dimension and create it again with CreateRadialDimensions.
radialDimensionsWithDetails: list[RadialDimensionWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyRadialDimensionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyRailingsParameters ¶
railingsWithDetails: list[RailingsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyRailingsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyRevisionIssuesParameters ¶
# The revision issues to modify. Only the given fields are changed.
revisionIssues: list[RevisionIssueModificationData]
Import from multiconn_archicad.models.tapir.commands.
ModifyRevisionIssuesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyRoofsParameters ¶
roofsWithDetails: list[RoofWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyRoofsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifySectionsParameters ¶
sectionsWithDetails: list[SectionsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifySectionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyShellsParameters ¶
shellsWithDetails: list[ShellWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyShellsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifySkylightsParameters ¶
# The skylights to modify, each with the settings to change. The settings not
# given stay as they are.
skylightsWithDetails: list[SkylightsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifySkylightsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifySlabsParameters ¶
slabsWithDetails: list[SlabWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifySlabsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyStairsParameters ¶
# Array of Stair elements to modify, with the settings to change. Only the
# given settings are changed; the baseline, the position and the omitted
# settings are kept.
stairsWithDetails: list[StairWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyStairsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyStoryParameters ¶
# The index of the story to modify (see GetStories).
storyIndex: int
# The new name of the story.
name: str | None = None
# The new level of the story. Only this story moves: the story below gets
# taller or shorter, and the stories above stay where they are unless height
# is given too. It must stay above the level of the story below, and, without
# height, below the level of the story above. On the top story without height
# its top stays where it is: moving it up makes it shorter by as much, and
# moving it down taller.
level: float | None = None
# The new height of the story, greater than zero. As in Archicad's Story
# Settings dialog, every story above moves up or down with the top of this
# story and keeps its height.
height: float | None = None
# Whether the level line of the story appears on sections and elevations.
dispOnSections: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ModifyStoryResult ¶
# The modified story, as GetStories reports it after the change.
story: StoryParameters
Import from multiconn_archicad.models.tapir.commands.
ModifyTextsParameters ¶
# Array of Text elements to modify, with the fields to change. Only provided
# fields are changed; omitted fields are left as-is. A change of the text, the
# runs, or a run-level style field (pen, font, faces, height, effects)
# rebuilds the content (one paragraph per line, as SetDetailsOfElements does),
# and on a multi-run text applies that style to every run; a text that wraps
# keeps its wrap width through the rebuild unless the same item gives a width.
# The other style fields and a width leave the content as it is.
textsWithDetails: list[TextsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
ModifyTextsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyWallsParameters ¶
wallsWithDetails: list[WallWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyWallsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyWindowsParameters ¶
windowsWithDetails: list[WindowWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyWindowsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ModifyZonesParameters ¶
# Array of Zone elements to modify, with the fields to change. Only the given
# fields are changed and the omitted fields are kept; the polygon is kept
# unless geometry is given. The same fields as the ZoneSettings of
# SetDetailsOfElements, plus geometry and allowOverlap.
zonesWithDetails: list[ZoneWithDetails]
Import from multiconn_archicad.models.tapir.commands.
ModifyZonesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ModulData ¶
# The name of the module data.
name: str
# The version number stored with the data.
dataVersion: int
# The content of the module data. Left out when includeContent is false.
content: str | None = None
Import from multiconn_archicad.models.tapir.types.
ModuleDataEntry ¶
# The name of the module data; the empty name is the default section.
name: str
# The content of the module data, for example a JSON string.
content: str
# A version number stored with the data, returned by GetModulData, for example
# to tell the formats of your content apart. The default is 1.
dataVersion: int | None = None
Import from multiconn_archicad.models.tapir.types.
MonolithPart ¶
part: StairSymbolPart
connectionVisible: bool
drainingVisible: bool
landingLineVisible: bool
structureGoingVisible: bool
structureGoingNosingVisible: bool
Import from multiconn_archicad.models.tapir.types.
MonolithStructureSymbol ¶
view: StairSymbolView
part: StairSymbolPart
goingLineTypeId: AttributeId | None = None
goingLinePen: int
goingNosingLineTypeId: AttributeId | None = None
goingNosingLinePen: int
connectionLineTypeId: AttributeId | None = None
connectionLinePen: int
connectionDetailLineTypeId: AttributeId | None = None
connectionDetailLinePen: int
drainingFillId: AttributeId | None = None
drainingFillPen: int
drainingFillBackgroundPen: int
contourLineTypeId: AttributeId | None = None
contourLinePen: int
Import from multiconn_archicad.models.tapir.types.
MorphBody ¶
A Morph's full body geometry: an indexed vertex list plus one entry per face (polygon). Shared shape between GetDetailsOfElements' output and CreateMorphs/ModifyMorphs' input - what Get reports is what Create/Modify accept back. There is no fillet/chamfer operation in the Archicad API - a caller wanting rounded geometry must supply the already-tessellated facets here; edgeOverrides only controls how an existing straight edge is DISPLAYED (hidden/visible/smooth-shaded), not its shape.
# Whether the body is a closed solid or an open surface shell. Reported
# accurately on Get; on Create/Modify this is set on the element but a
# confirmed Archicad SDK bug means it may not take effect (bodyType has been
# observed always coming back Solid regardless of what was requested - see
# edgeOverrides' note).
bodyType: BodyType | None = None
# READ-ONLY, Get output only (ignored if sent to Create/Modify). Geometrically
# computed from the body's edges: true if every edge in the body has exactly
# two adjacent faces (a watertight/manifold volume), false if any edge borders
# only one face (an open shell / has holes or gaps). Distinct from bodyType,
# which is the caller's declared INTENT (Solid vs Surface) rather than the
# actual computed geometry - a body can be declared bodyType 'Solid' yet still
# be geometrically open if a face is missing.
isClosed: bool | None = None
# Default display status for every edge that has no entry in edgeOverrides.
# Reported accurately on Get. On Create/Modify it takes effect from Archicad
# 29 on, where it is applied to every edge of the element with
# ACAPI_Element_ChangeMorphEdgeType right after the element is created or
# changed (e.g. 'HardHidden' hides all edges of a triangulated body). The
# Morph's layer must be shown and unlocked: on a hidden or locked layer
# CreateMorphs creates no Morph and returns an error. On Archicad 28 and
# earlier it is set on the element but does not take effect due to the same
# confirmed Archicad SDK bug as edgeOverrides (element.morph.edgeType is
# silently discarded by ACAPI_Element_Create/Change).
edgeDefault: EdgeDefault | None = None
# Flat, indexed vertex list, local to the Morph's own placement (not world
# coordinates). A Solid body needs at least 4 (a tetrahedron, the minimum
# closed volume); a Surface body has no closedness requirement at all - the
# minimum is 2 vertices joined by a single wireEdge (a lone vertex with no
# edge at all is rejected by Archicad itself, confirmed live) - enforced with
# a bodyType-aware error message, not by this minItems floor alone.
vertices: list[Coordinate3D]
# One entry per face loop (into `vertices`), counterclockwise as seen from
# outside the body. Optional - a body made entirely of wireEdges (see below)
# needs none. Set "filled": false on an entry to create only that loop's edges
# (e.g. the outline of a pyramid's side faces) without an actual filled face.
polygons: list[MorphPolygon] | None = None
# Standalone edges that belong to no face at all (e.g. a bare rectangle
# outline, or a pyramid with a filled base but wireframe-only sides - set
# "filled": false on a polygons entry for a whole closed loop like that
# instead, this is for individual edges not already covered by any polygon
# loop). Reported accurately by GetDetailsOfElements (every edge with zero
# adjacent faces); accepted back by CreateMorphs/ModifyMorphs. Identifies an
# edge by the (unordered) pair of vertex indices it connects - reuses whatever
# edge already exists between those two vertices if the polygons above happen
# to share it.
wireEdges: list[WireEdge] | None = None
# READ-ONLY in practice: reported accurately by GetDetailsOfElements
# (reflecting whatever Archicad itself currently has), but
# CreateMorphs/ModifyMorphs silently ignore this field on input - per-edge
# display status cannot be set by an add-on due to a confirmed, still-
# unresolved Archicad SDK bug (element.morph.edgeType/bodyType are silently
# discarded by ACAPI_Element_Create/Change; see the GRAPHISOFT community forum
# thread 'Help with setting morph's hidden edges in the API'). To hide or
# smooth ALL edges of a Morph use edgeDefault, which does take effect from
# Archicad 29 on. Sparse when present - only edges whose display status
# differs from edgeDefault get an entry. Identifies an edge by the (unordered)
# pair of vertex indices it connects.
edgeOverrides: list[EdgeOverride] | None = None
Import from multiconn_archicad.models.tapir.types.
MorphBodyType ¶
Matches morphs whose body type equals this.
NON_SOLID = 'NonSolid'
SOLID = 'Solid'
Import from multiconn_archicad.models.tapir.types.
MorphBodyTypeNot ¶
Matches morphs whose body type does not equal this.
NON_SOLID = 'NonSolid'
SOLID = 'Solid'
Import from multiconn_archicad.models.tapir.types.
MorphData ¶
# Optional name of a Morph favorite to base the new morph on. Its settings are
# applied first, then the explicitly given fields override them. The geometry
# (basePoint, size or body, axes) and the floor always come from this item,
# not from the favorite.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# Origin of the morph (the corner of a size box, the (0, 0, 0) of a body). Its
# z is absolute, measured from the project zero, unless level is given, which
# then decides the height instead.
basePoint: Coordinate3D
# Builds a simple axis-aligned box of this size. Mutually exclusive with
# `body` - give exactly one of the two.
size: Dimensions3D | None = None
# Builds arbitrary geometry instead of a simple box. Mutually exclusive with
# `size` - give exactly one of the two.
body: MorphBody | None = None
buildingMaterialId: AttributeId | None = None
xAxis: Coordinate3D | None = None
yAxis: Coordinate3D | None = None
zAxis: Coordinate3D | None = None
surfaceId: AttributeId | None = None
# Only used with `size` (box) morphs. Expands the top rectangle outwards on
# all four sides by this amount, creating a frustum (e.g. sloped excavation
# shape). 0 creates a cuboid.
topExpansion: float | None = None
castShadow: bool | None = None
receiveShadow: bool | None = None
isAutoOnStoryVisibility: bool | None = None
showContour: StoryVisibility | None = None
showFill: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
cutFillPen: int | None = None
cutFillBackgroundPen: int | None = None
cutLineType: AttributeId | None = None
cutLinePen: int | None = None
uncutLineType: AttributeId | None = None
uncutLinePen: int | None = None
overheadLineType: AttributeId | None = None
overheadLinePen: int | None = None
useCoverFillType: bool | None = None
outlineContourDisplay: bool | None = None
coverFillType: AttributeId | None = None
# Foreground pen of the cover fill.
coverFillPen: int | None = None
coverFillBGPen: int | None = None
use3DHatching: bool | None = None
coverFillOrientation: CoverFillOrientation | None = None
useDistortedCoverFill: bool | None = None
textureProjectionType: TextureProjectionType | None = None
textureProjectionCoords: list[Coordinate3D] | None = None
# Optional height of the base point above the home story (floorIndex, or the
# story derived from basePoint's z when floorIndex is omitted), the same value
# GetDetailsOfElements reports as level. When given, it replaces basePoint's
# z.
level: float | None = None
# Optional home story. If omitted, derived from the basePoint's z value.
floorIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
MorphDetails ¶
# Translation component of the Morph's placement transform (tranmat's origin
# column).
origin: Coordinate3D
# X axis of the Morph's placement transform (tranmat's first column). Omit on
# Create to get an identity rotation; give all three of xAxis/yAxis/zAxis
# together or none at all.
xAxis: Coordinate3D | None = None
# Y axis of the Morph's placement transform (tranmat's second column). Give
# all three of xAxis/yAxis/zAxis together or none at all.
yAxis: Coordinate3D | None = None
# Z axis of the Morph's placement transform (tranmat's third column). Give all
# three of xAxis/yAxis/zAxis together or none at all.
zAxis: Coordinate3D | None = None
# The Morph's building material - a single, whole-volume property (what the
# mass is 'made of', governing cut-fill/quantity takeoff), NOT settable per
# face. Per-face appearance is controlled separately by each polygon's own
# surfaceId (see MorphBody) - confirmed live these are two independent,
# unrelated attributes (a Morph can have one uniform building material while
# showing a different Surface finish on each face).
buildingMaterialId: AttributeId | None = None
# The Morph's own default Surface (element.morph.material) - used for any face
# that has no per-face surfaceId override of its own (see MorphBody
# polygons[].surfaceId). Distinct from buildingMaterialId (the whole-volume
# material). Confirmed live that Archicad silently discards this specific
# field when set through ACAPI_Element_Create alone (reproduced identically on
# Archicad 27 and 29 - not a version-specific issue, unlike
# polygons[].surfaceId below); CreateMorphs works around this transparently
# with an internal follow-up Change right after Create, so this field behaves
# correctly end-to-end despite the underlying quirk.
surfaceId: AttributeId | None = None
body: MorphBody
# Whether the body casts shadow in 3D.
castShadow: bool | None = None
# Whether the body receives shadow in 3D.
receiveShadow: bool | None = None
# When true, the per-story visibility (showContour/showFill) is calculated
# automatically from the Morph's vertical extent instead of using the explicit
# values.
isAutoOnStoryVisibility: bool | None = None
# Which stories display this Morph's contour. Reported accurately on Get, but
# confirmed live that Create/Modify do not reliably apply it
# (showAllBelow/showRelAbove/showRelBelow silently come back reset even when
# explicitly set and isAutoOnStoryVisibility is false) - the same class of
# confirmed Archicad SDK write bug as bodyType/edgeType (see MorphBody's
# notes). Set on the element regardless since doing so is harmless and
# forward-compatible.
showContour: StoryVisibility | None = None
# Which stories display this Morph's floor plan fill. Same write-reliability
# caveat as showContour.
showFill: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# Overridden cut fill foreground pen (otherwise inherited from the building
# material). Omit to leave uninherited/unset.
cutFillPen: int | None = None
# Overridden cut fill background pen (otherwise inherited from the building
# material). Omit to leave uninherited/unset.
cutFillBackgroundPen: int | None = None
# Line type of the cut contour.
cutLineType: AttributeId | None = None
# Pen of the cut contour.
cutLinePen: int | None = None
# Line type of the (uncut) contour.
uncutLineType: AttributeId | None = None
# Pen of the (uncut) contour.
uncutLinePen: int | None = None
# Line type of the overhead part (floor plan only).
overheadLineType: AttributeId | None = None
# Pen of the overhead part (floor plan only).
overheadLinePen: int | None = None
# Use a dedicated floor plan fill instead of the one from the building
# material.
useCoverFillType: bool | None = None
# Outline contour display.
outlineContourDisplay: bool | None = None
# Floor plan fill type (only used when useCoverFillType is true).
coverFillType: AttributeId | None = None
# Floor plan fill foreground pen.
coverFillPen: int | None = None
# Floor plan fill background pen.
coverFillBGPen: int | None = None
# Derive the floor plan fill from the 3D material instead of coverFillType.
use3DHatching: bool | None = None
coverFillOrientation: CoverFillOrientation | None = None
# Show the floor plan hatching as if projected onto a plane.
useDistortedCoverFill: bool | None = None
textureProjectionType: TextureProjectionType | None = None
# Texture projection coordinate system: origin, then 3 axis endpoints.
textureProjectionCoords: list[Coordinate3D] | None = None
# Height of the Morph's origin (the z of its placement transform) above its
# home story. Archicad works it out from the placement; CreateMorphs and
# ModifyMorphs take it and place the Morph's origin at this height.
level: float | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
MorphPolygon ¶
# Counterclockwise outer-loop vertex indices for this face.
vertexIds: list[int]
# Defaults to true. Set to false to create only this loop's edges (a wireframe
# outline, e.g. a bare rectangle with no surface fill) without an actual face
# - holes/surfaceId are ignored in that case, since there is no fill for them
# to apply to.
filled: bool | None = None
# Optional hole loops cut out of this face, each a clockwise list of vertex
# indices.
holes: list[MorphPolygonHole] | None = None
# Optional per-face surface (render material) override. Uses the Morph's
# default surface (the morph's own surfaceId) when omitted, and takes
# precedence over it when given. Ignored in Archicad 25 and 26.
surfaceId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
MorphPolygonHole ¶
vertexIds: list[int]
Import from multiconn_archicad.models.tapir.types.
MorphQuantities ¶
Quantities of a Morph element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the body.
volume: float
# Net area of the body surface.
surface: float
# Net area of the floor plan projection.
floorPlanArea: float
# Perimeter of the floor plan projection.
floorPlanPerimeter: float
# Height of the morph.
height: float
Import from multiconn_archicad.models.tapir.types.
MorphWithDetails ¶
elementId: ElementId
translation: Coordinate3D | None = None
# Turns the Morph about the vertical axis through its origin, counterclockwise
# seen from above, in degrees. Added to the current rotation.
rotationDegreesZ: float | None = None
buildingMaterialId: AttributeId | None = None
# When given, discards the Morph's ENTIRE existing geometry and rebuilds it
# from this (mirrors CreateProfiles' replaceSkins) - not a partial edit.
body: MorphBody | None = None
# Replaces the rotation part of the placement transform outright. Give all
# three of xAxis/yAxis/zAxis together. If rotationDegreesZ is also given in
# the same call, it is applied first and this then overwrites its result.
xAxis: Coordinate3D | None = None
yAxis: Coordinate3D | None = None
zAxis: Coordinate3D | None = None
surfaceId: AttributeId | None = None
castShadow: bool | None = None
receiveShadow: bool | None = None
isAutoOnStoryVisibility: bool | None = None
showContour: StoryVisibility | None = None
showFill: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
cutFillPen: int | None = None
cutFillBackgroundPen: int | None = None
cutLineType: AttributeId | None = None
cutLinePen: int | None = None
uncutLineType: AttributeId | None = None
uncutLinePen: int | None = None
overheadLineType: AttributeId | None = None
overheadLinePen: int | None = None
useCoverFillType: bool | None = None
outlineContourDisplay: bool | None = None
coverFillType: AttributeId | None = None
# Foreground pen of the cover fill.
coverFillPen: int | None = None
coverFillBGPen: int | None = None
use3DHatching: bool | None = None
coverFillOrientation: CoverFillOrientation | None = None
useDistortedCoverFill: bool | None = None
textureProjectionType: TextureProjectionType | None = None
textureProjectionCoords: list[Coordinate3D] | None = None
# Moves the morph vertically so that its origin is this high above its home
# story, the same value GetDetailsOfElements reports as level. Applied after
# translation, so it decides the height when both are given.
level: float | None = None
Import from multiconn_archicad.models.tapir.commands.
MoveAttributesAndFoldersParameters ¶
# The attributes to move. They must have the attribute type of the target
# folder.
attributeIds: list[AttributeIdArrayItem] | None = None
# The folders to move, with their contents. They must have the attribute type
# of the target folder.
attributeFolders: list[AttributeFolder] | None = None
# The folder to move the attributes and folders into. An empty path is the
# root folder.
targetFolder: AttributeFolder
Import from multiconn_archicad.models.tapir.commands.
MoveAttributesAndFoldersResult ¶
# One result per item of attributeIds, in the same order.
attributeExecutionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# One result per item of attributeFolders, in the same order.
folderExecutionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveDesignOptionsToAnotherSetParameters ¶
designOptionAndSetPairs: list[DesignOptionAndSetPair]
Import from multiconn_archicad.models.tapir.commands.
MoveDesignOptionsToAnotherSetResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveElementsParameters ¶
# The elements with move vector pairs.
elementsWithMoveVectors: list[ElementsWithMoveVector]
Import from multiconn_archicad.models.tapir.commands.
MoveElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveElementsToDesignOptionsParameters ¶
elementDesignOptionPairs: list[ElementDesignOptionPair]
Import from multiconn_archicad.models.tapir.commands.
MoveElementsToDesignOptionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveFavoriteFolderParameters ¶
# The folder of the Favorites palette to move, as the folder names from the
# root down. The root folder cannot be moved.
folder: list[str]
# The folder to move it into, as the folder names from the root down. Empty =
# root. It cannot be the moved folder or one of its subfolders.
targetFolder: list[str]
Import from multiconn_archicad.models.tapir.commands.
MoveFavoriteFolderResult ¶
# The new path of the moved folder, as the folder names from the root down.
folder: list[str]
Import from multiconn_archicad.models.tapir.commands.
MoveFavoritesParameters ¶
# A list of favorite names
favorites: list[str]
# The path of the folder to move the Favorites into, in the format
# GetFavoriteFolders returns: the folder names from the root down. Empty for
# the root folder.
targetPath: list[str]
Import from multiconn_archicad.models.tapir.commands.
MoveFavoritesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveGraphicOverrideRulesParameters ¶
# The rules to move, processed in this order.
graphicOverrideRules: list[GraphicOverrideRuleMove]
Import from multiconn_archicad.models.tapir.commands.
MoveGraphicOverrideRulesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveNavigatorItemParameters ¶
navigatorItemIdToMove: NavigatorItemId
# The new parent of the item. It can be the item's current parent, to change
# the order of the items in it.
parentNavigatorItemId: NavigatorItemId
# Optional child of parentNavigatorItemId that the item is placed right after.
# Without it an item moved within its own parent goes to the end of it.
previousNavigatorItemId: NavigatorItemId | None = None
Import from multiconn_archicad.models.tapir.commands.
MoveNavigatorItemResult ¶
MoveNavigatorItemResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
MoveProjectInfoFieldsParameters ¶
# The fields of the Project Info groups to move, in the order the moves are
# made. A subfield of a calculated field cannot be moved on its own, it moves
# with its parent field.
projectInfoFields: list[ProjectInfoFieldMove]
Import from multiconn_archicad.models.tapir.commands.
MoveProjectInfoFieldsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
MoveProjectInfoGroupsParameters ¶
# The Project Info groups to move, in the order the moves are made.
projectInfoGroups: list[ProjectInfoGroupMove]
Import from multiconn_archicad.models.tapir.commands.
MoveProjectInfoGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
MoveVector ¶
Move vector of a 3D point.
# X value of the vector.
x: float
# Y value of the vector.
y: float
# Z value of the vector.
z: float
Import from multiconn_archicad.models.tapir.types.
MoveVertice ¶
# Selects the vertices to move: those with xMin <= x <= xMax and yMin <= y <=
# yMax, in the coordinates GetProfiles reports in skins[].outlineCoords. Each
# omitted bound leaves that side open, so { "yMin": 2.5 } selects every vertex
# at or above 2.5. Omit region to move every vertex.
region: Region | None = None
# The displacement of the selected vertices.
vector: Coordinate2D
# Moves only the vertices of these skins (GetProfiles' skins[].skinId). Omit
# to move the vertices of every skin.
skinIds: list[str] | None = None
N¶
Import from multiconn_archicad.models.tapir.types.
NameKind ¶
The kind of an item of the project that ResolveNames looks a name up among: a story, an attribute of the given type, an element type (matched by its API name and, from Archicad 27, by the name the Archicad interface shows), a property (built-in or custom; matched by its name and by its group and name together), or a classification (a classification system, matched by its name and by its name and version together, or an item of any system at any depth, matched by its name, by its ID and by both together).
STORY = 'Story'
LAYER = 'Layer'
LAYER_COMBINATION = 'LayerCombination'
BUILDING_MATERIAL = 'BuildingMaterial'
COMPOSITE = 'Composite'
PROFILE = 'Profile'
SURFACE = 'Surface'
FILL = 'Fill'
LINE = 'Line'
ZONE_CATEGORY = 'ZoneCategory'
ELEMENT_TYPE = 'ElementType'
PROPERTY = 'Property'
CLASSIFICATION = 'Classification'
Import from multiconn_archicad.models.tapir.types.
NameMatch ¶
An item of the project that a name matches, as ResolveNames returns it.
kind: NameKind
# The name of the item in the project. For an element type, the name the
# Archicad interface shows (from Archicad 27; the API name before). For a
# classification item, its name, or its ID when it has no name.
name: str
# How the name matches. exact: the same characters. normalized: the same
# except for case, accents, spacing and separators (FireRating, fire_rating,
# Fire Rating). words: every word of one is a word of the other, or at least
# half of their words are shared. contains: one contains the other. similar: a
# few characters differ.
match: Match
# How close the match is, from 0.6 to 1 (1 for exact and normalized matches).
score: float
# The index of the story (the floor index the commands take). Only for a
# story.
storyIndex: int | None = None
# The level of the story, in meters. Only for a story.
level: float | None = None
attributeId: AttributeId | None = None
# The index of the attribute. Only for an attribute.
attributeIndex: int | None = None
elementType: ElementType | None = None
# The property, as GetPropertyValuesOfElements and SetPropertyValuesOfElements
# take it. Only for a property.
propertyId: PropertyId | None = None
# The group of the property. Only for a property.
propertyGroupId: PropertyGroupId | None = None
# The name of the group of the property. Only for a property.
propertyGroupName: str | None = None
# Whether the property is built in or custom. Only for a property.
propertyType: PropertyType | None = None
# Whether the property holds one value, a list, or one or more choices of a
# list of options. Only for a property.
propertyCollectionType: PropertyCollectionType | None = None
# The type of the values of the property. Only for a property.
propertyValueType: PropertyValueType | None = None
# What a number value of the property measures. Only for a property; left out
# for the attribute index types of some built-in properties.
propertyMeasureType: PropertyMeasureType | None = None
# Whether the value of the property can be set. Only for a property.
propertyIsEditable: bool | None = None
# The classification items the property is available for: an element has the
# property only when it is classified as one of them. Only for a custom
# property; built-in properties have no such list.
availability: list[ClassificationItemIdArrayItem] | None = None
# The classification system, or the system of the classification item. Only
# for a classification.
classificationSystemId: ClassificationSystemId | None = None
# The name of the classification system. Only for a classification.
classificationSystemName: str | None = None
# The classification item. Only for a classification item, not for a
# classification system.
classificationItemId: ClassificationItemId | None = None
# The ID of the classification item, as Archicad shows it (for example
# Ss_25_10). Only for a classification item.
classificationItemCode: str | None = None
Import from multiconn_archicad.models.tapir.types.
NameResolutionStatus ¶
found: an item of the project has exactly this name (see found). closeMatches: no item has exactly this name, but some are close (see closeMatches). notFound: nothing in the project is close to it; the project has no such item, so it must not be guessed.
FOUND = 'found'
CLOSE_MATCHES = 'closeMatches'
NOT_FOUND = 'notFound'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
NavigatorItem ¶
A navigator item and the subtree below it.
navigatorItemId: NavigatorItemId
type: NavigatorItemType
# The name of the navigator item.
name: str
# The name of the navigator item as it was given, with its autotext tokens
# (e.g. <PROJECTNUMBER>_<SourceID>_<SourceItemName>), while name holds it with
# the tokens resolved. Only present when the two differ, that is when the name
# contains autotext.
autoTextedName: str | None = None
# The floor number for story items, an empty string for every other item type.
prefix: str
# The identifier shown next to the name on the navigator.
uiId: str
# True when the identifier was typed by hand instead of being inherited from
# the Project Map source - the View Settings ID "Custom" radio button.
customUiId: bool
# True when the name was typed by hand instead of being inherited from the
# Project Map source - the View Settings name "Custom" radio button.
customName: bool
# True when the item is independent, that is when its link to the Project Map
# is broken.
isIndependent: bool
# The identifier of the navigator item this one was created from: the Project
# Map item behind a view, or the source view behind a placed Drawing's Layout
# Book entry. Missing when the item has no such source; Project Map items
# never do.
sourceNavigatorItemId: NavigatorItemId | None = None
# The number of direct children Archicad reports for the item. Only present
# when GetNavigatorItemTree is called with includeChildCount true.
childCount: int | None = None
# The children of the navigator item. Missing when the item has no children.
children: list[NavigatorItemArrayItem] | None = None
Import from multiconn_archicad.models.tapir.types.
NavigatorItemArrayItem ¶
navigatorItem: NavigatorItem
Import from multiconn_archicad.models.tapir.types.
NavigatorItemId ¶
The identifier of a navigator item.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdArrayItem ¶
navigatorItemId: NavigatorItemId
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdOrDatabaseIdAndWindowType ¶
NavigatorItemIdOrDatabaseIdAndWindowType: TypeAlias = (
NavigatorItemIdArrayItem | DatabaseIdAndWindowType
)
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdOrError ¶
NavigatorItemIdOrError: TypeAlias = (
NavigatorItemIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdsWithCombinationItem ¶
navigatorItemId: NavigatorItemId
# The design option combination the view should show.
designOptionCombinationId: DesignOptionCombinationId | None = None
# Set it to true to make the view show only the main model, without any design
# option.
mainModelOnly: bool | None = None
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdsWithRotationItem ¶
navigatorItemId: NavigatorItemId
# View rotation angle in radians.
rotation: float
Import from multiconn_archicad.models.tapir.types.
NavigatorItemIdsWithViewSetting ¶
navigatorItemId: NavigatorItemId
viewSettings: ViewSettings
Import from multiconn_archicad.models.tapir.types.
NavigatorItemType ¶
The type of the navigator item.
UNDEFINED_ITEM = 'UndefinedItem'
PROJECT_ITEM = 'ProjectItem'
STORY_ITEM = 'StoryItem'
SECTION_ITEM = 'SectionItem'
DETAIL_DRAWING_ITEM = 'DetailDrawingItem'
PERSPECTIVE_ITEM = 'PerspectiveItem'
AXONOMETRY_ITEM = 'AxonometryItem'
LIST_ITEM = 'ListItem'
SCHEDULE_ITEM = 'ScheduleItem'
TOC_ITEM = 'TocItem'
CAMERA_ITEM = 'CameraItem'
CAMERA_SET_ITEM = 'CameraSetItem'
INFO_ITEM = 'InfoItem'
HELP_ITEM = 'HelpItem'
LAYOUT_ITEM = 'LayoutItem'
MASTER_LAYOUT_ITEM = 'MasterLayoutItem'
BOOK_ITEM = 'BookItem'
MASTER_FOLDER_ITEM = 'MasterFolderItem'
SUB_SET_ITEM = 'SubSetItem'
TEXT_LIST_ITEM = 'TextListItem'
ELEVATION_ITEM = 'ElevationItem'
INTERIOR_ELEVATION_ITEM = 'InteriorElevationItem'
WORKSHEET_DRAWING_ITEM = 'WorksheetDrawingItem'
DOCUMENT_FROM3_D_ITEM = 'DocumentFrom3DItem'
FOLDER_ITEM = 'FolderItem'
DRAWING_ITEM = 'DrawingItem'
UNKNOWN_ITEM = 'UnknownItem'
Import from multiconn_archicad.models.tapir.types.
NavigatorMapId ¶
The navigator map to retrieve.
PUBLIC_VIEW_MAP = 'PublicViewMap'
PROJECT_MAP = 'ProjectMap'
LAYOUT_BOOK = 'LayoutBook'
PUBLISHER_SETS = 'PublisherSets'
Import from multiconn_archicad.models.tapir.types.
NavigatorParentItem ¶
navigatorItemId: NavigatorItemId
type: NavigatorItemType
# The name of the parent navigator item.
name: str
Import from multiconn_archicad.models.tapir.types.
NewClassificationItem ¶
classificationSystemId: ClassificationSystemId
classificationItemDetails: ClassificationItemDetails
# The identifier of the parent classification item. If not specified, the new
# classification item will be created as a child of the root.
parentClassificationItemId: ClassificationItemId | None = None
# The identifier of the next sibling classification item. If not specified,
# the new classification item will be created as the last child of its parent.
nextClassificationItemId: ClassificationItemId | None = None
Import from multiconn_archicad.models.tapir.commands.
NewProjectParameters ¶
# Optional. Also reset the working environment to the template's, as File >
# New > New and Reset All does, instead of keeping the current one as File >
# New does. Defaults to false.
newAndReset: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
NewProjectResult ¶
NewProjectResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
NonLocalizedValueEnumId ¶
An enumeration value identifier using the nonlocalized value.
type: Literal['nonLocalizedValue'] = 'nonLocalizedValue'
nonLocalizedValue: str
Import from multiconn_archicad.models.tapir.types.
NormalAngleListPropertyValue ¶
An angle list property value containing angles in an array. The values are measured in SI (radians).
type: Literal['angleList'] = 'angleList'
status: Literal['normal'] = 'normal'
value: list[float]
Import from multiconn_archicad.models.tapir.types.
NormalAnglePropertyValue ¶
An angle property value containing a real angle. The value is measured in SI (radians).
type: Literal['angle'] = 'angle'
status: Literal['normal'] = 'normal'
value: float
Import from multiconn_archicad.models.tapir.types.
NormalAreaListPropertyValue ¶
An area list property value containing areas in an array. The values are measured in SI (square meters).
type: Literal['areaList'] = 'areaList'
status: Literal['normal'] = 'normal'
value: list[float]
Import from multiconn_archicad.models.tapir.types.
NormalAreaPropertyValue ¶
An area property value containing a real area. The value is measured in SI (square meters).
type: Literal['area'] = 'area'
status: Literal['normal'] = 'normal'
value: float
Import from multiconn_archicad.models.tapir.types.
NormalBooleanListPropertyValue ¶
A boolean list property value containing boolean values in an array.
type: Literal['booleanList'] = 'booleanList'
status: Literal['normal'] = 'normal'
value: list[bool]
Import from multiconn_archicad.models.tapir.types.
NormalBooleanPropertyValue ¶
A boolean property value containing a valid boolean value.
type: Literal['boolean'] = 'boolean'
status: Literal['normal'] = 'normal'
value: bool
Import from multiconn_archicad.models.tapir.types.
NormalIntegerListPropertyValue ¶
An integer list property value containing integers in an array.
type: Literal['integerList'] = 'integerList'
status: Literal['normal'] = 'normal'
value: list[int]
Import from multiconn_archicad.models.tapir.types.
NormalIntegerPropertyValue ¶
An integer property value containing a valid integer number.
type: Literal['integer'] = 'integer'
status: Literal['normal'] = 'normal'
value: int
Import from multiconn_archicad.models.tapir.types.
NormalLengthListPropertyValue ¶
A length list property value containing length values in an array. The values are measured in SI (meters).
type: Literal['lengthList'] = 'lengthList'
status: Literal['normal'] = 'normal'
value: list[float]
Import from multiconn_archicad.models.tapir.types.
NormalLengthPropertyValue ¶
A length property value containing a real length value. The value is measured in SI (meters).
type: Literal['length'] = 'length'
status: Literal['normal'] = 'normal'
value: float
Import from multiconn_archicad.models.tapir.types.
NormalMultiEnumPropertyValue ¶
A multiple choice enumeration property value containing the IDs of the selected enum values in an array.
type: Literal['multiEnum'] = 'multiEnum'
status: Literal['normal'] = 'normal'
# A list of enumeration identifiers.
value: list[EnumValueIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
NormalNumberListPropertyValue ¶
A number list property value containing numbers in an array.
type: Literal['numberList'] = 'numberList'
status: Literal['normal'] = 'normal'
value: list[float]
Import from multiconn_archicad.models.tapir.types.
NormalNumberPropertyValue ¶
A number property value containing a valid numeric value.
type: Literal['number'] = 'number'
status: Literal['normal'] = 'normal'
value: float
Import from multiconn_archicad.models.tapir.types.
NormalOrUserUndefinedPropertyValue ¶
NormalOrUserUndefinedPropertyValue: TypeAlias = (
NormalNumberPropertyValue
| NormalIntegerPropertyValue
| NormalStringPropertyValue
| NormalBooleanPropertyValue
| NormalLengthPropertyValue
| NormalAreaPropertyValue
| NormalVolumePropertyValue
| NormalAnglePropertyValue
| NormalNumberListPropertyValue
| NormalIntegerListPropertyValue
| NormalStringListPropertyValue
| NormalBooleanListPropertyValue
| NormalLengthListPropertyValue
| NormalAreaListPropertyValue
| NormalVolumeListPropertyValue
| NormalAngleListPropertyValue
| NormalSingleEnumPropertyValue
| NormalMultiEnumPropertyValue
| UserUndefinedPropertyValue
)
Import from multiconn_archicad.models.tapir.types.
NormalSingleEnumPropertyValue ¶
A single enumeration property value containing the ID of the selected enum value.
type: Literal['singleEnum'] = 'singleEnum'
status: Literal['normal'] = 'normal'
# The identifier of a property enumeration value.
value: DisplayValueEnumId | NonLocalizedValueEnumId
Import from multiconn_archicad.models.tapir.types.
NormalStringListPropertyValue ¶
A string list property value containing strings in an array.
type: Literal['stringList'] = 'stringList'
status: Literal['normal'] = 'normal'
value: list[str]
Import from multiconn_archicad.models.tapir.types.
NormalStringPropertyValue ¶
A string property value containing a valid string.
type: Literal['string'] = 'string'
status: Literal['normal'] = 'normal'
value: str
Import from multiconn_archicad.models.tapir.types.
NormalVolumeListPropertyValue ¶
A volume list property value containing volumes in an array. The values are measured in SI (cubic meters).
type: Literal['volumeList'] = 'volumeList'
status: Literal['normal'] = 'normal'
value: list[float]
Import from multiconn_archicad.models.tapir.types.
NormalVolumePropertyValue ¶
A volume property value containing a real volume. The value is measured in SI (cubic meters).
type: Literal['volume'] = 'volume'
status: Literal['normal'] = 'normal'
value: float
Import from multiconn_archicad.models.tapir.types.
NosingType ¶
Whether the nosing is given by its length (nosingValue) or by the slant of the riser (nosingSlant).
BY_VALUE = 'ByValue'
BY_SLANTING = 'BySlanting'
Import from multiconn_archicad.models.tapir.types.
NotAvailablePropertyValue ¶
A notAvailable value means that the property is not available for the property owner (and therefore it has no property value for it).
type: PropertyDataType
status: Literal['notAvailable'] = 'notAvailable'
Import from multiconn_archicad.models.tapir.types.
NoteAutotextDetails ¶
# The numeric value of the autotext's API_NoteAutotextID in the Archicad API.
autotextId: int
# The element types the autotext is available for.
elementTypes: list[ElementType]
Import from multiconn_archicad.models.tapir.types.
NoteAutoTextKeyword ¶
# The keyword of the note autotext.
keyword: str
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleIcon ¶
The icon of the bubble.
NONE = 'none'
INFORMATION = 'information'
WARNING = 'warning'
ERROR = 'error'
OTHER = 'other'
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleIconInput ¶
The icon shown in the bubble. Default: information.
NONE = 'none'
INFORMATION = 'information'
WARNING = 'warning'
ERROR = 'error'
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleLargeIconInput ¶
The icon shown instead of icon when the "Use large alert cues" option is on in Work Environment. Not set by default.
INFORMATION = 'information'
WARNING = 'warning'
ERROR = 'error'
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleOffset ¶
The offset of the bubble from its position, in pixels.
h: int
v: int
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleOffsetInput ¶
Moves the bubble from its position by this many pixels.
# Horizontal offset in pixels, positive to the right.
h: int
# Vertical offset in pixels, positive downwards.
v: int
Import from multiconn_archicad.models.tapir.types.
NotificationBubbleScreenPoint ¶
The pixel position local to the current Archicad view window (not global desktop coordinates) where the bubble is shown, e.g. a point returned by ModelToScreen. Do not give it together with coordinate.
# Horizontal pixel position from the left edge of the view window.
h: int
# Vertical pixel position from the top edge of the view window.
v: int
Import from multiconn_archicad.models.tapir.types.
NotYetSupportedElementTypeDetails ¶
error: str
Import from multiconn_archicad.models.tapir.types.
NumberingStyle ¶
UNDEFINED = 'Undefined'
ABC = 'abc'
abc_1 = 'ABC'
FIELD_1 = '1'
FIELD_01 = '01'
FIELD_001 = '001'
FIELD_0001 = '0001'
NO_ID = 'noID'
Import from multiconn_archicad.models.tapir.types.
NumberingType ¶
Whether the steps are numbered on their treads or on their risers.
TREADS = 'Treads'
RISERS = 'Risers'
O¶
Import from multiconn_archicad.models.tapir.types.
ObjectData ¶
The parameters of the new Object.
# The name of the library part to use.
libraryPartName: str
coordinates: Coordinate3D
dimensions: Dimensions3D | None = None
angle: float | None = None
pen: int | None = None
lineTypeId: AttributeId | None = None
# Material/Surface override (API_ObjectType.mat).
surfaceId: AttributeId | None = None
sectionFillId: AttributeId | None = None
# Foreground pen of the section fill.
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
useObjectPens: bool | None = None
useObjectLineTypes: bool | None = None
useObjectMaterials: bool | None = None
useObjectSectionAttributes: bool | None = None
reflected: bool | None = None
useFixSize: bool | None = None
# 0-based index of the hotspot to keep fixed (raw API_ObjectType.fixPoint
# value, not 1-based).
fixPoint: int | None = None
# Offset of the symbol's origin from the insertion point. Reported accurately
# on Get, but confirmed live that Archicad silently discards this value
# through both Create and Modify (Get always reports the library part's own
# default hotspot offset regardless of what is sent) - same class of read-
# only-in-practice field as Morph's bodyType/edgeType.
offset: Coordinate2D | None = None
# Use a fixed rotation angle. Reported accurately on Get, but confirmed live
# that Archicad silently discards this value through both Create and Modify.
useFixedAngle: bool | None = None
isAutoOnStoryVisibility: bool | None = None
visibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional GDL parameters to set by name, after dimensions. The value is a
# number, a boolean or a string; array parameters are not supported. A or B
# also set the size. An unknown name or a value of the wrong type fails the
# item, and nothing is created for it.
parameters: list[ElementGDLParameterData] | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
ObjectDetails ¶
Shared shape for Object and Lamp elements (both use the same API_ObjectType struct). lightColor/lightIsOn only apply to Lamps. Per the Archicad SDK's own remarks, per-story visibility (visibility.showRelAbove/showRelBelow) and visibility.linkToSettings.newCreationMode were 'not extended' for Object/Lamp the way they were for other element types - still settable here for schema symmetry, but Archicad may silently ignore them.
libPart: LibPartDetails
ownerElementId: ElementId | None = None
ownerElementType: ElementType | None = None
# The placement point, z absolute (the home story level plus the offset).
# ModifyObjects and ModifyLamps take it back with the same key (and as
# coordinates).
origin: Coordinate3D
dimensions: Coordinate3D
angle: float
pen: int | None = None
lineTypeId: AttributeId | None = None
# Material/Surface override (API_ObjectType.mat).
surfaceId: AttributeId | None = None
sectionFillId: AttributeId | None = None
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Use the pen defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line type defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the materials defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
# Use the section attributes defined in the library part instead of 'sectionFi
# llId'/'sectionFillPen'/'sectionFillBackgroundPen'/'sectionContourPen'.
useObjectSectionAttributes: bool | None = None
reflected: bool | None = None
# Use the A/B (dimensions.x/dimensions.y) values as fixed sizes.
useFixSize: bool | None = None
# 0-based index of the hotspot to keep fixed when the object is resized (raw
# API_ObjectType.fixPoint value, not 1-based).
fixPoint: int | None = None
# Offset of the symbol's origin from the insertion point. Reported accurately
# here, but confirmed live that Archicad silently discards this value through
# both Create and Modify (always reports the library part's own default
# hotspot offset regardless of what is sent) - same class of read-only-in-
# practice field as Morph's bodyType/edgeType.
offset: Coordinate2D | None = None
# Use a fixed rotation angle (API_ObjectType.fixedAngle - stored as Int32 in
# the API despite being boolean in practice). Reported accurately here, but
# confirmed live that Archicad silently discards this value through both
# Create and Modify.
useFixedAngle: bool | None = None
# Recalculate per-story visibility automatically from the object's vertical
# extent ('All Relevant Stories').
isAutoOnStoryVisibility: bool | None = None
# Lamp only. Reported accurately here, but confirmed live that Archicad
# silently discards this value through both Create and Modify (always reports
# the library part's own default light color). lightIsOn (the on/off state)
# does not have this problem.
lightColor: ColorRGB | None = None
# Lamp only.
lightIsOn: bool | None = None
visibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
Import from multiconn_archicad.models.tapir.types.
ObjectType ¶
The type of library part the dialog lets the user open. Default: Label.
LABEL = 'Label'
ZONE_STAMP = 'ZoneStamp'
Import from multiconn_archicad.models.tapir.types.
ObjectWithDetails ¶
elementId: ElementId
coordinates: Coordinate3D | None = None
# The new placement as GetDetailsOfElements reads it (origin, z absolute), the
# same as coordinates, so an element read can be sent back. Ignored when
# coordinates is given.
origin: Coordinate3D | None = None
dimensions: Dimensions3D | None = None
angle: float | None = None
pen: int | None = None
lineTypeId: AttributeId | None = None
# Material/Surface override (API_ObjectType.mat).
surfaceId: AttributeId | None = None
sectionFillId: AttributeId | None = None
# Foreground pen of the section fill.
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
useObjectPens: bool | None = None
useObjectLineTypes: bool | None = None
useObjectMaterials: bool | None = None
useObjectSectionAttributes: bool | None = None
reflected: bool | None = None
useFixSize: bool | None = None
# 0-based index of the hotspot to keep fixed (raw API_ObjectType.fixPoint
# value, not 1-based).
fixPoint: int | None = None
# Offset of the symbol's origin from the insertion point. Reported accurately
# on Get, but confirmed live that Archicad silently discards this value
# through both Create and Modify (Get always reports the library part's own
# default hotspot offset regardless of what is sent) - same class of read-
# only-in-practice field as Morph's bodyType/edgeType.
offset: Coordinate2D | None = None
# Use a fixed rotation angle. Reported accurately on Get, but confirmed live
# that Archicad silently discards this value through both Create and Modify.
useFixedAngle: bool | None = None
isAutoOnStoryVisibility: bool | None = None
visibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningAnchor ¶
The anchor point of the opening's polygon.
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
OpeningConstraint ¶
How the opening's orientation is constrained.
FORCED_VERTICAL = 'ForcedVertical'
FORCED_HORIZONTAL = 'ForcedHorizontal'
ALIGNED = 'Aligned'
FREE = 'Free'
Import from multiconn_archicad.models.tapir.types.
OpeningData ¶
ownerElementId: ElementId
basePoint: Coordinate3D
width: float | None = None
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningDefaultFloorPlanParameters ¶
floorPlanDisplayMode: OpeningFloorPlanDisplayMode | None = None
dividedOpeningMode: OpeningDividedMode | None = None
openEdgeStyle: OpeningEdgeStyle | None = None
# Whether the reference axis of the opening is shown on the floor plan.
showReferenceAxis: bool | None = None
referenceAxisPen: int | None = None
# The line type of the reference axis.
referenceAxisLineTypeId: AttributeId | None = None
# How far the reference axis reaches beyond the opening.
referenceAxisOverhang: float | None = None
# Whether the cut surfaces use the line of the cut elements instead of
# cutSurfacesLinePen and cutSurfacesLineTypeId.
cutSurfacesUseLineOfCutElements: bool | None = None
cutSurfacesLinePen: int | None = None
cutSurfacesLineTypeId: AttributeId | None = None
# Whether the outlines use the line of the cut elements instead of the uncut
# and overhead lines below.
outlinesUseLineOfCutElements: bool | None = None
outlinesUncutLinePen: int | None = None
outlinesUncutLineTypeId: AttributeId | None = None
outlinesOverheadLinePen: int | None = None
outlinesOverheadLineTypeId: AttributeId | None = None
useCoverFills: bool | None = None
# Whether the cover fills are the fills of the cut elements instead of
# coverFillId.
coverFillsUseFillsOfCutElements: bool | None = None
# The fill of the cover fills.
coverFillId: AttributeId | None = None
# Foreground pen of the cover fills.
coverFillPen: int | None = None
# Background pen of the cover fills; 0 makes the background transparent and -1
# gives it the window background color.
coverFillBackgroundPen: int | None = None
coverFillOrientation: HatchOrientationType | None = None
# The orientation and distortion of the cover fill. Left out when Archicad
# gives none.
coverFillTransformation: CoverFillTransformation | None = None
# The id of the library part drawn as the symbol of the cut opening. Left out
# when the opening has no cut symbol.
cutSymbolLibPartId: UUID | None = None
# The id of the library part drawn as the symbol of the uncut opening. Left
# out when the opening has no uncut symbol.
unCutSymbolLibPartId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningDetails ¶
elementId: ElementId
# Whether the opening still exists in the project.
exists: bool
# The element the opening was placed in. Left out when the opening has none.
parentElementId: ElementId | None = None
# The elements the opening cuts.
cutElements: list[ElementIdArrayItem]
# The openings Archicad reports as connected to this one. Left out when they
# cannot be read.
connectedOpenings: list[ElementIdArrayItem] | None = None
geometry: OpeningGeometry
extrusionParameters: OpeningExtrusionParameters
Import from multiconn_archicad.models.tapir.types.
OpeningDividedMode ¶
How the parts of an opening divided by the floor plan cut are shown.
DISCONNECTED = 'Disconnected'
CONNECTED = 'Connected'
Import from multiconn_archicad.models.tapir.types.
OpeningEdgeStyle ¶
How the open edges of the opening are shown on the floor plan.
HIDE = 'Hide'
SHOW_UNCUT = 'ShowUncut'
SHOW_OVERHEAD = 'ShowOverhead'
Import from multiconn_archicad.models.tapir.types.
OpeningExtrusionParameters ¶
The size and extrusion settings. A size Archicad does not give for the opening's shape is left out.
constraint: OpeningConstraint | None = None
limitType: OpeningLimitType | None = None
linkedStatus: OpeningLinkedStatus | None = None
shapeType: OpeningShapeType | None = None
width: float | None = None
height: float | None = None
anchor: OpeningAnchor
anchorAltitude: float | None = None
extrusionStartOffset: float | None = None
finiteBodyLength: float | None = None
isExtrusionSurfaceOverridden: bool
# The surface of the extrusion faces. Only given when it is overridden.
extrusionSurfaceId: AttributeId | None = None
isEndSurfaceOverridden: bool
# The surface of the end faces. Only given when it is overridden.
endSurfaceId: AttributeId | None = None
areOverriddenSurfacesLinked: bool
Import from multiconn_archicad.models.tapir.types.
OpeningExtrusionParametersUpdate ¶
The size and extrusion settings to change, with the names GetOpeningDetails returns. The ones left out are not changed.
# How the opening's orientation is constrained.
constraint: OpeningConstraint | None = None
# How far the opening's extrusion reaches.
limitType: OpeningLimitType | None = None
# Whether the opening's width and height are linked. While they are linked,
# giving both width and height makes a square of the height; give NotLinked
# with them to get a different width and height.
linkedStatus: OpeningLinkedStatus | None = None
# The shape of the opening's polygon.
shapeType: OpeningShapeType | None = None
# The opening's width. See linkedStatus.
width: float | None = None
# The opening's height. See linkedStatus.
height: float | None = None
anchor: OpeningAnchor | None = None
anchorAltitude: float | None = None
extrusionStartOffset: float | None = None
finiteBodyLength: float | None = None
isExtrusionSurfaceOverridden: bool | None = None
# The surface of the extrusion faces. Only used when the surface is
# overridden.
extrusionSurfaceId: AttributeId | None = None
isEndSurfaceOverridden: bool | None = None
# The surface of the end faces. Only used when the surface is overridden.
endSurfaceId: AttributeId | None = None
areOverriddenSurfacesLinked: bool | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningFloorPlanDetails ¶
elementId: ElementId
floorPlanParameters: OpeningFloorPlanParameters
Import from multiconn_archicad.models.tapir.types.
OpeningFloorPlanDisplayMode ¶
How the opening is shown on the floor plan.
SYMBOLIC = 'Symbolic'
SYMBOLIC_CUT = 'SymbolicCut'
SYMBOLIC_OVERHEAD = 'SymbolicOverhead'
PROJECTED = 'Projected'
Import from multiconn_archicad.models.tapir.types.
OpeningFloorPlanModificationData ¶
elementId: ElementId
floorPlanParameters: OpeningFloorPlanParametersUpdate
Import from multiconn_archicad.models.tapir.types.
OpeningFloorPlanParameters ¶
# How the opening is shown on the floor plan.
floorPlanDisplayMode: OpeningFloorPlanDisplayMode | None = None
# How the parts of an opening divided by the floor plan cut are shown.
dividedOpeningMode: OpeningDividedMode | None = None
# How the open edges of the opening are shown on the floor plan.
openEdgeStyle: OpeningEdgeStyle | None = None
# Whether the reference axis of the opening is shown on the floor plan.
showReferenceAxis: bool
referenceAxisPen: int
# The line type of the reference axis.
referenceAxisLineTypeId: AttributeId
# How far the reference axis reaches beyond the opening.
referenceAxisOverhang: float
# Whether the cut surfaces use the line of the cut elements instead of
# cutSurfacesLinePen and cutSurfacesLineTypeId.
cutSurfacesUseLineOfCutElements: bool
cutSurfacesLinePen: int
cutSurfacesLineTypeId: AttributeId
# Whether the outlines use the line of the cut elements instead of the uncut
# and overhead lines below.
outlinesUseLineOfCutElements: bool
outlinesUncutLinePen: int
outlinesUncutLineTypeId: AttributeId
outlinesOverheadLinePen: int
outlinesOverheadLineTypeId: AttributeId
useCoverFills: bool
# Whether the cover fills are the fills of the cut elements instead of
# coverFillId.
coverFillsUseFillsOfCutElements: bool
# The fill of the cover fills.
coverFillId: AttributeId
# Foreground pen of the cover fills.
coverFillPen: int
# Background pen of the cover fills; 0 makes the background transparent and -1
# gives it the window background color.
coverFillBackgroundPen: int
coverFillOrientation: HatchOrientationType
# The orientation and distortion of the cover fill. Left out when Archicad
# gives none.
coverFillTransformation: CoverFillTransformation | None = None
# The id of the library part drawn as the symbol of the cut opening. Left out
# when the opening has no cut symbol.
cutSymbolLibPartId: UUID | None = None
# The id of the library part drawn as the symbol of the uncut opening. Left
# out when the opening has no uncut symbol.
unCutSymbolLibPartId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningFloorPlanParametersUpdate ¶
The floor plan parameters to change, with the names GetOpeningFloorPlanParameters returns. The ones left out are not changed.
# How the opening is shown on the floor plan.
floorPlanDisplayMode: OpeningFloorPlanDisplayMode | None = None
# How the parts of an opening divided by the floor plan cut are shown.
dividedOpeningMode: OpeningDividedMode | None = None
# How the open edges of the opening are shown on the floor plan.
openEdgeStyle: OpeningEdgeStyle | None = None
# Whether the reference axis of the opening is shown on the floor plan.
showReferenceAxis: bool | None = None
referenceAxisPen: int | None = None
# The line type of the reference axis.
referenceAxisLineTypeId: AttributeId | None = None
# How far the reference axis reaches beyond the opening.
referenceAxisOverhang: float | None = None
# Whether the cut surfaces use the line of the cut elements instead of
# cutSurfacesLinePen and cutSurfacesLineTypeId.
cutSurfacesUseLineOfCutElements: bool | None = None
cutSurfacesLinePen: int | None = None
cutSurfacesLineTypeId: AttributeId | None = None
# Whether the outlines use the line of the cut elements instead of the uncut
# and overhead lines below.
outlinesUseLineOfCutElements: bool | None = None
outlinesUncutLinePen: int | None = None
outlinesUncutLineTypeId: AttributeId | None = None
outlinesOverheadLinePen: int | None = None
outlinesOverheadLineTypeId: AttributeId | None = None
useCoverFills: bool | None = None
# Whether the cover fills are the fills of the cut elements instead of
# coverFillId.
coverFillsUseFillsOfCutElements: bool | None = None
# The fill of the cover fills.
coverFillId: AttributeId | None = None
# Foreground pen of the cover fills.
coverFillPen: int | None = None
# Background pen of the cover fills; 0 makes the background transparent and -1
# gives it the window background color.
coverFillBackgroundPen: int | None = None
coverFillOrientation: HatchOrientationType | None = None
# The orientation and distortion of the cover fill. Left out when Archicad
# gives none.
coverFillTransformation: CoverFillTransformation | None = None
# The id of the library part drawn as the symbol of the cut opening. Left out
# when the opening has no cut symbol.
cutSymbolLibPartId: UUID | None = None
# The id of the library part drawn as the symbol of the uncut opening. Left
# out when the opening has no uncut symbol.
unCutSymbolLibPartId: UUID | None = None
# Removes the cut symbol of the opening. Cannot be given together with
# cutSymbolLibPartId.
clearCutSymbol: bool | None = None
# Removes the uncut symbol of the opening. Cannot be given together with
# unCutSymbolLibPartId.
clearUnCutSymbol: bool | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningGeometry ¶
# The anchor point of the opening in world coordinates.
anchorPoint: Coordinate3D
# The direction the opening is extruded in.
extrusionDirection: Coordinate3D
# The X axis of the plane of the opening's polygon.
xAxis: Coordinate3D
# The Y axis of the plane of the opening's polygon.
yAxis: Coordinate3D
# The vertices of the opening's polygon, in the plane of xAxis and yAxis,
# measured from anchorPoint (the origin of the opening's own coordinate
# system). Left out when the opening has no polygon.
polygon: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningLimits ¶
Matches openings whose extrusion limits equal this: infinite, limited on both sides, limited on one side.
INFINITE = 'Infinite'
BOTH_SIDES = 'BothSides'
ONE_SIDE = 'OneSide'
Import from multiconn_archicad.models.tapir.types.
OpeningLimitsNot ¶
Matches openings whose extrusion limits do not equal this.
INFINITE = 'Infinite'
BOTH_SIDES = 'BothSides'
ONE_SIDE = 'OneSide'
Import from multiconn_archicad.models.tapir.types.
OpeningLimitType ¶
How far the opening's extrusion reaches.
INFINITE = 'Infinite'
FINITE = 'Finite'
HALF_INFINITE = 'HalfInfinite'
Import from multiconn_archicad.models.tapir.types.
OpeningLinkedStatus ¶
Whether the opening's width and height are linked. Left out when Archicad gives none.
LINKED = 'Linked'
NOT_LINKED = 'NotLinked'
Import from multiconn_archicad.models.tapir.types.
OpeningModificationData ¶
elementId: ElementId
# The new element the opening belongs to.
parentElementId: ElementId | None = None
# Elements the opening should cut as well.
addCutElements: list[ElementIdArrayItem] | None = None
# Elements the opening should no longer cut.
removeCutElements: list[ElementIdArrayItem] | None = None
# The new shape of the opening, in the plane of the xAxis and yAxis returned
# by GetOpeningDetails. Archicad keeps only the shape: it places the polygon
# on the opening's anchor point by the opening's anchor
# (extrusionParameters.anchor), so with the Center anchor the polygon is
# centred on the anchor point, and an offset in the given coordinates is
# dropped. The polygon does not move the opening; GetOpeningDetails reads it
# back measured from the anchor point.
polygon: list[Coordinate2D] | None = None
# A transformation applied to the opening's geometry: a 3x4 matrix of 12
# numbers, row by row, the 4th, 8th and 12th numbers being the translation
# along X, Y and Z. For example [1,0,0,1, 0,1,0,0, 0,0,1,0] is a translation
# by 1 along X. The matrix goes to Archicad as it is, and Archicad refuses a
# 3x3 part that is not orthogonal or that scales with the error 'Can transform
# only with ortogonal matrix with no scaling.' Archicad 29 has also been
# reported to refuse a pure translation with that error (#2957); the cause is
# not known yet.
transformation: list[float] | None = None
extrusionParameters: OpeningExtrusionParametersUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningOrientation ¶
Matches openings whose orientation equals this.
VERTICAL = 'Vertical'
HORIZONTAL = 'Horizontal'
ALIGNED = 'Aligned'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
OpeningOrientationNot ¶
Matches openings whose orientation does not equal this.
VERTICAL = 'Vertical'
HORIZONTAL = 'Horizontal'
ALIGNED = 'Aligned'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
OpeningPlacementData ¶
# The element to place the opening in.
parentElementId: ElementId
# Where to place the opening. A point off the parent element's surface is
# moved to the closest point of the surface.
point: Coordinate3D
# The size and extrusion settings to change, with the names GetOpeningDetails
# returns. The ones left out are not changed.
extrusionParameters: OpeningExtrusionParametersUpdate | None = None
# The floor plan settings to change, with the names GetOpeningDefault returns.
# The ones left out are not changed.
floorPlanParameters: OpeningFloorPlanParametersUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
OpeningRelationsOfElement ¶
Relations of a curtain wall panel, skylight, window or door: the zones on the two sides of the opening.
openingRelations: OpeningRelations
Import from multiconn_archicad.models.tapir.types.
OpeningRevealOffsetData ¶
# A window or door placed in a wall.
elementId: ElementId
# Reveal depth offset measured from the core skin of the owner wall, to
# convert to the wall side reference.
coreOffset: float | None = None
# Reveal depth offset measured from the side of the owner wall, to convert to
# the core skin reference.
sideOffset: float | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningRevealOffsets ¶
# Reveal depth offset measured from the core skin of the owner wall.
coreOffset: float
# Reveal depth offset measured from the side of the owner wall.
sideOffset: float
Import from multiconn_archicad.models.tapir.types.
OpeningShape ¶
Matches openings whose shape equals this.
SQUARE = 'Square'
RECTANGLE = 'Rectangle'
CIRCLE = 'Circle'
ELLIPSE = 'Ellipse'
POLYGONAL = 'Polygonal'
Import from multiconn_archicad.models.tapir.types.
OpeningShapeNot ¶
Matches openings whose shape does not equal this.
SQUARE = 'Square'
RECTANGLE = 'Rectangle'
CIRCLE = 'Circle'
ELLIPSE = 'Ellipse'
POLYGONAL = 'Polygonal'
Import from multiconn_archicad.models.tapir.types.
OpeningShapeType ¶
The shape of the opening's polygon.
RECTANGULAR = 'Rectangular'
CIRCULAR = 'Circular'
POLYGONAL = 'Polygonal'
Import from multiconn_archicad.models.tapir.types.
OpeningsWithDetail ¶
elementId: ElementId
# New base point of the opening: its bottom left corner in world space, the
# same point CreateOpenings takes.
basePoint: Coordinate3D | None = None
# New width of the opening.
width: float | None = None
# New height of the opening. The bottom edge stays where it is, the opening
# grows or shrinks upwards.
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningSymbolParameter ¶
# The name of the parameter.
name: str
type: OpeningSymbolParameterType
# The 1st dimension of an array parameter.
dimension1: int | None = None
# The 2nd dimension of an array parameter, 1 for a one-dimensional array.
dimension2: int | None = None
# The value of the parameter as the parameter list holds it: a number, a
# boolean, a string, or 'On' or 'Off' for a LightSwitch. For an array
# parameter, a list of its dimension1 x dimension2 items, the first index
# outer.
value: Any
Import from multiconn_archicad.models.tapir.types.
OpeningSymbolParameters ¶
elementId: ElementId
# The GDL parameters, in the format GetGDLParametersOfElements uses.
# Separators, titles and dictionary parameters have no value here and are left
# out.
cutSymbolParameters: list[OpeningSymbolParameter] | None = None
# The GDL parameters, in the format GetGDLParametersOfElements uses.
# Separators, titles and dictionary parameters have no value here and are left
# out.
unCutSymbolParameters: list[OpeningSymbolParameter] | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningSymbolParametersUpdate ¶
elementId: ElementId
# The GDL parameters to change, by name, in the format
# SetGDLParametersOfElements uses. The parameters left out are not changed.
cutSymbolParameters: list[OpeningSymbolParameterUpdate] | None = None
# The GDL parameters to change, by name, in the format
# SetGDLParametersOfElements uses. The parameters left out are not changed.
unCutSymbolParameters: list[OpeningSymbolParameterUpdate] | None = None
Import from multiconn_archicad.models.tapir.types.
OpeningSymbolParameterType ¶
The type of the parameter.
INTEGER = 'Integer'
LENGTH = 'Length'
ANGLE = 'Angle'
REAL_NUMBER = 'RealNumber'
LIGHT_SWITCH = 'LightSwitch'
RGB_COLOR = 'RGBColor'
INTENSITY = 'Intensity'
LINE_TYPE = 'LineType'
MATERIAL = 'Material'
FILL_PATTERN = 'FillPattern'
PEN_COLOR = 'PenColor'
STRING = 'String'
BOOLEAN = 'Boolean'
BUILDING_MATERIAL = 'BuildingMaterial'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.types.
OpeningSymbolParameterUpdate ¶
# The name of the parameter.
name: str
# The 1-based first index of the one item of an array parameter to change.
# Only with a single value.
index1: int | None = None
# The 1-based second index of the item to change, only together with index1.
# Defaults to 1.
index2: int | None = None
# The new value, in the format the parameter list was read in. For an array
# parameter without index1, a list of all of its items, flat (the first index
# outer) or as a list of rows; resizing an array is not supported.
value: Any
Import from multiconn_archicad.models.tapir.types.
OpeningTransformation ¶
elementId: ElementId
# The global-to-local matrix (API_Tranmat), the inverse of localToGlobal: the
# 12 values of a 3x4 matrix, row by row, so x' = m[0]*x + m[1]*y + m[2]*z +
# m[3], y' = m[4]*x + ... + m[7], z' = m[8]*x + ... + m[11].
globalToLocal: list[float]
# The local-to-global matrix, in the same layout: the matrix
# ACAPI_Element_GetOpeningTransformation returns for a Window, Door or
# Skylight, or the one built from the geometry of an Opening element.
localToGlobal: list[float]
# The origin of the opening's local coordinate system in world coordinates,
# from localToGlobal. For an Opening element this is its anchor point.
origin: Coordinate3D
# The local X axis in world coordinates, from localToGlobal.
xAxis: Coordinate3D
# The local Y axis in world coordinates, from localToGlobal.
yAxis: Coordinate3D
# The local Z axis in world coordinates, from localToGlobal. For an Opening
# element it is X × Y, which points against its extrusion direction.
zAxis: Coordinate3D
# The determinant of the 3x3 part of localToGlobal: 1, or -1 for a mirrored
# Window, Door or Skylight.
determinant: float
# True when the matrix is left-handed (negative determinant), which Archicad
# returns for a mirrored opening.
isMirrored: bool
Import from multiconn_archicad.models.tapir.commands.
OpenLibraryPartInEditorParameters ¶
# The name of the loaded library part to open: its fileName (with extension,
# e.g. 'My Object.gsm') or its documentName, as returned by
# GetAvailableLibraryParts.
name: str
Import from multiconn_archicad.models.tapir.commands.
OpenLibraryPartInEditorResult ¶
OpenLibraryPartInEditorResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
OpenProjectParameters ¶
# The target project file to open.
projectFilePath: str
Import from multiconn_archicad.models.tapir.commands.
OpenProjectResult ¶
OpenProjectResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
OpenSettingsDialogParameters ¶
# Opens the default settings dialog of this tool. Without it, Archicad 28 and
# later open the settings of the selected elements, or of the current tool
# when nothing is selected; Archicad 25 to 27 open the default settings of the
# current tool.
elementType: ElementType | None = None
Import from multiconn_archicad.models.tapir.commands.
OpenSettingsDialogResult ¶
# True when the user closed the dialog with Cancel, false when with OK.
cancelled: bool
Import from multiconn_archicad.models.tapir.types.
Operator ¶
Evaluation operator. Default is 'equals'. hasValue (alias hasAnyValue) matches a property with a value, isUserUndefined (alias isUndefined) one set to undefined by the user, isNotAvailable one that does not apply to the element. isDefault matches a property whose value comes from its default, hasCustomValue one whose value was set on the element (also to undefined). Archicad gives the default status only together with the evaluated value, so isDefault and hasCustomValue take as long as reading the value, also for expression properties.
EQUALS = 'equals'
NOT_EQUALS = 'notEquals'
CONTAINS = 'contains'
GREATER_THAN = 'greaterThan'
LESS_THAN = 'lessThan'
GREATER_OR_EQUAL = 'greaterOrEqual'
LESS_OR_EQUAL = 'lessOrEqual'
HAS_VALUE = 'hasValue'
HAS_ANY_VALUE = 'hasAnyValue'
IS_UNDEFINED = 'isUndefined'
IS_USER_UNDEFINED = 'isUserUndefined'
IS_NOT_AVAILABLE = 'isNotAvailable'
IS_DEFAULT = 'isDefault'
HAS_CUSTOM_VALUE = 'hasCustomValue'
Import from multiconn_archicad.models.tapir.types.
OutlineArc ¶
begIndex: int
endIndex: int
arcAngle: float
Import from multiconn_archicad.models.tapir.types.
OverriddenMaterial ¶
A surface material that may override the one inherited from the element's structure (building material, composite or profile).
# True if the material is overridden on the element level.
overridden: bool
attributeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
OverriddenPen ¶
A pen index that may override the one inherited from the element's structure. On Archicad versions where the underlying element does not support this override, 'overridden' is always false.
# True if the pen is overridden on the element level.
overridden: bool
penIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
OverriddenValue ¶
A value the active graphic override combination may replace. 'overridden' tells whether it does; only then the value is given: 'attributeId' for line types, fills and surfaces, 'penIndex' for pens, 'color' for background pens and surfaces set to a color.
overridden: bool
attributeId: AttributeId | None = None
penIndex: int | None = None
color: ColorRGB | None = None
Import from multiconn_archicad.models.tapir.types.
OverrideRuleId ¶
The graphic override rule. Only for source overrideRule.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
OwnerAttributeType ¶
The type of the attribute that refers to the missing one. Only for source attribute.
COMPOSITE = 'composite'
BUILDING_MATERIAL = 'buildingMaterial'
SURFACE = 'surface'
MEP_SYSTEM = 'mepSystem'
PROFILE = 'profile'
P¶
Import from multiconn_archicad.models.tapir.types.
PanelConnectionHole ¶
The parameters of the panel connection hole.
# Depth of the panel connection hole.
d: float
# Width of the panel connection hole.
w: float
Import from multiconn_archicad.models.tapir.types.
Parameter ¶
# The name of the parameter.
name: str
# The display name of the parameter.
displayName: str
# The index of the parameter.
index: int
# The type of the parameter.
type: str
# The 1st dimension of array (in case of array value).
dimension1: int | None = None
# The 2nd dimension of array (in case of array value).
dimension2: int | None = None
# The value of the parameter.
value: Any
# The value description for numeric parameter.
valueDescription: str | None = None
# Per-item text labels for an array-type parameter, one per array element in
# dim1xdim2 order. Only present when the library part defines them.
itemDescriptions: list[str] | None = None
# The flags of the parameter.
flags: list[Flag]
Import from multiconn_archicad.models.tapir.types.
PartialStructureDisplay ¶
The Partial Structure Display mode of the current window.
ENTIRE_STRUCTURE = 'EntireStructure'
CORE_ONLY = 'CoreOnly'
WITHOUT_FINISHES = 'WithoutFinishes'
STRUCTURE_ONLY = 'StructureOnly'
Import from multiconn_archicad.models.tapir.types.
PartId ¶
Archicad's identifier of the plane within the multi-plane roof (API_ElemPartId). Missing for a single-plane roof.
# The main part of Archicad's identifier of the plane (API_ElemPartId main).
main: float
# The sub part of Archicad's identifier of the plane (API_ElemPartId sub).
sub: float
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PenTableAttribute ¶
A pen table attribute.
attributeId: AttributeId
index: int
name: str
isActiveForModel: bool | None = None
isActiveForLayout: bool | None = None
pens: list[PenTablePen] | None = None
Import from multiconn_archicad.models.tapir.types.
PenTableAttributeField ¶
IS_ACTIVE_FOR_MODEL = 'isActiveForModel'
IS_ACTIVE_FOR_LAYOUT = 'isActiveForLayout'
PENS = 'pens'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PenTableData ¶
Data to create a Pen Table.
# Indentifier of the existing Pen Table to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Pen Table to overwrite, ignored if overwriteExisting
# is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Pen Table with the
# given name will be overwritten. It must not be empty.
name: str
# Make this the active Pen Table for the model window. Defaults to false for a
# new Pen Table, or to the current value when overwriting an existing one.
isActiveForModel: bool | None = None
# Make this the active Pen Table for layouts. Defaults to false for a new Pen
# Table, or to the current value when overwriting an existing one.
isActiveForLayout: bool | None = None
# Identifier of the Pen Table whose 255 pens are used as the starting point,
# before the pens listed in the pens array are applied on top. Defaults to the
# Pen Table being overwritten itself (so unlisted pens keep their current
# color/width/description), or an arbitrary existing Pen Table in the project
# when creating a brand new one (or a plain black, 0.1 mm pen for all 255 if
# the project has no Pen Table at all yet).
sourceAttributeId: AttributeIdArrayItem | None = None
# The pens to set in the Pen Table, on top of the 255 pens copied from
# sourceAttributeId (or the current Pen Table, or an arbitrary existing one -
# see sourceAttributeId). Only list the pens you actually want to change.
pens: list[PenData] | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PenTarget ¶
Which active Pen Table to change: the one in effect for the model views (the default) or the one in effect for the layouts. The two can be the same Pen Table.
MODEL = 'model'
LAYOUT = 'layout'
Import from multiconn_archicad.models.tapir.types.
Persp ¶
# The position of the camera.
pos: Coordinate2D | None = None
# The position of the target.
target: Coordinate2D | None = None
isTwoPointPersp: bool | None = None
cameraZ: float | None = None
targetZ: float | None = None
distance: float | None = None
azimuth: float | None = None
viewCone: float | None = None
rollAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
PerspectiveProjectionParameters ¶
The parameters of a perspective projection of the 3D window.
# The position of the camera.
cameraPosition: Coordinate3D
# The position of the target point the camera looks at.
targetPosition: Coordinate3D
# The distance between the camera and the target.
distance: float
# The azimuth of the camera in degrees: the direction from the target to the
# camera, counterclockwise from the X axis. Archicad works it out from the
# camera and target positions, so a set value is replaced by that.
azimuth: float
# The view cone angle of the camera in degrees.
viewCone: float
# The roll angle of the camera.
rollAngle: float
# True for a two-point perspective (vertical edges stay vertical).
isTwoPointPersp: bool
# The sun position of the perspective. Get3DProjectionSettings always returns
# it; Set3DProjectionSettings changes only the values given and keeps the
# current sun when it is missing.
sun: ProjectionSunSettings | None = None
Import from multiconn_archicad.models.tapir.types.
PerspectiveProjectionSettings ¶
Requires perspective.
# Makes the projection axonometric. Only the given values change, in sun too;
# the others are kept from the current axonometry, or from the last one when
# the projection is a perspective.
axonometry: Axonometry | None = None
perspective: PerspectiveProjectionParameters
Import from multiconn_archicad.models.tapir.types.
PhotoRenderFormat ¶
Optional. The image file format; omitted, it comes from the extension of imageFilePath (.png, .jpg or .jpeg, .bmp, .tif or .tiff, .gif).
PNG = 'png'
JPG = 'jpg'
BMP = 'bmp'
TIFF = 'tiff'
GIF = 'gif'
Import from multiconn_archicad.models.tapir.commands.
PhotoRenderParameters ¶
# Absolute path of the image file to write. Its folder must exist: a missing
# folder is refused before anything is rendered. An existing file is
# overwritten, unless overwrite is false.
imageFilePath: str
# Optional, true by default. false refuses to render when a file already
# exists at imageFilePath, and writes nothing.
overwrite: bool | None = None
format: PhotoRenderFormat | None = None
# Optional. The rendering scene to render with, one of the names
# GetRenderingScenes returns. It is made the current scene first, as
# SetCurrentRenderingScene does, and stays current afterwards. Omitted, the
# current scene is used.
sceneName: str | None = None
# Optional. The width of the image in pixels (the Size field of the
# PhotoRendering Settings palette). Omitted, the width of the scene is used.
# The image settings of the scene are changed for this render only and
# restored afterwards.
width: int | None = None
# Optional. The height of the image in pixels (the Size field of the
# PhotoRendering Settings palette). Omitted, the height of the scene is used.
# The image settings of the scene are changed for this render only and
# restored afterwards.
height: int | None = None
# Optional. The resolution of the image in dpi (the Resolution field of the
# PhotoRendering Settings palette). Omitted, the resolution of the scene is
# used. The image settings of the scene are changed for this render only and
# restored afterwards.
resolution: int | None = None
Import from multiconn_archicad.models.tapir.commands.
PhotoRenderResult ¶
PhotoRenderResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
PickableAttributeType ¶
The type of the attributes whose folders the picker lists. Fill and Line need Archicad 27 or newer.
LAYER = 'Layer'
BUILDING_MATERIAL = 'BuildingMaterial'
COMPOSITE = 'Composite'
PROFILE = 'Profile'
SURFACE = 'Surface'
FILL = 'Fill'
LINE = 'Line'
Import from multiconn_archicad.models.tapir.commands.
PickAttributeFolderParameters ¶
attributeType: PickableAttributeType
# The title of the dialog. Default: Pick Attribute Folder.
title: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickAttributeFolderResult ¶
# True when the user closed the dialog with Cancel, false when with OK.
cancelled: bool
# The chosen folder; its path works as the targetFolder of
# MoveAttributesAndFolders. Only when not cancelled.
attributeFolder: AttributeFolder | None = None
Import from multiconn_archicad.models.tapir.commands.
PickAttributeParameters ¶
# The type of the attribute to pick. Fill and Line need Archicad 27 or newer.
# Composite lists the composites only.
attributeType: PickableAttributeType
# The attribute selected when the dialog opens. Without it the picker starts
# empty and OK is enabled once the user has picked an attribute.
attributeId: AttributeId | None = None
# The title of the dialog. Default: Pick Attribute.
title: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickAttributeResult ¶
# True when the user closed the dialog with Cancel, false when with OK.
cancelled: bool
# The type of the chosen attribute, the attributeType of the input. Only when
# not cancelled.
attributeType: AttributeType | None = None
# The chosen attribute. Only when not cancelled.
attributeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryFolderParameters ¶
# The default name the dialog offers for a new library folder. Default: New
# Library.
defaultName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryFolderResult ¶
# True when the user cancelled the dialog.
cancelled: bool
# The location of the chosen or created folder. It is not added to the
# libraries of the project; use AddLibraries for that. Only when cancelled is
# false.
path: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartFileParameters ¶
# Sets the dialog's file filter to General GDL Objects. Default: false.
generalGDLObjectsOnly: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartFileResult ¶
# True when the user cancelled the dialog or chose no valid library part.
cancelled: bool
# The location of the chosen library part. Only when cancelled is false.
path: str | None = None
# True when Archicad opened the chosen file in an external editor (Archicad 26
# and later; always false in Archicad 25). Only when cancelled is false.
openedInExternalEditor: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartParameters ¶
# Without a subtypeUnID the dialog lists the library parts of that tool.
# Object by default.
elementType: LibraryPartPickerElementType | None = None
# Limits the dialog to the library parts of this subtype: the unique ID of the
# subtype library part, its main and revision GUID in the form
# {main}-{revision}.
subtypeUnID: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartResult ¶
# True when the user closed the dialog with Cancel; then nothing else is
# returned.
cancelled: bool
# The library part the user chose. Absent when it could not be read.
libPart: LibPartDetails | None = None
# The unique ID of the chosen library part's subtype, as Archicad returned it.
subtypeUnID: str | None = None
# The GDL parameters of the chosen library part, with the values set in the
# dialog. Present when the user pressed OK.
parameters: list[StoredGDLParameter] | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartSaveLocationParameters ¶
# The location (library folder and file name) the dialog starts from. Default:
# <libraryPartType>.gsm in the embedded library of the project.
defaultPath: str | None = None
# Default: Object.
libraryPartType: LibraryPartSaveLocationType | None = None
# Lets the user save outside the embedded library. Default: false.
browseForFolder: bool | None = None
# The title of the dialog. Default: Archicad's own title.
title: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickLibraryPartSaveLocationResult ¶
# True when the user cancelled the dialog.
cancelled: bool
# The location the user chose to save the library part to. Nothing is saved
# there. Only when cancelled is false.
path: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickPictureFileResult ¶
# True when the user cancelled the dialog or chose no valid picture.
cancelled: bool
# The location of the chosen picture. Archicad adds the picture to the
# embedded library when it is not in it yet. Only when cancelled is false.
path: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PickZoneStampOrLabelFileParameters ¶
# The type of library part the dialog lets the user open. Default: Label.
objectType: ObjectType | None = None
Import from multiconn_archicad.models.tapir.commands.
PickZoneStampOrLabelFileResult ¶
# True when the user cancelled the dialog or chose no valid zone stamp or
# label.
cancelled: bool
# The location of the chosen zone stamp or label. Only when cancelled is
# false.
path: str | None = None
Import from multiconn_archicad.models.tapir.types.
PictureAnchorPoint ¶
The anchor point of the picture on a 3x3 grid of its box (API_PictureType::anchorPoint).
TOP_LEFT = 'TopLeft'
TOP_CENTER = 'TopCenter'
TOP_RIGHT = 'TopRight'
MIDDLE_LEFT = 'MiddleLeft'
CENTER = 'Center'
MIDDLE_RIGHT = 'MiddleRight'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_RIGHT = 'BottomRight'
Import from multiconn_archicad.models.tapir.types.
PictureData ¶
The parameters of the new Picture. Give the image either as a file (path) or as its bytes (imageData), not both.
# The full path of a PNG, JPEG, GIF, TIFF or BMP image file. The image is
# copied into the project: the picture does not change when the file changes
# or is deleted later.
path: str | None = None
# The PNG, JPEG, GIF, TIFF or BMP image file as base64 text, instead of path.
imageData: str | None = None
# Optional name of the picture. By default the file name of path, or empty for
# imageData.
name: str | None = None
# Where the anchor point of the picture is placed, in model units (on a layout
# in layout units).
position: Coordinate2D
# The point of the picture's box that is placed at position and that the
# picture is rotated around. BottomLeft by default.
anchorPoint: PictureAnchorPoint | None = None
# The width of the picture in model units. When only height is given, the
# width keeps the proportions of the image.
width: float | None = None
# The height of the picture in model units. When only width is given, the
# height keeps the proportions of the image.
height: float | None = None
# The rotation angle of the picture in radians, around its anchor point. 0 by
# default.
angle: float | None = None
# Mirror the picture to its local vertical axis. false by default.
mirrored: bool | None = None
# Draw the white pixels of the picture transparent. false by default.
transparent: bool | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the picture on. Optional parameter, by
# default the layer of the Picture tool defaults is used.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
PictureDetails ¶
The settings of a Picture element (an image placed with the Picture tool on a floor plan, worksheet, detail or layout).
# The name of the picture (API_PictureType::pictName), usually the name of the
# image file it was placed from.
name: str
# The MIME type of the image, e.g. image/png or image/jpeg. Empty when
# Archicad does not report it.
mimeType: str
# The box the picture is drawn in, in model units, before its rotation by
# angle. For an unmirrored picture this is API_PictureType::destBox; a
# mirrored picture is drawn one width away from its stored destBox (along the
# rotated x axis), and this box is the drawn one, so a mirrored and an
# unmirrored picture drawn at the same place report the same box.
box: BoundingBox2D
# Where the anchor point of the picture is, the point it is rotated around, in
# model units (on a layout in layout units): the anchorPoint of its box,
# worked out the way ModifyPictures places it, so ModifyPictures takes it back
# with the same key and the picture stays where it is. For an unmirrored
# picture it is the anchorPoint of box; for a mirrored one it follows
# ModifyPictures, which shifts the stored box by one width along x without the
# rotation.
position: Coordinate2D | None = None
# The width of the picture in model units: box.xMax - box.xMin.
width: float
# The height of the picture in model units: box.yMax - box.yMin.
height: float
# The width of the image in pixels.
pixelWidth: int
# The height of the image in pixels.
pixelHeight: int
# The rotation angle of the picture in radians.
angle: float
# Whether the picture is mirrored to its local vertical axis.
mirrored: bool
# Whether the white pixels of the picture are drawn transparent.
transparent: bool
anchorPoint: PictureAnchorPoint
Import from multiconn_archicad.models.tapir.types.
PictureWithDetails ¶
elementId: ElementId
# Where the anchor point of the picture is moved to, in model units (on a
# layout in layout units). When omitted, the anchor point stays where it is.
# GetDetailsOfElements reads it back with the same key, so the position read
# can be sent back.
position: Coordinate2D | None = None
# The new anchor point: the point of the picture's box that is placed at
# position, that stays in place when the size changes, and that the picture is
# rotated around. When given without position, the picture's box stays where
# it is and only the anchor point changes; on a rotated picture the rotation
# is then around the new anchor point, which can move the picture. When
# omitted, the anchor point is kept.
anchorPoint: PictureAnchorPoint | None = None
# The new width of the picture in model units. When only width is given, the
# height changes in proportion, so the picture keeps its current proportions.
width: float | None = None
# The new height of the picture in model units. When only height is given, the
# width changes in proportion, so the picture keeps its current proportions.
height: float | None = None
# The new rotation angle of the picture in radians, around its anchor point.
angle: float | None = None
# Mirror the picture to its local vertical axis. The picture's box stays where
# it is drawn.
mirrored: bool | None = None
# Draw the white pixels of the picture transparent.
transparent: bool | None = None
# The new name of the picture.
name: str | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PlaceInfo ¶
The place settings read back after the change. sunAngXY and sunAngZ are the sun position Archicad calculated for the place, date and time, in radians.
longitude: float
latitude: float
altitude: float
north: float
year: int
month: int
day: int
hour: int
minute: int
second: int
sumTime: bool
timeZoneInMinutes: int
timeZoneOffset: int
sunAngXY: float
sunAngZ: float
Import from multiconn_archicad.models.tapir.commands.
PlaceOpeningsParameters ¶
openingsData: list[OpeningPlacementData]
Import from multiconn_archicad.models.tapir.commands.
PlaceOpeningsResult ¶
# A list of element identifiers or errors.
elements: list[ElementIdArrayItem | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
PlaceSettingsUpdate ¶
The place settings to change (API_PlaceInfo), with its field names. Only the given keys are changed; an empty object changes nothing and returns the current settings.
# Longitude in degrees.
longitude: float | None = None
# Latitude in degrees.
latitude: float | None = None
# Altitude in meters.
altitude: float | None = None
# The north direction in radians.
north: float | None = None
year: int | None = None
month: int | None = None
day: int | None = None
hour: int | None = None
minute: int | None = None
second: int | None = None
# Whether summer time (+1 hour) is on.
sumTime: bool | None = None
# The time zone, in minutes from Greenwich.
timeZoneInMinutes: int | None = None
# Tells apart time zones with the same timeZoneInMinutes.
timeZoneOffset: int | None = None
Import from multiconn_archicad.models.tapir.types.
Plane ¶
# Archicad's identifier of the plane within the multi-plane roof
# (API_ElemPartId). Missing for a single-plane roof.
partId: PartId | None = None
# The plane as a single-plane roof: slope, pivot line, level and outline.
details: RoofDetails
Import from multiconn_archicad.models.tapir.types.
PlotterInfo ¶
# The name of the selected plotter.
name: str
# The model of the selected plotter.
model: str
Import from multiconn_archicad.models.tapir.types.
PolyArc ¶
Representation of an arc segment of a two dimensional polygon/polyline.
# Node index of one end point of the arc.
begIndex: int
# Node index of the other end point of the arc.
endIndex: int
# Angle of the arc; it is positive, if the arc is on the right-hand side of
# the straight segment.
arcAngle: float
Import from multiconn_archicad.models.tapir.types.
PolygonAncestry ¶
Read from the vertexAncestry and edgeAncestry of Archicad's API_RegularizedPoly; -1 marks a vertex or edge that Archicad created (for example at a self-intersection).
# One item per contour of this result: the outline first, then the holes in
# order.
contours: list[PolygonContourAncestry]
Import from multiconn_archicad.models.tapir.types.
PolygonContourAncestry ¶
# For each vertex of the contour, the input vertex it came from.
vertices: list[PolygonVertexAncestry]
# For each edge of the contour (edge i runs from vertex i to the next one),
# the input edge it came from.
edges: list[PolygonEdgeAncestry]
Import from multiconn_archicad.models.tapir.types.
PolygonEdgeAncestry ¶
An input vertex or edge: the contour (0 is the outline, k the hole at index k-1 of the request) and the vertex or edge in it (edge i runs from vertex i to the next one). Both are -1 when Archicad created it.
contourIndex: int
index: int
Import from multiconn_archicad.models.tapir.types.
PolygonInputMethod ¶
Polygon input method. 'General' = free polygon, 'Rect' = axis-aligned rectangle, 'RotRect' = rotated rectangle, 'Polyline' = open polyline.
GENERAL = 'General'
RECT = 'Rect'
ROT_RECT = 'RotRect'
POLYLINE = 'Polyline'
Import from multiconn_archicad.models.tapir.types.
PolygonRegularizationData ¶
# The 2D coordinates of the outline. A last coordinate equal to the first is
# ignored.
polygonCoordinates: list[Coordinate2D]
# Arcs of the outline.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
Import from multiconn_archicad.models.tapir.types.
PolygonVertexAncestry ¶
An input vertex or edge: the contour (0 is the outline, k the hole at index k-1 of the request) and the vertex or edge in it (edge i runs from vertex i to the next one). Both are -1 when Archicad created it.
contourIndex: int
index: int
Import from multiconn_archicad.models.tapir.types.
PolygonVertexId ¶
coordinate: Coordinate2D
# The 1-based index of the point among all the coordinates of the element's
# memo, across every contour. Give it as the inIndex of a witness point of
# CreateAssociativeDimensions, together with vertexId as its nodeId, for a
# point on this vertex; with line true and a coordinate on the edge from this
# point to the next, for a point on that edge.
inIndex: int
# The vertex ID Archicad stores for the point (API_ElementMemo vertexIDs). It
# is kept when vertices are inserted or deleted, so it does not follow the
# order of the points. Give it as the nodeId of a witness point of
# CreateAssociativeDimensions on this vertex (line false).
vertexId: int
# The edge ID Archicad stores for the edge from this point to the next one
# (API_ElementMemo edgeIDs). Like vertexId it is kept when the polygon is
# edited, and on an edited polygon it differs from vertexId. Give it as the
# nodeId of a witness point of CreateAssociativeDimensions on this edge (line
# true, inIndex of this point). Missing on the closing point of a contour,
# which starts no edge, and for elements whose memo has no edge IDs (#3034).
edgeId: int | None = None
Import from multiconn_archicad.models.tapir.types.
PolygonVertexIdContour ¶
# The points of the contour in the order of its polygonOutline in
# GetDetailsOfElements, the closing point included: the last point repeats the
# first one's position and vertexId.
points: list[PolygonVertexId]
Import from multiconn_archicad.models.tapir.types.
PolylineAncestry ¶
Read from the vertexAncestry and edgeAncestry of Archicad's API_RegularizedPoly; -1 marks a vertex or edge that Archicad created (for example at a self-intersection).
# For each point of the result, the index of the input point it came from.
vertices: list[PolylineVertexAncestry]
# For each segment of the result (segment i runs from point i to point i+1),
# the index of the input segment it came from.
edges: list[PolylineEdgeAncestry]
Import from multiconn_archicad.models.tapir.types.
PolylineData ¶
The parameters of the new Polyline.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new polyline. Polylines have no Element ID in
# Archicad 29: Archicad refuses it with error -2130313103
# (APIERR_BADELEMENTTYPE, element has no info string), and the item then
# answers with that error and creates no polyline. Leave it out unless your
# Archicad version keeps it (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the polyline on. Optional parameter, by
# default the current layer is used.
layerIndex: int | None = None
# Pen index of the polyline contour. Optional parameter.
linePenIndex: int | None = None
# Line type attribute index of the polyline contour. Optional parameter,
# ignored when lineTypeId is given.
lineTypeIndex: int | None = None
# Optional line type attribute of the polyline contour, as CreateLineElements
# and SetDetailsOfElements take it and GetDetailsOfElements returns it. Takes
# precedence over lineTypeIndex.
lineTypeId: AttributeId | None = None
# Is this a zone boundary line? Optional parameter.
roomSeparator: bool | None = None
drawSegmentMode: PolylineDrawSegmentMode | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads. By default the tool's (or the favorite's) setting is kept, and
# ends given a different size or pen are unlinked.
linkedArrowAttributes: bool | None = None
# Optional pen weight override in mm, greater than 0; -1 uses the weight of
# the pen.
penWeightMm: float | None = None
# The 2D coordinates of the polyline.
coordinates: list[Coordinate2D]
# The arcs of the polyline.
arcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
PolylineDetails ¶
coordinates: list[Coordinate2D]
# The arcs of the polyline.
arcs: list[PolyArc] | None = None
# Is this a zone boundary line?
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
drawSegmentMode: PolylineDrawSegmentMode | None = None
# The arrowhead at the start.
startArrow: LineArrowhead | None = None
# The arrowhead at the end.
endArrow: LineArrowhead | None = None
# Are the size and pen of the two arrowheads linked? Only present from
# Archicad 29.
linkedArrowAttributes: bool | None = None
zCoordinate: float
Import from multiconn_archicad.models.tapir.types.
PolylineDrawSegmentMode ¶
How the dashes of the polyline's line type are drawn: SegmentBySegment restarts the pattern on every segment, Continuous runs it over the whole polyline.
SEGMENT_BY_SEGMENT = 'SegmentBySegment'
CONTINUOUS = 'Continuous'
Import from multiconn_archicad.models.tapir.types.
PolylineEdgeAncestry ¶
An input point or segment by its index (segment i runs from point i to point i+1); -1 when Archicad created it.
index: int
Import from multiconn_archicad.models.tapir.types.
PolylineRegularizationData ¶
# The 2D coordinates of the polyline.
coordinates: list[Coordinate2D]
# The arcs of the polyline.
arcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
PolylineSettings ¶
Settings for modifying a Polyline. Setting coordinates replaces the entire polygon (single contour, no holes) and may change the number of vertices.
coordinates: list[Coordinate2D] | None = None
arcs: list[PolyArc] | None = None
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
drawSegmentMode: PolylineDrawSegmentMode | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; only the keys given are changed.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; only the keys given are changed.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads.
linkedArrowAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
PolylineVertexAncestry ¶
An input point or segment by its index (segment i runs from point i to point i+1); -1 when Archicad created it.
index: int
Import from multiconn_archicad.models.tapir.types.
PolylineWithDetails ¶
elementId: ElementId
# Pen index of the polyline contour. Optional parameter.
linePenIndex: int | None = None
# Line type attribute index of the polyline contour. Optional parameter,
# ignored when lineTypeId is given.
lineTypeIndex: int | None = None
# Optional line type attribute of the polyline contour, as CreateLineElements
# and SetDetailsOfElements take it and GetDetailsOfElements returns it. Takes
# precedence over lineTypeIndex.
lineTypeId: AttributeId | None = None
# Is this a zone boundary line? Optional parameter.
roomSeparator: bool | None = None
drawSegmentMode: PolylineDrawSegmentMode | None = None
# Optional new arrowhead at the start. Given, it is shown unless its visible
# is false; the type, size and pen left out are kept.
startArrow: LineArrowhead | None = None
# Optional new arrowhead at the end. Given, it is shown unless its visible is
# false; the type, size and pen left out are kept.
endArrow: LineArrowhead | None = None
# The new points of the polyline, replacing all of its points, as
# CreatePolylines takes them and GetDetailsOfElements returns them. Optional
# parameter.
coordinates: list[Coordinate2D] | None = None
# The arcs of the new polygon, with indices into coordinates (endIndex is
# begIndex + 1). Only taken with coordinates; without it the new polygon has
# straight segments only.
arcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
Position ¶
Whether the risers stand on the treads or behind them.
ON_TREAD = 'OnTread'
BEHIND_TREAD = 'BehindTread'
Import from multiconn_archicad.models.tapir.types.
PossibleNumericValue ¶
# The numeric value. Present for all flags except 'Step', which instead
# carries stepBegin/stepValue.
value: float | None = None
# The flag.
flag: str | None = None
# Only present when flag is 'Step': the value is stepBegin + n*stepValue for n
# >= 0.
stepBegin: float | None = None
# Only present when flag is 'Step' - see stepBegin.
stepValue: float | None = None
# The description of the value.
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
Preset ¶
OpeningEdges puts fixed points, not associated ones, at the edges of an Opening tool element as the section draws it: left and right for a horizontal direction, bottom and top for a vertical one. Archicad does not associate dimensions with openings in sections.
WALL_COMPOSITE_FACES = 'WallCompositeFaces'
WALL_SKIN_BORDERS = 'WallSkinBorders'
SLAB_COMPOSITE_FACES = 'SlabCompositeFaces'
SLAB_SKIN_BORDERS = 'SlabSkinBorders'
BEAM_OR_COLUMN_REF_LINE_END_POINTS = 'BeamOrColumnRefLineEndPoints'
BEAM_OR_COLUMN_BOUNDING_BOX_CORNERS = 'BeamOrColumnBoundingBoxCorners'
DOOR_WINDOW_WALL_HOLE_CORNERS = 'DoorWindowWallHoleCorners'
DOOR_WINDOW_MODEL_HOTSPOTS = 'DoorWindowModelHotspots'
OPENING_EDGES = 'OpeningEdges'
Import from multiconn_archicad.models.tapir.types.
PrintArea ¶
The area to print. The default is 'currentView'.
CURRENT_VIEW = 'currentView'
ENTIRE_DRAWING = 'entireDrawing'
MARQUEE = 'marquee'
Import from multiconn_archicad.models.tapir.types.
PrinterInfo ¶
# The name of the selected printer.
name: str
# The selected orientation: true for portrait, false for landscape.
portrait: bool
Import from multiconn_archicad.models.tapir.types.
PrinterPrintArea ¶
The area Archicad prints, as set in the print settings. 'unknown' for a value this add-on does not name.
CURRENT_VIEW = 'currentView'
ENTIRE_DRAWING = 'entireDrawing'
MARQUEE = 'marquee'
UNKNOWN = 'unknown'
Import from multiconn_archicad.models.tapir.commands.
PrintViewParameters ¶
# Print the grid. The default is false.
grid: bool | None = None
# Use fixed text size. The default is false.
fixText: bool | None = None
# Print scale. The default is 100.
scale: int | None = None
# The area to print. The default is 'currentView'.
printArea: PrintArea | None = None
Import from multiconn_archicad.models.tapir.commands.
PrintViewResult ¶
PrintViewResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ProductDomain ¶
ARCHITECTURE = 'Architecture'
MEP = 'MEP'
Import from multiconn_archicad.models.tapir.types.
ProfileAreaMethod ¶
The component area method of a profile skin (Profile Manager): the line or circle the skin's area is projected onto. None: no projection shape. Line: the line from lineBegin to lineEnd. Circle: the circle with center and radius. Coordinates are those of GetProfiles' skins[].outlineCoords.
type: ProfileAreaMethodType
# Start of the line. Needed for Line.
lineBegin: Coordinate2D | None = None
# End of the line. Needed for Line.
lineEnd: Coordinate2D | None = None
# Center of the circle. Needed for Circle.
center: Coordinate2D | None = None
# Radius of the circle, greater than 0. Needed for Circle.
radius: float | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileAreaMethodType ¶
NONE = 'None'
LINE = 'Line'
CIRCLE = 'Circle'
Import from multiconn_archicad.models.tapir.types.
ProfileAttribute ¶
A profile attribute.
attributeId: AttributeId
index: int
name: str
wallType: bool | None = None
beamType: bool | None = None
coluType: bool | None = None
handrailType: bool | None = None
otherGDLObjectType: bool | None = None
useWith: list[ProfileUseWith] | None = None
width: float | None = None
height: float | None = None
minimumWidth: float | None = None
minimumHeight: float | None = None
widthStretchable: bool | None = None
heightStretchable: bool | None = None
stretchZones: ProfileStretchZones | None = None
hasCoreSkin: bool | None = None
profileModifiers: list[ProfileModifier] | None = None
# The profile's skins (hatches), each with its building material/surface/fill,
# contour and cut-end line settings, and per-edge line data.
skins: list[ProfileSkin] | None = None
# The profile's opening reference lines (Profile Editor, "Opening Reference"):
# doors and windows in a wall with this profile are placed by them instead of
# by the profile's bounding box. Empty when the profile has none.
openingReferenceLines: list[ProfileOpeningReferenceLine] | None = None
# The positions of the profile's nominal width and height lines (Profile
# Editor), in the coordinates of skins[].outlineCoords. A profile without
# nominal size lines reports the bounds Archicad uses instead.
nominalSize: ProfileNominalSize | None = None
# The hotspots of the profile (Profile Editor), in the coordinates of
# skins[].outlineCoords.
hotspots: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileAttributeField ¶
WALL_TYPE = 'wallType'
BEAM_TYPE = 'beamType'
COLU_TYPE = 'coluType'
HANDRAIL_TYPE = 'handrailType'
OTHER_GDL_OBJECT_TYPE = 'otherGDLObjectType'
USE_WITH = 'useWith'
WIDTH = 'width'
HEIGHT = 'height'
MINIMUM_WIDTH = 'minimumWidth'
MINIMUM_HEIGHT = 'minimumHeight'
WIDTH_STRETCHABLE = 'widthStretchable'
HEIGHT_STRETCHABLE = 'heightStretchable'
STRETCH_ZONES = 'stretchZones'
HAS_CORE_SKIN = 'hasCoreSkin'
PROFILE_MODIFIERS = 'profileModifiers'
SKINS = 'skins'
SKIN_OUTLINES = 'skinOutlines'
OPENING_REFERENCE_LINES = 'openingReferenceLines'
NOMINAL_SIZE = 'nominalSize'
HOTSPOTS = 'hotspots'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ProfileData ¶
Data to create or modify a Profile. Its geometry (the cross-section shape) comes from sourceAttributeId (an existing Profile's geometry, copied), from newSkins (AC27+ only, caller-supplied polygon geometry), or both combined. When creating a brand-new Profile (overwriteExisting false, or true but no existing match), at least one of the two must be given. When overwriteExisting targets an existing Profile, both are optional - the existing Profile's own current geometry is preserved by default (e.g. to change only wallType, or to add newSkins on top of the unchanged existing shape). skinOverrides and newSkins' edgeOverrides target skins/edges by the identifiers/indices GetProfiles reports.
# Indentifier of the existing Profile to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Profile to overwrite, ignored if overwriteExisting is
# false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Profile with the given
# name will be overwritten. It must not be empty.
name: str
# Identifier of an existing Profile whose geometry (cross-section shape) will
# be copied as the starting point. Optional if newSkins is given: omit it to
# build the Profile's geometry entirely from newSkins instead of copying
# anything (AC27+ only).
sourceAttributeId: AttributeIdArrayItem | None = None
# Profile available for walls. Defaults to the source Profile's value.
wallType: bool | None = None
# Profile available for beams. Defaults to the source Profile's value.
beamType: bool | None = None
# Profile available for columns. Defaults to the source Profile's value.
coluType: bool | None = None
# Profile available for handrails. Defaults to the source Profile's value.
handrailType: bool | None = None
# Profile available for other GDL based objects. Defaults to the source
# Profile's value.
otherGDLObjectType: bool | None = None
# Modifications to apply to specific skins of the copied geometry, e.g. to
# change a skin's building material without rebuilding the profile's shape.
# Each skinId comes from a prior GetProfiles call's skins[].skinId on the
# source Profile (or, when overwriteExisting is true, on the Profile being
# overwritten).
skinOverrides: list[SkinOverride] | None = None
# Moves vertices of the copied (or, when overwriting, the preserved existing)
# geometry in place, e.g. to change the height of a wall profile by moving its
# top band, without rebuilding its skins: the skins keep their skinIds, edges
# and edge settings, so the profileModifiers, the stretch zones and every edge
# flag are kept. Applied in order, after skinOverrides and before newSkins.
# Hotspots and fixed modifier anchors inside the region are moved too, and so
# is a stretch zone limit inside it: a vertical stretch zone limit (a height)
# when the region has no xMin/xMax, a horizontal one when it has no yMin/yMax.
moveVertices: list[MoveVertice] | None = None
# AC27+ only. Adds brand-new skins built from caller-supplied polygon
# geometry, instead of (or in addition to) whatever was copied from
# sourceAttributeId. Combine with sourceAttributeId to add skins to a copied
# Profile, or omit sourceAttributeId to build a Profile's geometry entirely
# from newSkins.
newSkins: list[ProfileSkinData] | None = None
# AC27+ only. When overwriteExisting targets an existing Profile, discard
# every one of its existing skins (and any sourceAttributeId geometry given
# alongside it) before applying newSkins, instead of adding newSkins on top of
# the preserved existing geometry. Use this to fully replace a Profile's
# cross-section with a caller-authored shape while keeping its guid and scalar
# fields (wallType etc.) - e.g. to sync a Profile's geometry from another
# project, where sourceAttributeId can't be used because it only resolves
# within the same file. Also discards any existing profileModifiers, since
# those are tied to the specific geometry being replaced. Ignored when
# creating a brand-new Profile (there is nothing to discard yet).
replaceSkins: bool | None = None
# Replaces every opening reference line of the Profile (Profile Editor,
# "Opening Reference"; read them with GetProfiles' openingReferenceLines) with
# these lines; an empty array removes them all, so doors and windows in walls
# with this Profile are placed by its bounding box again. Omit to keep the
# lines the copied or overwritten Profile has. A wall profile normally has
# two, one on each side. Applied after skinOverrides, moveVertices and
# newSkins, in their final coordinates; the new lines take the pen and line
# type of the Profile's existing opening reference lines.
openingReferenceLines: list[ProfileOpeningReferenceLine] | None = None
# Adds offset modifiers (Profile Manager, Modifiers) to the Profile, read back
# with GetProfiles' profileModifiers. Applied after skinOverrides,
# moveVertices and newSkins, so edges and anchors refer to the final shape;
# their skinIds come from GetProfiles, so a Profile built from newSkins gets
# its modifiers in a second CreateProfiles call with overwriteExisting. A
# modifier's value is the distance its dimension measures on the shape: draw
# the shape so it measures the default value you want. Archicad has no
# function to delete one modifier: to remove modifiers, rebuild the Profile
# with replaceSkins (which drops them all) and add the ones to keep again.
newProfileModifiers: list[ProfileModifierCreationData] | None = None
# Renames offset modifiers of the Profile. Applied before newProfileModifiers.
renameProfileModifiers: list[ProfileModifierRename] | None = None
stretchZones: ProfileStretchZonesData | None = None
# Sets the nominal width and height lines of the Profile (Profile Editor; read
# them with GetProfiles' nominalSize) at these positions, replacing the ones
# it has. right must be greater than left and top greater than bottom. Applied
# after skinOverrides, moveVertices and newSkins, in their final coordinates.
# Omit to keep the Profile's nominal size lines.
nominalSize: ProfileNominalSize | None = None
# Adds hotspots to the Profile at these positions (Profile Editor; read them
# with GetProfiles' hotspots), in the final coordinates after skinOverrides,
# moveVertices and newSkins. The Profile's existing hotspots are kept:
# Archicad ties a hotspot on a skin vertex to that vertex, and the Archicad
# API cannot tie it again once removed, so hotspots cannot be removed or moved
# here. New hotspots take the settings of the Profile's first hotspot.
addHotspots: list[Coordinate2D] | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileEdge ¶
One edge of a profile skin's outline.
# Whether the edge takes the surface of the skin's building material. False
# when the edge has a custom surface (surfaceId).
surfaceFromBuildingMaterial: bool | None = None
# The custom surface of the edge (Profile Manager: Apply Custom Surface or
# Line Type to Profile Edge). Only when surfaceFromBuildingMaterial is false
# and a surface is set.
surfaceId: AttributeIdArrayItem | None = None
pen: int | None = None
lineTypeId: AttributeIdArrayItem | None = None
isVisibleLine: bool | None = None
isCutEndLine: bool | None = None
isInnerLine: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileEdgeOverride ¶
edgeIndex: int
pen: int | None = None
isVisibleLine: bool | None = None
# Whether the edge is an inner line of the profile (GetProfiles'
# edges[].isInnerLine).
isInnerLine: bool | None = None
# Whether the edge is a cut end line of the profile (GetProfiles'
# edges[].isCutEndLine).
isCutEndLine: bool | None = None
lineTypeId: AttributeIdArrayItem | None = None
# Kept for compatibility: makes the edge take the surface of the skin's
# building material, like surfaceFromBuildingMaterial true. The building
# material itself is not stored on the edge.
buildingMaterialId: AttributeIdArrayItem | None = None
# A custom surface for the edge (Profile Manager: Apply Custom Surface or Line
# Type to Profile Edge). Sets surfaceFromBuildingMaterial to false.
surfaceId: AttributeIdArrayItem | None = None
# True: the edge takes the surface of the skin's building material, its custom
# surface is no longer used. False: the edge uses its custom surface (give
# surfaceId if it has none yet). Applied after buildingMaterialId and
# surfaceId.
surfaceFromBuildingMaterial: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileModifier ¶
An offset modifier of the profile (Profile Manager, Modifiers): it moves edges of the profile's skins by the distance its dimension measures between two anchors. Its value is a live geometric measurement matching what the Profile Editor's dimension shows.
# Identifier of the modifier, stable for the lifetime of the profile. Pass it
# to CreateProfiles' renameProfileModifiers to rename the modifier.
modifierId: str | None = None
# User-authored label, e.g. 'Largeur support'. Present only if the profile's
# author assigned one.
name: str | None = None
# Present only when the parameter's dimension anchors could be resolved to
# concrete positions.
value: float | None = None
# The edges the modifier moves.
edges: list[ProfileModifierEdge] | None = None
# The anchor the modifier's dimension starts at.
begin: ProfileModifierAnchor | None = None
# The anchor the modifier's dimension ends at.
end: ProfileModifierAnchor | None = None
# The direction, in radians from the x axis, the dimension is measured along.
# Present only when the dimension has one; otherwise it is measured along its
# nominal direction.
projectionAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileModifierAnchor ¶
One end of an offset modifier's dimension. Fixed: a point (position). Vertex: a vertex of a skin (skinId, vertexIndex: a position in GetProfiles' skins[].outlineCoords, 1 or more). Edge: an edge of a skin (skinId, edgeIndex, as in ProfileModifierEdge), measured perpendicular to it. The other types follow the profile's bounding box corners or stretch zone limits and need nothing else.
type: ProfileModifierAnchorType
# The point of a Fixed anchor, in the coordinates of skins[].outlineCoords.
position: Coordinate2D | None = None
# The skin of a Vertex or Edge anchor, from GetProfiles' skins[].skinId.
skinId: str | None = None
# The vertex of a Vertex anchor: its position in the skin's outlineCoords.
vertexIndex: int | None = None
# The edge of an Edge anchor: edge i runs from outlineCoords[i] to
# outlineCoords[i + 1].
edgeIndex: int | None = None
# Edge anchor: whether the dimension grows to the right of the edge, seen from
# its start to its end. CreateProfiles sets it so the value grows as the edge
# moves away from the other anchor when it is omitted.
positiveSideOnRight: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileModifierAnchorType ¶
FIXED = 'Fixed'
VERTEX = 'Vertex'
EDGE = 'Edge'
BOUNDING_BOX_UPPER_LEFT = 'BoundingBoxUpperLeft'
BOUNDING_BOX_UPPER_RIGHT = 'BoundingBoxUpperRight'
BOUNDING_BOX_LOWER_LEFT = 'BoundingBoxLowerLeft'
BOUNDING_BOX_LOWER_RIGHT = 'BoundingBoxLowerRight'
STRETCH_ZONE_LEFT = 'StretchZoneLeft'
STRETCH_ZONE_RIGHT = 'StretchZoneRight'
STRETCH_ZONE_BOTTOM = 'StretchZoneBottom'
STRETCH_ZONE_TOP = 'StretchZoneTop'
UNDEFINED = 'Undefined'
Import from multiconn_archicad.models.tapir.types.
ProfileModifierCreationData ¶
# The modifier's name, unique in the Profile.
name: str
# The edges the modifier moves, at least one.
edges: list[ProfileModifierEdge]
# The anchor the modifier's dimension starts at, usually a Fixed point or a
# Vertex that does not move.
begin: ProfileModifierAnchor
# The anchor the modifier's dimension ends at, usually an Edge anchor on one
# of the moved edges.
end: ProfileModifierAnchor
# The direction, in radians from the x axis, to measure the dimension along,
# e.g. 0 for a horizontal offset. Omit to measure it along its nominal
# direction.
projectionAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileModifierEdge ¶
An edge of a profile skin that an offset modifier moves. Edge i of a skin runs from its outlineCoords[i] to outlineCoords[i + 1] (GetProfiles' skins[].outlineCoords, field skinOutlines); 0 and the last index are not edges of the drawn shape.
# The skin, from GetProfiles' skins[].skinId.
skinId: str
# The edge of the skin, the same position as in GetProfiles' skins[].edges.
edgeIndex: int
direction: ProfileModifierEdgeDirection | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileModifierEdgeDirection ¶
Which way Archicad moves the edge for a growing value, as it stores it. CreateProfiles works it out from the shape when it is omitted.
LEFT = 'Left'
RIGHT = 'Right'
Import from multiconn_archicad.models.tapir.types.
ProfileModifierRename ¶
# The modifier, from GetProfiles' profileModifiers[].modifierId.
modifierId: str
# The new name, unique in the Profile.
name: str
Import from multiconn_archicad.models.tapir.types.
ProfileNominalSize ¶
The nominal width and height lines of a profile (Profile Editor): the x of the left and right nominal width lines and the y of the bottom and top nominal height lines, in the coordinates of GetProfiles' skins[].outlineCoords. The nominal width is right - left, the nominal height top - bottom.
left: float
right: float
bottom: float
top: float
Import from multiconn_archicad.models.tapir.types.
ProfileOpeningReferenceLine ¶
An opening reference line of a profile, in the coordinates GetProfiles reports in skins[].outlineCoords (x across the wall, y up). Openings are placed between the lines, at the heights where they cross the opening.
# The start point of the line.
begin: Coordinate2D
# The end point of the line.
end: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
ProfileParameterList ¶
Matches elements by a Complex Profile parameter that holds one value per profile component, identified by its plain name (e.g. 'Epaisseur'). The criteria editor only offers equality for it. Archicad 29 (Archicad 27 drops it).
name: str
equals: float
Import from multiconn_archicad.models.tapir.types.
ProfileSkin ¶
One skin (hatch) of the profile's cross-section.
# Internal identifier of this skin, stable for the lifetime of the profile.
# Pass it back in CreateProfiles' skinOverrides to target this skin for
# modification.
skinId: str | None = None
buildingMaterialId: AttributeIdArrayItem | None = None
surfaceId: AttributeIdArrayItem | None = None
fillId: AttributeIdArrayItem | None = None
contourPen: int | None = None
contourLineTypeId: AttributeIdArrayItem | None = None
isCore: bool | None = None
isFinish: bool | None = None
visibleCutEndLines: bool | None = None
cutEndLinePen: int | None = None
cutEndLineTypeId: AttributeIdArrayItem | None = None
areaMethod: ProfileAreaMethod | None = None
edges: list[ProfileEdge] | None = None
# The skin's outline polygon vertices, present only when the skinOutlines
# field is requested alongside skins.
outlineCoords: list[Coordinate2D] | None = None
# Index (into outlineCoords) of the last vertex of each contour, for skins
# whose outline has holes or multiple contours.
outlineSubPolyEnds: list[int] | None = None
# Marks which consecutive outlineCoords pairs are connected by an arc instead
# of a straight edge.
outlineArcs: list[OutlineArc] | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileSkinContour ¶
# The 2D coordinates of this contour.
polygonCoordinates: list[Coordinate2D]
# Optional arcs along this contour's edges. begIndex/endIndex are 0-based
# positions within this contour's own polygonCoordinates and must be the two
# ends of one edge (consecutive vertices, either direction); the closing edge
# is n-1 -> 0 (n-1 -> n is also accepted). An arc that is not on an edge is
# refused with an error.
polygonArcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileSkinData ¶
One new skin (hatch). Its shape is one or more closed polygon contours: the first is the outer boundary, any further ones are holes cut out of it - the same polygon+holes convention as e.g. CreateSlabs' polygonCoordinates/polygonArcs/holes, just expressed as a list of contours instead of a separate holes array.
# Closed polygon contours forming this skin's cross-section, in the Profile's
# local coordinate system. Each contour is closed automatically - do not
# repeat its first vertex at the end.
contours: list[ProfileSkinContour]
buildingMaterialId: AttributeIdArrayItem | None = None
surfaceId: AttributeIdArrayItem | None = None
fillId: AttributeIdArrayItem | None = None
contourPen: int | None = None
contourLineTypeId: AttributeIdArrayItem | None = None
isCore: bool | None = None
isFinish: bool | None = None
visibleCutEndLines: bool | None = None
cutEndLinePen: int | None = None
cutEndLineTypeId: AttributeIdArrayItem | None = None
areaMethod: ProfileAreaMethod | None = None
# Per-edge pen/visibility/line type, targeted by 0-based edge index. Edge
# indices follow the same order as this skin's contours/polygonCoordinates:
# the outer contour's edges first (one edge per vertex, wrapping around), then
# each hole's, in the order the contours were given. Verify exact indices for
# a created skin via a follow-up GetProfiles call's skins[].edges before
# relying on them.
edgeOverrides: list[ProfileEdgeOverride] | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileStretchZone ¶
One stretch zone of a profile: the range between min and max is the part of the profile that stretches.
# The lower limit of the zone (the left one for a horizontal zone, the bottom
# one for a vertical zone).
min: float
# The upper limit of the zone (the right one for a horizontal zone, the top
# one for a vertical zone). Must be greater than min.
max: float
Import from multiconn_archicad.models.tapir.types.
ProfileStretchZones ¶
The stretch zones of a profile (Profile Manager > Modifiers: Horizontal Stretch and Vertical Stretch), in the coordinates of skins[].outlineCoords. A zone the profile does not have is omitted.
# The horizontal stretch zone (width), an x range. Present only when the
# profile is widthStretchable.
horizontal: ProfileStretchZone | None = None
# The vertical stretch zone (height), a y range. Present only when the profile
# is heightStretchable.
vertical: ProfileStretchZone | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileStretchZonesData ¶
Sets or removes the stretch zones of the Profile (Profile Manager > Modifiers: Horizontal Stretch and Vertical Stretch), so a wall, beam or column using it can change its width or height. A Profile with a horizontal zone is widthStretchable, one with a vertical zone heightStretchable. Applied last, so the coordinates are those of the final geometry, as GetProfiles reports them in skins[].outlineCoords and stretchZones. A zone that is neither given nor removed is kept as it is (copied from sourceAttributeId, or preserved when overwriting).
# The horizontal stretch zone (width): the x range of the profile that
# stretches when the element's width differs from the profile's.
horizontal: ProfileStretchZone | None = None
# The vertical stretch zone (height): the y range of the profile that
# stretches when the element's height differs from the profile's.
vertical: ProfileStretchZone | None = None
# Removes the horizontal stretch zone, so the width is fixed. Cannot be given
# together with horizontal.
removeHorizontal: bool | None = None
# Removes the vertical stretch zone, so the height is fixed. Cannot be given
# together with vertical.
removeVertical: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProfileUseWith ¶
WALL = 'Wall'
BEAM = 'Beam'
COLUMN = 'Column'
HANDRAIL = 'Handrail'
OTHER = 'Other'
Import from multiconn_archicad.models.tapir.types.
ProjectAttributes ¶
# One item per requested attribute type, in the order of attributeTypes.
attributesByType: list[ProjectAttributesByType | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ProjectAttributesByType ¶
attributeType: AttributeType
# Details of attributes.
attributes: list[AttributeHeader]
Import from multiconn_archicad.models.tapir.types.
ProjectDataKey ¶
# The name of the project data.
name: str
# The identifier of the add-on object that stores the project data.
guid: str
# True when the project data is kept on this client only and is not shared in
# Teamwork.
clientOnly: bool
# The Teamwork user who has reserved the project data. Omitted when nobody has
# reserved it or the project is not a Teamwork project.
teamworkOwner: User | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ProjectDataValue ¶
# The name of the project data.
name: str
# The content of the project data.
content: str
Import from multiconn_archicad.models.tapir.types.
ProjectDataValueData ¶
# The name of the project data.
name: str
# The content of the project data, for example a JSON string.
content: str
# Creates the project data on this client only, it is not shared in Teamwork.
# Used only when the project data is created. The default is false.
clientOnly: bool | None = None
# Creates the project data as a unique add-on object: in Teamwork only one can
# exist with its name, even when several users create it at the same time.
# Used only when the project data is created, and cannot be combined with
# clientOnly. The default is false.
unique: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectInfoField ¶
# The id of the project info field.
projectInfoId: str
# The name of the project info field visible on UI.
projectInfoName: str
# The value of the project info field.
projectInfoValue: str
Import from multiconn_archicad.models.tapir.types.
ProjectInfoFieldData ¶
# Display name of the project info field.
projectInfoName: str
# Initial value of the project info field.
projectInfoValue: str | None = None
# The Project Info group to create the field in. Available from Archicad 30,
# where the field goes to the first group when omitted; on older versions
# giving it is an error.
projectInfoGroupId: ProjectInfoGroupId | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectInfoFieldId ¶
The identifier of a field of a Project Info group. It is not the autotext key that GetProjectInfoFields returns as projectInfoId. Available from Archicad 30.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ProjectInfoFieldIdArrayItem ¶
projectInfoFieldId: ProjectInfoFieldId
Import from multiconn_archicad.models.tapir.types.
ProjectInfoFieldMove ¶
projectInfoFieldId: ProjectInfoFieldId
# The group to move the field to. To reorder a field within its group, give
# its current group.
projectInfoGroupId: ProjectInfoGroupId
# The field of the target group to move the field before. When omitted, the
# field is moved to the end of the group.
beforeProjectInfoFieldId: ProjectInfoFieldId | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectInfoFieldRename ¶
projectInfoFieldId: ProjectInfoFieldId
# The new name of the field. It must not be used by another field.
name: str
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroup ¶
projectInfoGroupId: ProjectInfoGroupId
# The name of the group.
name: str
# The fields of the group in their order, including the subfields of
# calculated fields (e.g. the address components of a full address field).
fields: list[ProjectInfoGroupField]
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupData ¶
# The name of the new group. It must not be used by another group.
name: str
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupField ¶
projectInfoFieldId: ProjectInfoFieldId
# The name of the field visible on UI.
name: str
# The value of the field. The value of a field with subfields is calculated
# from the subfields.
value: str
# The autotext key of the field, as GetProjectInfoFields returns it and
# SetProjectInfoField takes it. Given when exactly one project info autotext
# has the name of the field, omitted otherwise.
projectInfoId: str | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupId ¶
The identifier of a Project Info group. Available from Archicad 30.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupIdArrayItem ¶
projectInfoGroupId: ProjectInfoGroupId
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupIdOrError ¶
ProjectInfoGroupIdOrError: TypeAlias = (
ProjectInfoGroupIdArrayItem | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupMove ¶
projectInfoGroupId: ProjectInfoGroupId
# The group to move the group before. When omitted, the group is moved to the
# end of the group list.
beforeProjectInfoGroupId: ProjectInfoGroupId | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectInfoGroupRename ¶
projectInfoGroupId: ProjectInfoGroupId
# The new name of the group. It must not be used by another group.
name: str
Import from multiconn_archicad.models.tapir.types.
ProjectionSunSettings ¶
The sun position of a 3D projection, the Sun Position of the 3D Projection Settings dialog (API_SunAngleSettings). Each perspective and axonometry has its own, independent of the project's date and time (SetSunSettings). The 3D shading and shadows of the projection come from it.
# Angles: the sun is at sunAzimuth and sunAltitude. DateAndTime: Archicad
# calculates the sun from the project location and the date and time given
# here.
sunPositionOption: SunPositionOption | None = None
# The azimuth of the sun, used when sunPositionOption is Angles. In the same
# units Get3DProjectionSettings returns it.
sunAzimuth: float | None = None
# The altitude of the sun, used when sunPositionOption is Angles. In the same
# units Get3DProjectionSettings returns it.
sunAltitude: float | None = None
# Used when sunPositionOption is DateAndTime. 0 when no date is set.
year: int | None = None
# Used when sunPositionOption is DateAndTime. 0 when no date is set.
month: int | None = None
# Used when sunPositionOption is DateAndTime. 0 when no date is set.
day: int | None = None
hour: int | None = None
minute: int | None = None
second: int | None = None
# True when the time is daylight saving time.
summerTime: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectLocation ¶
# longitude in degrees
longitude: float
# latitude in degrees
latitude: float
# altitude in meters
altitude: float
# north direction in radians
north: float
Import from multiconn_archicad.models.tapir.types.
ProjectLocationUpdate ¶
# longitude in degrees
longitude: float | None = None
# latitude in degrees
latitude: float | None = None
# altitude in meters
altitude: float | None = None
# north direction in radians
north: float | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectPreferenceType ¶
WORKING_UNITS = 'WorkingUnits'
DIMENSIONS = 'Dimensions'
CALCULATION_UNITS = 'CalculationUnits'
ZONES = 'Zones'
REFERENCE_LEVELS = 'ReferenceLevels'
FLOOR_PLAN_CUT_PLANE = 'FloorPlanCutPlane'
LEGACY = 'Legacy'
IMAGING_AND_CALCULATION = 'ImagingAndCalculation'
LAYOUTS = 'Layouts'
DATA_SAFETY = 'DataSafety'
CALCULATION_RULES = 'CalculationRules'
Import from multiconn_archicad.models.tapir.types.
ProjectReferenceLevel ¶
A named reference level measured from Project Zero.
# The name of the reference level, e.g. Sea Level.
name: str
# The elevation of the reference level from Project Zero in meters.
elevation: float
Import from multiconn_archicad.models.tapir.types.
ProjectReferenceLevels ¶
The Reference Levels page: two named levels that elevations can be measured from, besides Project Zero and the stories.
# The first reference level.
level1: ProjectReferenceLevel
# The second reference level.
level2: ProjectReferenceLevel
Import from multiconn_archicad.models.tapir.types.
ProjectReferenceLevelsUpdate ¶
The Reference Levels page: two named levels that elevations can be measured from, besides Project Zero and the stories.
# The first reference level.
level1: ProjectReferenceLevelUpdate | None = None
# The second reference level.
level2: ProjectReferenceLevelUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
ProjectReferenceLevelUpdate ¶
Partial changes to a named reference level measured from Project Zero.
# The name of the reference level, e.g. Sea Level.
name: str | None = None
# The elevation of the reference level from Project Zero in meters.
elevation: float | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyAvailabilityUpdate ¶
Classification items the property is available for: set replaces the list, add and remove edit it.
set: list[ClassificationItemIdArrayItem] | None = None
add: list[ClassificationItemIdArrayItem] | None = None
remove: list[ClassificationItemIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyCollectionType ¶
UNDEFINED = 'Undefined'
SINGLE = 'Single'
LIST = 'List'
SINGLE_CHOICE_ENUMERATION = 'SingleChoiceEnumeration'
MULTIPLE_CHOICE_ENUMERATION = 'MultipleChoiceEnumeration'
Import from multiconn_archicad.models.tapir.types.
PropertyCriterion ¶
propertyId: PropertyId | None = None
# Case-insensitive property definition name, as shown in the project's
# language. An error is returned when it matches no property, or properties in
# more than one group and propertyGroupName is not given. Prefer propertyId in
# scripts that must work in any language.
propertyName: str | None = None
# Case-insensitive property group name, to choose between properties of the
# same name in different groups.
propertyGroupName: str | None = None
# Evaluation operator. Default is 'equals'. hasValue (alias hasAnyValue)
# matches a property with a value, isUserUndefined (alias isUndefined) one set
# to undefined by the user, isNotAvailable one that does not apply to the
# element. isDefault matches a property whose value comes from its default,
# hasCustomValue one whose value was set on the element (also to undefined).
# Archicad gives the default status only together with the evaluated value, so
# isDefault and hasCustomValue take as long as reading the value, also for
# expression properties.
operator: Operator | None = None
# Expected value as a string. Required for the comparison operators. For
# number, integer, length, area, volume and angle properties, equals,
# notEquals and the range operators compare numbers in internal units (m, m²,
# m³, rad) written with a decimal point, independent of the project's display
# settings; other properties compare the displayed text, case-insensitively.
value: str | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyDataType ¶
NUMBER = 'number'
INTEGER = 'integer'
STRING = 'string'
BOOLEAN = 'boolean'
LENGTH = 'length'
AREA = 'area'
VOLUME = 'volume'
ANGLE = 'angle'
NUMBER_LIST = 'numberList'
INTEGER_LIST = 'integerList'
STRING_LIST = 'stringList'
BOOLEAN_LIST = 'booleanList'
LENGTH_LIST = 'lengthList'
AREA_LIST = 'areaList'
VOLUME_LIST = 'volumeList'
ANGLE_LIST = 'angleList'
SINGLE_ENUM = 'singleEnum'
MULTI_ENUM = 'multiEnum'
Import from multiconn_archicad.models.tapir.types.
PropertyDefaultValue ¶
PropertyDefaultValue: TypeAlias = (
BasicDefaultValue | ExpressionDefaultValue
)
Import from multiconn_archicad.models.tapir.types.
PropertyDefinition ¶
name: str
description: str
type: PropertyDataType
isEditable: bool
# The default value of the new property. Optional; when omitted, the default
# value is Undefined.
defaultValue: BasicDefaultValue | ExpressionDefaultValue | None = None
# The possible enum values of the property when the property type is
# enumeration.
possibleEnumValues: list[PossibleEnumValue] | None = None
# The identifiers of classification items the new property is available for.
availability: list[ClassificationItemIdArrayItem]
# The property group defined by name or id. If both fields exists the id will
# be used.
group: Group
Import from multiconn_archicad.models.tapir.types.
PropertyDefinitionArrayItem ¶
A wrapper containing a property definition
propertyDefinition: PropertyDefinition
Import from multiconn_archicad.models.tapir.types.
PropertyDefinitionType ¶
STATIC_BUILT_IN = 'StaticBuiltIn'
DYNAMIC_BUILT_IN = 'DynamicBuiltIn'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
PropertyDefinitionUpdate ¶
propertyId: PropertyId
# New name of the property.
name: str | None = None
# New description of the property.
description: str | None = None
# Whether users may edit the value of the property on elements (Property
# Manager: Editable).
isEditable: bool | None = None
# Move the property into this custom property group.
groupId: PropertyGroupId | None = None
# New default value: a basic value or expressions. Switching between the two
# is allowed.
defaultValue: BasicDefaultValue | ExpressionDefaultValue | None = None
# The new expression strings for the property. Only for expression-based
# properties.
expressions: list[str] | None = None
availability: PropertyAvailabilityUpdate | None = None
# Values already on the property keep their identifier, so element values
# assigned to them survive; values not listed here are kept as well.
possibleEnumValues: list[EnumValuesToAddItem] | None = None
# Change the text of existing enum options. The option keeps its identifier,
# so element values follow the new text.
renameEnumValues: list[PropertyEnumValueRename] | None = None
# Enum options to remove. Elements holding a removed option lose that value.
removeEnumValues: list[PropertyEnumValueRemoval] | None = None
# Every option's display text, once, in the new order (applied after rename,
# remove and add).
enumOrder: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyDetails ¶
The details of the property.
# The possible enum values of the property when the property type is
# enumeration.
possibleEnumValues: list[PossibleEnumValue] | None = None
propertyId: PropertyId
propertyType: PropertyType
propertyGroupName: str
propertyName: str
propertyCollectionType: PropertyCollectionType
propertyValueType: PropertyValueType
propertyMeasureType: PropertyMeasureType
propertyIsEditable: bool
# True if the property value is computed from an expression.
isExpressionBased: bool
# The expression strings of an expression-based property. Only present when
# isExpressionBased is true.
expressions: list[str] | None = None
propertyGroupId: PropertyGroupId | None = None
propertyDescription: str | None = None
# The basic default value as text. Only for custom, non expression-based
# properties whose default is set.
defaultValueDisplay: str | None = None
# Classification items a custom property is available for.
availability: list[ClassificationItemIdArrayItem] | None = None
# The option guids an enumeration property's default holds. Only for custom
# enumeration properties whose default is set.
defaultEnumValueIds: list[GuidId] | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PropertyGroup ¶
Represents a property group.
name: str
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyGroupArrayItem ¶
A wrapper containing a property group
propertyGroup: PropertyGroup
Import from multiconn_archicad.models.tapir.types.
PropertyGroupDetails ¶
propertyGroupId: PropertyGroupId
name: str
description: str | None = None
isCustom: bool
Import from multiconn_archicad.models.tapir.types.
PropertyGroupId ¶
The identifier of a property group.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
PropertyGroupIdArrayItem ¶
A wrapper containing the property group identifier.
propertyGroupId: PropertyGroupId
Import from multiconn_archicad.models.tapir.types.
PropertyGroupUpdate ¶
propertyGroupId: PropertyGroupId
name: str | None = None
description: str | None = None
Import from multiconn_archicad.models.tapir.types.
PropertyId ¶
The identifier of a property.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
PropertyIdArrayItem ¶
A wrapper containing the property identifier.
propertyId: PropertyId
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PropertyImportConflictPolicy ¶
What to do with a property whose name already exists in its group: append imports it under a new unused name, replace replaces the existing definition, skip keeps the existing one.
APPEND = 'append'
REPLACE = 'replace'
SKIP = 'skip'
Import from multiconn_archicad.models.tapir.types.
PropertyMeasureType ¶
UNDEFINED = 'Undefined'
DEFAULT = 'Default'
LENGTH = 'Length'
AREA = 'Area'
VOLUME = 'Volume'
ANGLE = 'Angle'
Import from multiconn_archicad.models.tapir.types.
PropertyObjectToolDefault ¶
# Read the links of the element defaults of this type instead of an element.
elementType: ElementType
Import from multiconn_archicad.models.tapir.types.
PropertyType ¶
STATIC_BUILT_IN = 'StaticBuiltIn'
DYNAMIC_BUILT_IN = 'DynamicBuiltIn'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
PropertyValue ¶
The string value of a property, formatted according to the command's options.
value: str
Import from multiconn_archicad.models.tapir.types.
PropertyValueArrayItem ¶
A wrapper containing the property value.
propertyValue: PropertyValue
# Whether the property is available for the element. Only returned when
# includeAvailability is true.
isAvailable: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PropertyValueCheckInput ¶
A property value to check against its definition.
propertyId: PropertyId
propertyValue: PropertyValue
Import from multiconn_archicad.models.tapir.types.
PropertyValueDetails ¶
PropertyValueDetails: TypeAlias = (
NormalOrUserUndefinedPropertyValue
| NotAvailablePropertyValue
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PropertyValueOrErrorItem ¶
PropertyValueOrErrorItem: TypeAlias = (
PropertyValueArrayItem | PropertyValueErrorItem
)
Import from multiconn_archicad.models.tapir.types.
PropertyValuesArrayItem ¶
A wrapper containing the property values.
# A list of property values.
propertyValues: list[PropertyValueArrayItem | PropertyValueErrorItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
PropertyValueType ¶
UNDEFINED = 'Undefined'
INTEGER = 'Integer'
REAL = 'Real'
STRING = 'String'
BOOLEAN = 'Boolean'
GUID = 'Guid'
Import from multiconn_archicad.models.tapir.types.
PublisherSet ¶
# The name of the publisher set.
name: str
# The navigator item ID of the root of the publisher set.
rootNavigatorItemId: NavigatorItemId
# The saved local or LAN output path, when the set is published to files. When
# it is also uploaded to a Teamwork file server, this is the temporary local
# path.
path: str | None = None
# The saved output path on the Teamwork file server, when the set is published
# to files onto a file server.
twFileServerPath: str | None = None
# The saved host name, when the set is published to the Internet.
host: str | None = None
# The saved directory name on the host, when the set is published to the
# Internet.
dirName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
PublishPublisherSetParameters ¶
# The name of the publisher set.
publisherSetName: str
# Full local or LAN path for publishing. Optional, by default the path set in
# the settings of the publisher set will be used.
outputPath: str | None = None
# Optional publisher-tree navigator items to publish instead of the whole
# publisher set. Each item wraps its id in navigatorItemId, as the items of
# GetNavigatorItemTree do: [{"navigatorItemId": {"guid":
# "6E1C3A9B-0F2D-4B8E-9C7A-1D2E3F405162"}}], not [{"guid": "..."}].
selectedNavigatorItemIds: list[NavigatorItemIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
PublishPublisherSetResult ¶
# The local or LAN folder the set was published to: outputPath, else the path
# saved in the publisher set. Absent when the set publishes elsewhere (to the
# Internet or a BIMcloud/Teamwork file server).
outputFolder: str | None = None
# Full paths of the files in outputFolder and its subfolders that were created
# or changed while the command ran, as found when Archicad reported the
# publishing finished. Absent when outputFolder is absent or holds more than
# 20000 files and folders.
writtenFiles: list[str] | None = None
Q¶
Import from multiconn_archicad.models.tapir.commands.
QuitArchicadResult ¶
QuitArchicadResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
R¶
Import from multiconn_archicad.models.tapir.types.
RadialDimensionData ¶
The parameters of the new Radial Dimension. It is linked to the measured element, so Archicad measures its radius and keeps the dimension up to date. Each new dimension is read back: when Archicad did not link it to the element, measured another radius, moved its dimension line off the given direction, or did not keep a given setting, the item fails with the values Archicad stored and the dimension is deleted again.
# Optional name of a Radial Dimension favorite to base the new element on. Its
# settings are applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The measured element: an arc or a circle (not an elliptic one), or a curved
# wall. The dimension is placed on its story. Archicad stores the link to a
# circle with the type Arc, so GetDetailsOfElements returns ownerElementType
# Arc for it.
elementId: ElementId
# The end of the dimension line (API_RadialDimensionType endC), as
# GetDetailsOfElements returns it. It must not be the centre of the arc.
# Archicad may lengthen the line along the same direction so that its text
# fits (Archicad 29 made a 0.5 m line 0.966 m long); GetDetailsOfElements
# returns the end it kept.
dimensionLineEnd: Coordinate2D
# Optional. The point of the arc the dimension starts from (base.loc), as
# GetDetailsOfElements returns it. By default the point of the arc (of its
# full circle) towards dimensionLineEnd, seen from the centre.
basePoint: Coordinate2D | None = None
# Optional. The index of the measured part of the element (base.base.inIndex),
# as GetDetailsOfElements returns it for a radial dimension placed by hand.
# The Archicad API does not document it for radial dimensions. When not given:
# -1 for a curved wall (what Archicad 29 stores for a dimension placed by hand
# on one, and the only value it takes), 1 for an arc or a circle.
ownerElementInIndex: int | None = None
# Optional. Whether the dimension is linked to the line of the element
# (base.base.line: the arc or the circle itself, the wall's line) rather than
# to a node, as GetDetailsOfElements returns it. true when not given.
ownerElementLine: bool | None = None
# Optional. Layer attribute index to place the dimension on. By default the
# layer of the favorite or the Radial Dimension tool default is used.
layerIndex: int | None = None
# Optional. The pen of the dimension line.
linePen: int | None = None
# Optional. The marker at the end of the dimension line: any of its type, pen
# and size.
marker: DimensionMarker | None = None
# Optional. The height of the dimension text in millimeters (paper size).
textHeight: float | None = None
# Optional. The pen of the dimension text.
textPen: int | None = None
textPosition: RadialDimensionTextPosition | None = None
textDirection: RadialDimensionTextDirection | None = None
# Optional. Whether the text shows the measured radius or a custom text
# (note.contentType), as GetDetailsOfElements returns it. Custom without
# customText keeps the custom text the dimension has; Measured cannot be given
# with customText.
textContent: RadialDimensionTextContent | None = None
# Optional. A custom text shown instead of the measured radius (textContent
# Custom in GetDetailsOfElements).
customText: str | None = None
# Optional. Whether the centre of the arc is marked (showOrigo).
showOrigin: bool | None = None
# Optional. Whether only the dimension text is shown, without the dimension
# line (onlyDimensionText).
onlyDimensionText: bool | None = None
# Optional. The text shown before the measured radius, e.g. R in R 7.55
# (prefix, prefixUStr); an empty string removes it. GetDetailsOfElements
# returns it as prefix.
prefix: str | None = None
# Optional. The text box of the dimension text: angle, background, frame,
# alignment and the leader line style. Only the fields given change. The
# dimension is read back, and the item fails, naming the field, when Archicad
# did not keep one.
textBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
RadialDimensionDetails ¶
A radial dimension, as Archicad stores it. The Archicad API does not document how the measured arc is stored (the meaning of basePoint and ownerElementInIndex), so these are the raw values; ownerArcCenter is read from the measured arc or circle.
# The base point of the dimension as Archicad stores it
# (API_RadialDimensionType base.loc).
basePoint: Coordinate2D
# The end of the radial dimension line.
dimensionLineEnd: Coordinate2D
# The radius the dimension measures, in meters.
radius: float
# Present only when the dimension is linked to an element: the element it
# measures.
ownerElementId: ElementId | None = None
# Present only when the dimension is linked to an element.
ownerElementType: ElementType | None = None
# Present only when the dimension is linked to an element: the index of the
# measured part of that element, as Archicad stores it.
ownerElementInIndex: int | None = None
# Present only when the dimension is linked to an element: whether the
# dimension is linked to a line or arc of that element rather than to a node,
# as Archicad stores it.
ownerElementLine: bool | None = None
# Present only when the measured element is an arc or a circle: its centre.
ownerArcCenter: Coordinate2D | None = None
# Present only when the measured element is an arc or a circle: its radius in
# meters.
ownerArcRadius: float | None = None
# The pen of the dimension line.
linePen: int
# The marker at the end of the dimension line, always with its type, pen and
# size.
marker: DimensionMarker
# The height of the dimension text in millimeters.
textHeight: float
# The pen of the dimension text.
textPen: int
textPosition: RadialDimensionTextPositionOrUnknown
textDirection: RadialDimensionTextDirectionOrUnknown
textContent: RadialDimensionTextContent
# Whether the centre of the arc is marked.
showOrigin: bool
# Whether only the dimension text is shown, without the dimension line.
onlyDimensionText: bool
# The text shown before the measured radius, e.g. R in R 7.55 (API prefix,
# prefixUStr). Empty when the dimension has none.
prefix: str
# The text box of the dimension text, always with all of its fields.
textBox: DimensionNote
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RadialDimensionTextContent ¶
Whether the text shows the measured radius or a custom text.
MEASURED = 'Measured'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
RadialDimensionTextDirection ¶
Optional. The direction of the text (textWay).
HORIZONTAL = 'Horizontal'
VERTICAL = 'Vertical'
RADIAL = 'Radial'
Import from multiconn_archicad.models.tapir.types.
RadialDimensionTextDirectionOrUnknown ¶
The direction of the text.
HORIZONTAL = 'Horizontal'
VERTICAL = 'Vertical'
RADIAL = 'Radial'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
RadialDimensionTextPosition ¶
Optional. Where the text is, relative to the dimension line (textPos).
ABOVE = 'Above'
IN = 'In'
BELOW = 'Below'
Import from multiconn_archicad.models.tapir.types.
RadialDimensionTextPositionOrUnknown ¶
Where the text is, relative to the dimension line.
ABOVE = 'Above'
IN = 'In'
BELOW = 'Below'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
RadialDimensionWithDetails ¶
# The Radial Dimension to change.
elementId: ElementId
# Optional. The pen of the dimension line.
linePen: int | None = None
# Optional. The marker at the end of the dimension line: any of its type, pen
# and size.
marker: DimensionMarker | None = None
# Optional. The height of the dimension text in millimeters (paper size).
textHeight: float | None = None
# Optional. The pen of the dimension text.
textPen: int | None = None
# Optional. Where the text is, relative to the dimension line (textPos).
textPosition: RadialDimensionTextPosition | None = None
# Optional. The direction of the text (textWay).
textDirection: RadialDimensionTextDirection | None = None
# Optional. Whether the text shows the measured radius or a custom text
# (note.contentType), as GetDetailsOfElements returns it. Custom without
# customText keeps the custom text the dimension has; Measured cannot be given
# with customText.
textContent: RadialDimensionTextContent | None = None
# Optional. A custom text shown instead of the measured radius (textContent
# Custom in GetDetailsOfElements).
customText: str | None = None
# Optional. Whether the centre of the arc is marked (showOrigo).
showOrigin: bool | None = None
# Optional. Whether only the dimension text is shown, without the dimension
# line (onlyDimensionText).
onlyDimensionText: bool | None = None
# Optional. The text shown before the measured radius, e.g. R in R 7.55
# (prefix, prefixUStr); an empty string removes it. GetDetailsOfElements
# returns it as prefix.
prefix: str | None = None
# Optional. The text box of the dimension text: angle, background, frame,
# alignment and the leader line style. Only the fields given change. The
# dimension is read back, and the item fails, naming the field, when Archicad
# did not keep one.
textBox: DimensionNote | None = None
Import from multiconn_archicad.models.tapir.types.
RailingBalusterDetails ¶
The details of a baluster of a baluster set (RailingBaluster, API_RailingBalusterType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
horizontalPosition: RailingHorizontalPosition
Import from multiconn_archicad.models.tapir.types.
RailingBalusterSetDetails ¶
The details of a baluster set of a railing pattern (RailingBalusterSet, API_RailingBalusterSetType). Its balusters are separate subelements (RailingBaluster).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
frame: RailingFrame
distribution: RailingDistribution
# The number of balusters in the set (API_RailingBalusterSetType::nBalusters).
balusterCount: int
Import from multiconn_archicad.models.tapir.types.
RailingBalusterSetUpdate ¶
# The index of the baluster set among the baluster sets of this segment: the
# railingBalusterSets GetSubelementsOfHierarchicalElements lists whose owner
# (ownerElementId in GetDetailsOfElements) is this segment or a railingPattern
# of this segment, in the order they are listed.
index: int
frame: RailingFrameChange | None = None
distribution: RailingDistributionChange | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RailingData ¶
The parameters of the new Railing. Everything not given here - the posts, rails, handrails, toprails, panels and balusters - comes from the favorite or from the Railing tool defaults of the open project. Archicad generates one node per vertex and one segment per pair of consecutive vertices from them.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional existing Railing whose settings the new railing takes instead of
# the tool defaults (or the favorite): its node and segment settings, from
# which the posts, rails, handrails, toprails, panels and balusters are
# generated, its story visibility, pens, bottom offset, layer, home story and
# renovation status. floorIndex, bottomOffset and height given here override
# them. The reference line of a railing cannot be changed through the Archicad
# API, so a railing is given a new reference line by creating it again with
# itself as templateElementId and deleting the old one.
templateElementId: ElementId | None = None
# The 2D coordinates of the reference line of the railing on the floor plan.
# Each pair of consecutive coordinates becomes one straight segment.
coordinates: list[Coordinate2D]
# Optional floor index (home story) of the railing. The story is made active
# in the floor plan while the railing is created and the previously active
# story is restored afterwards. When omitted, the current story.
floorIndex: int | None = None
# Optional base height of the railing relative to the floor level. When
# omitted, the value of the favorite (or of the Railing tool defaults) is
# kept.
bottomOffset: float | None = None
# Optional height of the railing segments. When omitted, the segment height of
# the favorite (or of the Railing tool defaults) is kept.
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
RailingDetails ¶
# The 2D coordinates of the reference line of the railing, one per node.
referenceLine: list[Coordinate2D]
# The curved segments of the reference line; empty when every segment is
# straight. begIndex and endIndex are indices into referenceLine (from 0), in
# the same form CreateRailingsFromPolyline takes as polylineArcs.
referenceLineArcs: list[PolyArc]
# The base height of the railing relative to the floor level.
bottomOffset: float
# The absolute elevation of the base of the railing.
zCoordinate: float
# The segment height new segments of the railing are made with (the default
# segment).
height: float
# The height of each segment of the railing, in the order of the reference
# line.
segmentHeights: list[float]
# The segments of the railing, in the order of the reference line: segment i
# runs from node i to node i + 1. ModifyRailings changes one of them by its
# index in this list.
segments: list[RailingSegmentDetails]
# The nodes of the railing, one per vertex of the reference line, in its
# order. ModifyRailings changes one of them by its index in this list.
nodes: list[RailingNodeDetails]
# The stories the railing is shown on (API_RailingType::visibility).
visibility: StoryVisibility
# When true, Archicad recomputes 'visibility' automatically from the actual
# elevation of the railing (API_RailingType::isAutoOnStoryVisibility).
isAutoOnStoryVisibility: bool
# Pen index of the railing's reference line
# (API_RailingType::referenceLinePen).
referenceLinePen: int
# Pen index of the railing's contour line (API_RailingType::contourPen).
contourPen: int
Import from multiconn_archicad.models.tapir.types.
RailingDistribution ¶
How a railing pattern or baluster set is repeated along its segment (API_RailingDistributionData).
type: RailingDistributionType
alignment: RailingDistributionAlignment
# The length of one repetition (API_RailingDistributionData::length).
length: float
# The number of repetitions (API_RailingDistributionData::patternAmount).
patternAmount: int
Import from multiconn_archicad.models.tapir.types.
RailingDistributionAlignment ¶
How the repetitions are aligned (API_PatternAlignID).
START_WITH_PATTERN = 'StartWithPattern'
START_FROM_CENTER = 'StartFromCenter'
CENTER_ALIGNED = 'CenterAligned'
END_WITH_PATTERN = 'EndWithPattern'
Import from multiconn_archicad.models.tapir.types.
RailingDistributionChange ¶
Changes to how a baluster set is repeated (API_RailingDistributionData), with the fields GetDetailsOfElements returns in distribution. Only the given fields change.
# The distribution method (API_DistribTypeID): a number of Divisions, a fixed
# PatternLength, or the BestDivisionByLength (equal divisions no longer than
# length).
type: RailingDistributionType | None = None
# How the repetitions are aligned (API_PatternAlignID).
alignment: RailingDistributionAlignment | None = None
# The length of one repetition (API_RailingDistributionData::length).
length: float | None = None
# The number of repetitions (API_RailingDistributionData::patternAmount).
patternAmount: int | None = None
Import from multiconn_archicad.models.tapir.types.
RailingDistributionType ¶
The distribution method (API_DistribTypeID): a number of Divisions, a fixed PatternLength, or the BestDivisionByLength (equal divisions no longer than length).
DIVISIONS = 'Divisions'
PATTERN_LENGTH = 'PatternLength'
BEST_DIVISION_BY_LENGTH = 'BestDivisionByLength'
Import from multiconn_archicad.models.tapir.types.
RailingEndFinishDetails ¶
The details of the finish at the end of a rail (RailingEndFinish, API_RailingFinishType): its owner and library part only.
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
Import from multiconn_archicad.models.tapir.types.
RailingFrame ¶
The boundaries of a railing panel or baluster set within its pattern (API_RailingFrameData).
# The sideways offset of the frame from the segment
# (API_RailingFrameData::yOffset).
lateralOffset: float
# The offset of the top of the frame (API_RailingFrameData::zTopOffset).
topOffset: float
# The offset of the bottom of the frame (API_RailingFrameData::zBottomOffset).
bottomOffset: float
# The offset of the beginning of the frame
# (API_RailingFrameData::xBeginOffset).
beginOffset: float
# The offset of the end of the frame (API_RailingFrameData::xEndOffset).
endOffset: float
# The index of the place of the frame in its pattern
# (API_RailingFrameData::placeIndex).
placeIndex: int
verticalPosition: RailingVerticalPosition
Import from multiconn_archicad.models.tapir.types.
RailingFrameChange ¶
Changes to the boundaries of a railing panel or baluster set within its pattern (API_RailingFrameData), with the fields GetDetailsOfElements returns in frame. Only the given fields change; placeIndex cannot be changed.
# The sideways offset of the frame from the segment
# (API_RailingFrameData::yOffset).
lateralOffset: float | None = None
# The offset of the top of the frame (API_RailingFrameData::zTopOffset).
topOffset: float | None = None
# The offset of the bottom of the frame (API_RailingFrameData::zBottomOffset).
bottomOffset: float | None = None
# The offset of the beginning of the frame
# (API_RailingFrameData::xBeginOffset).
beginOffset: float | None = None
# The offset of the end of the frame (API_RailingFrameData::xEndOffset).
endOffset: float | None = None
verticalPosition: RailingVerticalPositionChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingFromPolylineData ¶
The parameters of the new Railing. Everything not given here - the posts, rails, handrails, toprails, panels and balusters - comes from the favorite or from the Railing tool defaults of the open project. Archicad generates one node per vertex and one segment per pair of consecutive vertices from them.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional floor index (home story) of the railing. The story is made active
# in the floor plan while the railing is created and the previously active
# story is restored afterwards. When omitted, the current story.
floorIndex: int | None = None
# The nodes of the reference line of the railing. z is the elevation of the
# node relative to the floor level of the home story, so the railing can climb
# or descend along its segments.
polylineCoordinates: list[Coordinate3D]
# Optional arc segments of the reference line. begIndex and endIndex are
# indices into polylineCoordinates and must be consecutive (endIndex =
# begIndex + 1).
polylineArcs: list[PolyArc] | None = None
# Optional height of the railing segments. When omitted, the segment height of
# the favorite (or of the Railing tool defaults) is kept.
height: float | None = None
# Optional existing Railing whose settings the new railing takes instead of
# the tool defaults (or the favorite), as in CreateRailings: its node and
# segment settings, from which the posts, rails, handrails, toprails, panels
# and balusters are generated, its story visibility, pens, layer, home story
# and renovation status. floorIndex and height given here override them. With
# itself as template, a railing is given a new 3D reference line by creating
# it again and deleting the old one.
templateElementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.types.
RailingHandrailUpdate ¶
# The index of the handrail among the handrails of this segment: the
# railingHandrails GetSubelementsOfHierarchicalElements lists whose owner
# (ownerElementId in GetDetailsOfElements) is this segment, in the order they
# are listed.
index: int
# Whether the handrail is shown (API_RailingHandrailType::visible).
visible: bool | None = None
# API_RailingHandrailType::doubleHandrail, as GetDetailsOfElements returns it.
doubleHandrail: bool | None = None
# The horizontal offset of the handrail from the segment
# (API_RailingHandrailType::horizontalOffset).
horizontalOffset: float | None = None
# The height of the handrail (API_RailingHandrailType::height), as
# GetDetailsOfElements returns it.
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
RailingHorizontalPosition ¶
Where along its pattern a railing component stands (API_RailingHorizontalPosData).
# The position of the component along the pattern
# (API_RailingHorizontalPosData::position).
position: float
# True when the position stretches with the length of the pattern
# (API_RailingHorizontalPosData::isStretchable).
isStretchable: bool
Import from multiconn_archicad.models.tapir.types.
RailingHorizontalPositionChange ¶
Changes to where along its pattern a railing component stands (API_RailingHorizontalPosData), with the fields GetDetailsOfElements returns in horizontalPosition. Only the given fields change.
# The position of the component along the pattern
# (API_RailingHorizontalPosData::position).
position: float | None = None
# True when the position stretches with the length of the pattern
# (API_RailingHorizontalPosData::isStretchable).
isStretchable: bool | None = None
Import from multiconn_archicad.models.tapir.types.
RailingInnerPostDetails ¶
The details of an inner post of a railing pattern (RailingInnerPost, API_RailingInnerPostType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
# The offset between the two posts of a double inner post
# (API_RailingInnerPostType::doublePostOffset).
doublePostOffset: float
# The number of posts in this inner post, 1 or 2
# (API_RailingInnerPostType::postNum).
postCount: int
verticalPosition: RailingVerticalPosition
horizontalPosition: RailingHorizontalPosition
Import from multiconn_archicad.models.tapir.types.
RailingInnerPostUpdate ¶
# The index of the inner post among the inner posts of this segment: the
# railingInnerPosts GetSubelementsOfHierarchicalElements lists whose owner
# (ownerElementId in GetDetailsOfElements) is this segment or a railingPattern
# of this segment, in the order they are listed.
index: int
# The offset between the two posts of a double inner post
# (API_RailingInnerPostType::doublePostOffset).
doublePostOffset: float | None = None
# The number of posts in this inner post, 1 or 2
# (API_RailingInnerPostType::postNum).
postCount: int | None = None
verticalPosition: RailingVerticalPositionChange | None = None
horizontalPosition: RailingHorizontalPositionChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingModelViewOptions ¶
The railing options of the model view options (API_RailingModelViewOptions; Model View Options > Railing Options), every field by its API name: the railing components shown in the floor plan and the schematic 3D display. GetViewOptions and GetModelViewOptionDetails return all of them; SetViewOptions takes any of them and reads them back. Archicad 29 does not keep the railing2DDisplayComp* fields changed through ACAPI_Navigator_ChangeViewOptions, so SetViewOptions reports such a change as not kept.
# The detail level of railings in the 3D display, the numeric API constant.
railing3DDetailLevel: int | None = None
# Whether the posts are shown in the floor plan.
railing2DDisplayCompPosts: bool | None = None
# Whether the top rails are shown in the floor plan.
railing2DDisplayCompTopRail: bool | None = None
# Whether the handrails are shown in the floor plan.
railing2DDisplayCompHandrails: bool | None = None
# Whether the rails are shown in the floor plan.
railing2DDisplayCompRails: bool | None = None
# Whether the inner posts are shown in the floor plan.
railing2DDisplayCompInnerPosts: bool | None = None
# Whether the balusters are shown in the floor plan.
railing2DDisplayCompBalusters: bool | None = None
# Whether the panels are shown in the floor plan.
railing2DDisplayCompPanels: bool | None = None
# The index of the surface used by the schematic 3D display.
railingSchemeSurfaceIndex: int | None = None
# The index of the line type of the cut lines of the schematic 3D display.
railingSchemeCutLineIndex: int | None = None
# The pen of the cut lines of the schematic 3D display.
railingSchemeCutLinePenIndex: int | None = None
# The index of the line type of the uncut lines of the schematic 3D display.
railingSchemeUncutLineIndex: int | None = None
# The pen of the uncut lines of the schematic 3D display.
railingSchemeUncutLinePenIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
RailingNodeDetails ¶
The settings of one node of a railing.
# The identifier of the node subelement (RailingNode).
elementId: ElementId
# The offset of the node's post from the node
# (API_RailingNodeType::postOffset).
postOffset: float
# The vertical offset of the node (API_RailingNodeType::elevation).
elevation: float
# True when the pattern of the segments continues across the node, false when
# the segments are cropped at it (API_RailingNodeType::unifyPatterns).
unifyPatterns: bool
# Whether the node is shown (API_RailingNodeType::visible).
visible: bool
# Whether the node is static, not associated with the element the railing was
# placed on (API_RailingNodeType::isStatic).
isStatic: bool
# Whether the node's post follows the slope of the segments
# (API_RailingNodeType::tiltedPost).
tiltedPost: bool
# Whether Archicad sets the connection offset of the rails at the node
# (API_RailingNodeType::autoConnectionOffset).
autoConnectionOffset: bool
# The connection offset of the rails at the node
# (API_RailingNodeType::connectionOffset).
connectionOffset: float
# The ending offset of the rails at the node
# (API_RailingNodeType::endingOffset).
endingOffset: float
Import from multiconn_archicad.models.tapir.types.
RailingNodePostUpdate ¶
Changes to the post model of this node (API_RailingNodeType::defPost), applied after posts. Archicad generates the posts of a node from it; Archicad 29 does not take a change to a single post (posts) and regenerates it from this model (confirmed on Archicad 29 build 5101).
verticalPosition: RailingVerticalPositionChange
Import from multiconn_archicad.models.tapir.types.
RailingNodeUpdate ¶
# The index of the node in the nodes list GetDetailsOfElements returns (one
# node per vertex of the reference line).
index: int
# The new offset of the node's post from the node
# (API_RailingNodeType::postOffset).
postOffset: float | None = None
# The new vertical offset of the node (API_RailingNodeType::elevation).
elevation: float | None = None
# True continues the pattern of the segments across the node, false crops the
# segments at it (API_RailingNodeType::unifyPatterns).
unifyPatterns: bool | None = None
# Whether this node is shown (API_RailingNodeType::visible), as
# GetDetailsOfElements reads it.
visible: bool | None = None
# Whether the node's post follows the slope of the segments
# (API_RailingNodeType::tiltedPost).
tiltedPost: bool | None = None
# Whether Archicad sets the connection offset of the rails at the node
# (API_RailingNodeType::autoConnectionOffset). Give false with
# connectionOffset to set it yourself.
autoConnectionOffset: bool | None = None
# The new connection offset of the rails at the node
# (API_RailingNodeType::connectionOffset).
connectionOffset: float | None = None
# The new ending offset of the rails at the node
# (API_RailingNodeType::endingOffset).
endingOffset: float | None = None
# Changes to the posts of this node (API_RailingPostType), applied after the
# fields of the node. Only the given fields of the given posts change.
posts: list[RailingPostUpdate] | None = None
post: RailingNodePostUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPanelDetails ¶
The details of a railing panel (RailingPanel, API_RailingPanelType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
# True when the panel is shown (API_RailingPanelType::visible).
visible: bool
frame: RailingFrame
Import from multiconn_archicad.models.tapir.types.
RailingPanelUpdate ¶
# The index of the panel among the panels of this segment: the railingPanels
# GetSubelementsOfHierarchicalElements lists whose owner (ownerElementId in
# GetDetailsOfElements) is this segment or a railingPattern of this segment,
# in the order they are listed.
index: int
# Whether the panel is shown (API_RailingPanelType::visible).
visible: bool | None = None
frame: RailingFrameChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPatternBalusterSetUpdate ¶
The baluster set model of the pattern (API_RailingPatternType::defBalusterSet).
frame: RailingFrameChange | None = None
distribution: RailingDistributionChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPatternDetails ¶
The details of the pattern of a railing segment (RailingPattern, API_RailingPatternType). Its panels, baluster sets and inner posts are separate subelements.
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
distribution: RailingDistribution
# The number of panels in the pattern (API_RailingPatternType::nPanels).
panelCount: int
# The number of baluster sets in the pattern
# (API_RailingPatternType::nBalusterSets).
balusterSetCount: int
# The number of inner posts in the pattern
# (API_RailingPatternType::nInnerPosts).
innerPostCount: int
Import from multiconn_archicad.models.tapir.types.
RailingPatternEntry ¶
The pattern entry of a railing segment (API_RailingSegmentType::defPattern): the settings Archicad generates the segment's RailingPattern, RailingPanel, RailingBalusterSet and RailingInnerPost subelements (the instances) from. The components in it are settings, not placed elements, so they have no owner and no libPart.
# How the pattern is repeated along the segment
# (API_RailingPatternType::distribution).
distribution: RailingDistribution
# The number of panels in the pattern (API_RailingPatternType::nPanels).
panelCount: int
# The number of baluster sets in the pattern
# (API_RailingPatternType::nBalusterSets).
balusterSetCount: int
# The number of inner posts in the pattern
# (API_RailingPatternType::nInnerPosts).
innerPostCount: int
# The panel settings of the pattern (defPanel).
panel: RailingPanelDetails
# The baluster set settings of the pattern (defBalusterSet); its distribution
# is the baluster spacing.
balusterSet: RailingBalusterSetDetails
# The baluster settings of the pattern's baluster set
# (defBalusterSet.defBaluster).
baluster: RailingBalusterDetails
# The inner post settings of the pattern (defInnerPost).
innerPost: RailingInnerPostDetails
Import from multiconn_archicad.models.tapir.types.
RailingPatternInnerPostUpdate ¶
The inner post model of the pattern (API_RailingPatternType::defInnerPost).
# The offset between the two posts of a double inner post
# (API_RailingInnerPostType::doublePostOffset).
doublePostOffset: float | None = None
# The number of posts in each inner post, 1 or 2
# (API_RailingInnerPostType::postNum).
postCount: int | None = None
verticalPosition: RailingVerticalPositionChange | None = None
horizontalPosition: RailingHorizontalPositionChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPatternInstances ¶
The subelements Archicad generated for this segment from its entry. Their own settings are read with GetDetailsOfElements.
# The RailingPattern subelements the segment owns.
patterns: list[ElementIdArrayItem]
# The RailingPanel subelements owned by the segment or by one of its patterns.
panels: list[ElementIdArrayItem]
# The RailingBalusterSet subelements owned by the segment or by one of its
# patterns.
balusterSets: list[ElementIdArrayItem]
# The RailingInnerPost subelements owned by the segment or by one of its
# patterns.
innerPosts: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
RailingPatternPanelUpdate ¶
The panel model of the pattern (API_RailingPatternType::defPanel).
# The library part the panels are made of (API_RailingPanelType::symbID), as
# the symbolId GetRailingSegmentPatterns returns in entry.panel or
# GetDetailsOfElements for a RailingPanel. Only the symbol of a railing panel
# already in the project is taken, for example one copied from another
# railing; any other GUID is refused before anything is changed. The panels of
# the segment are read back, so a symbol Archicad does not take is reported as
# a failure. Untested in Archicad (#2447).
symbolId: str | None = None
# Whether the panels are shown (API_RailingPanelType::visible).
visible: bool | None = None
frame: RailingFrameChange | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPatternUpdate ¶
Changes to the railing pattern of this segment (API_RailingSegmentType::defPattern), applied after balusterSets: the models of its inner posts, panels and baluster sets and its distribution. The model is written, then the inner posts, panels and baluster sets the railing already has are changed through the railing's memo, and each of them is read back. Archicad 29 does not take a change to a single one of them (innerPosts, panels, balusterSets), and makes every segment of a railing follow the pattern of its first segment: a pattern change of segment 0 reaches every segment, one of another segment is not kept and is reported as a failure (confirmed on Archicad 29 build 5101).
# How the pattern repeats along the segment
# (API_RailingPatternType::distribution).
distribution: RailingDistributionChange | None = None
innerPost: RailingPatternInnerPostUpdate | None = None
panel: RailingPatternPanelUpdate | None = None
balusterSet: RailingPatternBalusterSetUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
RailingPostDetails ¶
The details of a railing post (RailingPost, API_RailingPostType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
verticalPosition: RailingVerticalPosition
Import from multiconn_archicad.models.tapir.types.
RailingPostUpdate ¶
# The index of the post among the posts of this node: the railingPosts
# GetSubelementsOfHierarchicalElements lists whose owner (ownerElementId in
# GetDetailsOfElements) is this node, in the order they are listed. A node
# usually has one post, index 0.
index: int
verticalPosition: RailingVerticalPositionChange
Import from multiconn_archicad.models.tapir.types.
RailingRailConnectionBase ¶
How the connection meets the rail (API_RailBaseBaseConnectionID).
HORIZONTAL = 'Horizontal'
TANGENTIAL = 'Tangential'
Import from multiconn_archicad.models.tapir.types.
RailingRailConnectionDetails ¶
The details of the connection of a rail, top rail or handrail at a node (RailingRailConnection, RailingToprailConnection, RailingHandrailConnection: API_RailingRailConnectionType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
connectionType: RailingRailConnectionType
baseConnection: RailingRailConnectionBase
# API_RailingRailConnectionType::railEndOffset.
railEndOffset: float
# API_RailingRailConnectionType::railEndFillet.
railEndFillet: float
# API_RailingRailConnectionType::firstExtrusionLength.
firstExtrusionLength: float
# API_RailingRailConnectionType::secondExtrusionLength.
secondExtrusionLength: float
# API_RailingRailConnectionType::horizontalFillet.
horizontalFillet: float
# API_RailingRailConnectionType::gooseneckFillet.
gooseneckFillet: float
# API_RailingRailConnectionType::gooseneckOffset.
gooseneckOffset: float
# API_RailingRailConnectionType::verticalBottomFillet.
verticalBottomFillet: float
# API_RailingRailConnectionType::directFillet.
directFillet: float
Import from multiconn_archicad.models.tapir.types.
RailingRailConnectionType ¶
The kind of connection (API_RailConnectionTypeID).
NO_RAIL_CONNECTION = 'NoRailConnection'
GOOSENECK_RAIL_CONNECTION = 'GooseneckRailConnection'
DIRECT_RAIL_CONNECTION = 'DirectRailConnection'
Import from multiconn_archicad.models.tapir.types.
RailingRailDetails ¶
The details of a rail, top rail or handrail of a railing segment (RailingRail, RailingToprail, RailingHandrail: API_RailingRailType, API_RailingToprailType, API_RailingHandrailType). A top rail has only visible; relative is only given for rails and doubleHandrail only for handrails.
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
# True when the rail is shown (visible of its struct).
visible: bool
# Rails only: true when the height of the rail is relative
# (API_RailingRailType::relative).
relative: bool | None = None
# Handrails only: true for a double handrail
# (API_RailingHandrailType::doubleHandrail).
doubleHandrail: bool | None = None
# Rails and handrails only: the horizontal offset of the rail from the segment
# (horizontalOffset of its struct).
horizontalOffset: float | None = None
# Rails and handrails only: the height of the rail (height of its struct).
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
RailingRailEndArcAngleMode ¶
Whether the arc of the end is set to vertical or has a custom angle (API_RailEndArcAngleModeID).
SET_TO_VERTICAL = 'SetToVertical'
CUSTOM_ANGLE = 'CustomAngle'
Import from multiconn_archicad.models.tapir.types.
RailingRailEndDetails ¶
The details of the end of a rail, top rail or handrail (RailingRailEnd, RailingToprailEnd, RailingHandrailEnd: API_RailingRailEndType).
ownerElementId: RailingComponentOwnerElementId | None = None
ownerElementType: ElementType | None = None
# Archicad's identifier of the symbol the component is drawn with (symbID of
# its API_Railing*Type struct), as Archicad stores it. Left out when it is
# empty.
symbolId: UUID | None = None
libPart: RailingComponentLibPart | None = None
endType: RailingRailEndType
# How the end connects to the rail (API_RailEndBaseConnectionID).
baseConnection: RailingRailConnectionBase
# API_RailingRailEndType::firstExtrusionOffset.
firstExtrusionOffset: float
# API_RailingRailEndType::firstExtrusionLength.
firstExtrusionLength: float
# API_RailingRailEndType::filletRadius.
filletRadius: float
fixtureConnection: RailingRailEndFixtureConnection
arcAngleMode: RailingRailEndArcAngleMode
# API_RailingRailEndType::arcAngle.
arcAngle: float
# API_RailingRailEndType::arcRadius.
arcRadius: float
# API_RailingRailEndType::secondExtrusionLength.
secondExtrusionLength: float
# API_RailingRailEndType::thirdExtrusionLength.
thirdExtrusionLength: float
secondExtrusionMode: RailingRailEndSecondExtrusionMode
Import from multiconn_archicad.models.tapir.types.
RailingRailEndFixtureConnection ¶
The direction the end curves in (API_RailEndFixtureConnectionID).
SEGMENT_PLANE = 'SegmentPlane'
HORIZONTAL_RIGHT = 'HorizontalRight'
HORIZONTAL_LEFT = 'HorizontalLeft'
Import from multiconn_archicad.models.tapir.types.
RailingRailEndSecondExtrusionMode ¶
How the length of the second extrusion is set (API_RailEndExtrusionModeID).
CUSTOM_LENGTH = 'CustomLength'
TO_REFERENCE_LINE = 'ToReferenceLine'
TO_HANDRAIL_SIBLING = 'ToHandrailSibling'
Import from multiconn_archicad.models.tapir.types.
RailingRailEndType ¶
The shape of the end (API_RailEndTypeID).
EXTENSION = 'Extension'
CURVE = 'Curve'
FULL_RETURN = 'FullReturn'
CONNECT_WITH_DUPLICATE = 'ConnectWithDuplicate'
Import from multiconn_archicad.models.tapir.types.
RailingRailUpdate ¶
# The index of the rail among the rails of this segment: the railingRails
# GetSubelementsOfHierarchicalElements lists whose owner (ownerElementId in
# GetDetailsOfElements) is this segment, in the order they are listed.
index: int
# Whether the rail is shown (API_RailingRailType::visible).
visible: bool | None = None
# Whether the rail is relative (API_RailingRailType::relative).
relative: bool | None = None
# The horizontal offset of the rail from the segment
# (API_RailingRailType::horizontalOffset).
horizontalOffset: float | None = None
# The height of the rail (API_RailingRailType::height), as
# GetDetailsOfElements returns it.
height: float | None = None
Import from multiconn_archicad.models.tapir.types.
RailingRecreationData ¶
# The railing to recreate.
elementId: ElementId
# The new reference line on the floor plan, as CreateRailings takes it: one
# node per point, one segment per pair of consecutive points. The railing
# keeps its bottom offset. Give this or polylineCoordinates.
coordinates: list[Coordinate2D] | None = None
# The new reference line with an elevation per node, as
# CreateRailingsFromPolyline takes it (z relative to the railing's home
# story). Give this or coordinates.
polylineCoordinates: list[Coordinate3D] | None = None
# Optional arc segments of polylineCoordinates, as CreateRailingsFromPolyline
# takes them.
polylineArcs: list[PolyArc] | None = None
Import from multiconn_archicad.models.tapir.types.
RailingReferenceLineLocation ¶
Where the segment lies relative to the reference line of the railing (API_RailingSegmentType::refLineLocation): Center on the line, Left or Right of it. A lateralOffset only takes effect with Left or Right. Switching between Left and Right turns the sign of lateralOffset (Archicad 29), so the segment moves to the other side of the line by the same distance.
LEFT = 'Left'
CENTER = 'Center'
RIGHT = 'Right'
Import from multiconn_archicad.models.tapir.types.
RailingSegmentDetails ¶
The settings of one segment of a railing.
# The identifier of the segment subelement (RailingSegment).
elementId: ElementId
# The height of the segment (API_RailingSegmentType::height).
height: float
# The offset of the segment from the reference line of the railing, sideways
# (API_RailingSegmentType::yOffset). Archicad only applies it while
# referenceLineLocation is Left or Right.
lateralOffset: float
referenceLineLocation: RailingReferenceLineLocation
# Whether the segment is shown (API_RailingSegmentType::visible).
visible: bool
# The vertical offset of the segment (API_RailingSegmentType::zOffset).
verticalOffset: float
# The slant angle of the segment (API_RailingSegmentType::slantAngle).
slantAngle: float
# The skew angle of the segment (API_RailingSegmentType::skewAngle).
skewAngle: float
# Whether skewAngle is relative
# (API_RailingSegmentType::relativeSkewingAngle).
relativeSkewingAngle: bool
Import from multiconn_archicad.models.tapir.types.
RailingSegmentPattern ¶
# The index of the segment in the railing, from 0, as in GetDetailsOfElements'
# segments.
segmentIndex: int
# The RailingSegment subelement.
segmentId: ElementId
entry: RailingPatternEntry
instances: RailingPatternInstances
Import from multiconn_archicad.models.tapir.types.
RailingSegmentPatternsResult ¶
# The segments of the railing, in the order of GetDetailsOfElements' segments.
segments: list[RailingSegmentPattern]
Import from multiconn_archicad.models.tapir.types.
RailingSegmentUpdate ¶
# The index of the segment in the segments list GetDetailsOfElements returns
# (0 is the segment from the first to the second node).
index: int
# The new height of this segment.
height: float | None = None
# The new sideways offset of this segment from the reference line
# (API_RailingSegmentType::yOffset). Archicad only applies it while the
# segment's referenceLineLocation is Left or Right (confirmed on Archicad 29);
# with Center the offset stays 0 and the item is reported as a failure, so
# give referenceLineLocation with it.
lateralOffset: float | None = None
# The new location of this segment relative to the reference line. Applied
# before lateralOffset.
referenceLineLocation: RailingReferenceLineLocation | None = None
# Whether this segment is shown (API_RailingSegmentType::visible), as
# GetDetailsOfElements reads it.
visible: bool | None = None
# The new vertical offset of this segment (API_RailingSegmentType::zOffset),
# as GetDetailsOfElements reads it.
verticalOffset: float | None = None
toprail: RailingToprailUpdate | None = None
# Changes to single rails of this segment (API_RailingRailType), applied after
# the top rail. Only the given fields of the given rails change.
rails: list[RailingRailUpdate] | None = None
# Changes to single handrails of this segment (API_RailingHandrailType),
# applied after the rails. Only the given fields of the given handrails
# change.
handrails: list[RailingHandrailUpdate] | None = None
# Changes to single inner posts of this segment (API_RailingInnerPostType),
# applied after the handrails. Only the given fields of the given inner posts
# change.
innerPosts: list[RailingInnerPostUpdate] | None = None
# Changes to single panels of this segment (API_RailingPanelType), applied
# after the inner posts. Only the given fields of the given panels change.
panels: list[RailingPanelUpdate] | None = None
# Changes to single baluster sets of this segment
# (API_RailingBalusterSetType), applied after the panels. Only the given
# fields of the given baluster sets change.
balusterSets: list[RailingBalusterSetUpdate] | None = None
pattern: RailingPatternUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
RailingsWithDetail ¶
elementId: ElementId
# The new height of the railing segments (the height GetDetailsOfElements
# returns), applied to every segment of the railing.
height: float | None = None
# The new base height of the railing relative to its home story.
bottomOffset: float | None = None
# The new home story index (as returned by GetStories). The bottom offset is
# kept, or set from bottomOffset when that is given too, so the railing moves
# with the story.
floorIndex: int | None = None
# The stories the railing is shown on (API_RailingType::visibility), as
# GetDetailsOfElements returns it. Archicad only keeps it while
# isAutoOnStoryVisibility is false, so setting it without
# isAutoOnStoryVisibility also asks for that to be turned off. Confirmed on
# Archicad 29: Archicad keeps isAutoOnStoryVisibility true when the API turns
# it off (also through ACAPI_Element_ChangeParameters and with the railing's
# memo), so on a railing whose automatic visibility is on, as it is on a new
# one, the visibility is not changed and the item is reported as a failure.
# The fields not given are false or 0. A combination Archicad does not take is
# reported as a failure.
visibility: StoryVisibility | None = None
# When true, Archicad recomputes 'visibility' automatically from the actual
# elevation of the railing (API_RailingType::isAutoOnStoryVisibility) and
# ignores a visibility given together with it. Turning it on works; Archicad
# 29 does not take false and the item is reported as a failure (see
# visibility).
isAutoOnStoryVisibility: bool | None = None
# The new pen index of the railing's reference line
# (API_RailingType::referenceLinePen).
referenceLinePen: int | None = None
# The new pen index of the railing's contour line
# (API_RailingType::contourPen).
contourPen: int | None = None
# Changes to single segments of the railing and to the top rail, rails,
# handrails, inner posts, panels and baluster sets of a segment, applied after
# height. Only the given fields of the given segments and components change;
# the other segments, the nodes and the railing's GUID stay as they are.
segments: list[RailingSegmentUpdate] | None = None
# Changes to single nodes of the railing and to the posts of a node, applied
# after the segments. Only the given fields of the given nodes and posts
# change.
nodes: list[RailingNodeUpdate] | None = None
Import from multiconn_archicad.models.tapir.types.
RailingToprailUpdate ¶
Changes to the top rail of this segment (API_RailingToprailType), applied after the fields of the segment.
# Whether the top rail of this segment is shown
# (API_RailingToprailType::visible).
visible: bool
Import from multiconn_archicad.models.tapir.types.
RailingVerticalPosition ¶
Between which rails of the segment a railing component stands (API_RailingVerticalPosData).
# The index of the rail at the bottom of the component
# (API_RailingVerticalPosData::bottomRailIndex).
bottomRailIndex: int
# The index of the rail at the top of the component
# (API_RailingVerticalPosData::topRailIndex).
topRailIndex: int
Import from multiconn_archicad.models.tapir.types.
RailingVerticalPositionChange ¶
Changes to the rails a railing component stands between (API_RailingVerticalPosData), with the fields GetDetailsOfElements returns in verticalPosition. Only the given fields change.
# The index of the rail at the bottom of the component
# (API_RailingVerticalPosData::bottomRailIndex).
bottomRailIndex: int | None = None
# The index of the rail at the top of the component
# (API_RailingVerticalPosData::topRailIndex).
topRailIndex: int | None = None
Import from multiconn_archicad.models.tapir.commands.
ReadFavoritesFileParameters ¶
# Absolute path on the AC host to a Favorites file (.prefs) or folder.
path: str
Import from multiconn_archicad.models.tapir.commands.
ReadFavoritesFileResult ¶
favorites: list[FavoriteFileEntry]
Import from multiconn_archicad.models.tapir.commands.
RebuildCurrentDatabaseResult ¶
RebuildCurrentDatabaseResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
RebuildMEPRoutingElementsParameters ¶
# The routing elements to rebuild. Each is deleted and placed again. Every
# segment, node and fitting gets a new guid (see guidMap); labels, dimensions
# and other things attached to them are not carried over. Use
# ModifyMEPRoutingElements nodePositions instead when the node count stays the
# same: it keeps every guid.
routingElements: list[MEPRoutingElementRebuildData]
Import from multiconn_archicad.models.tapir.commands.
RebuildMEPRoutingElementsResult ¶
# One item for each given routing element, in order.
elements: list[RebuiltMEPRoutingElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RebuildViewParameters ¶
# Regenerate the view. The default is false, meaning the view will not be
# regenerated, but rebuilt.
regenerate: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RebuildViewResult ¶
RebuildViewResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
RebuiltMEPRoutingElement ¶
The rebuilt routing element.
# The rebuilt route: its old guid when Archicad let it keep it, else a new
# one.
elementId: ElementId
# The parts of the old route paired with those of the rebuilt one, which all
# have new guids: a segment with the old segment it lies along most (its rigid
# segments by order when both segments have the same ends), a node with the
# old node at its position (its elbows and transitions by order). Every old
# and every new part is listed once or more; an old segment that two new
# segments lie along is listed with each.
guidMap: list[MEPRoutingRebuildGuidMapItem]
# What was not carried over: a setting of a segment or node, the layer, home
# story, renovation status, element ID, a classification, the property values
# or a connection of the route, and the new segments that lie along old
# segments of different sizes. Left out when everything was carried over.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
RecreateAngleDimensionsParameters ¶
# The angle dimensions to recreate on new lines, with a new arc position.
angleDimensions: list[AngleDimensionRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateAngleDimensionsResult ¶
# One item per input angle dimension: the new angle dimension, or an error.
# After an error nothing was changed for that angle dimension. The old one
# leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RecreateCurtainWallsParameters ¶
# The curtain walls to recreate on a new reference line, with a new height or
# with a new slant. Give at least one of coordinates, height and angle.
curtainWalls: list[CurtainWallRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateCurtainWallsResult ¶
# One item per input curtain wall: the new curtain wall, or an error. After an
# error nothing was changed for that curtain wall. Its labels are deleted with
# it, dimensions measuring it lose those witness points or are deleted, and it
# leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
RecreatedElement ¶
An element a Recreate command created again, and the old element it replaces.
# The old element, which was deleted.
oldElementId: ElementId
# The new element.
elementId: ElementId
# What was linked to the old element and could not be moved to the new one.
# Only the dimensions of the current database (the active window) are listed.
notCarriedOver: list[RecreateNotCarriedOver]
Import from multiconn_archicad.models.tapir.types.
RecreatedElementLostRelation ¶
Label: an associative label of the old element; it is deleted with it. Dimension, LevelDimension: a dimension of the current database (the active window) that measured the old element; it loses those witness points or is deleted. Group: the old element was in a group; the new one is not.
LABEL = 'Label'
DIMENSION = 'Dimension'
LEVEL_DIMENSION = 'LevelDimension'
GROUP = 'Group'
Import from multiconn_archicad.models.tapir.commands.
RecreateDoorsParameters ¶
# The doors to recreate in another wall.
doors: list[DoorRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateDoorsResult ¶
# One item per input door: the new door, or an error. After an error nothing
# was changed for that door. Labels of the old door are deleted with it,
# dimensions measuring it lose those witness points or are deleted, and it
# leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
RecreateNotCarriedOver ¶
Something that was linked to the old element of a Recreate command and could not be moved to the new one.
relation: RecreatedElementLostRelation
# The label or dimension, as it was before the old element was deleted. Not
# given for Group.
elementId: ElementId | None = None
Import from multiconn_archicad.models.tapir.commands.
RecreateRailingsParameters ¶
# The railings to recreate on a new reference line.
railings: list[RailingRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateRailingsResult ¶
# One item per input railing: the new railing, or an error. After an error
# nothing was changed for that railing. Its labels are deleted with it,
# dimensions measuring it lose those witness points or are deleted, and it
# leaves its group. The link of a railing to the slab or stair it was placed
# on cannot be read through the Archicad API, so it is not listed in
# notCarriedOver: the new railing has none.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RecreateSkylightsParameters ¶
# The skylights to recreate on another roof or shell.
skylights: list[SkylightRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateSkylightsResult ¶
# One item per input skylight: the new skylight, or an error. After an error
# nothing was changed for that skylight. Labels of the old skylight are
# deleted with it, dimensions measuring it lose those witness points or are
# deleted, and it leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RecreateStairsParameters ¶
# The stairs to recreate on a new baseline.
stairs: list[StairRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateStairsResult ¶
# One item per input stair: the new stair, or an error. After an error nothing
# was changed for that stair. Labels of the old stair are deleted with it;
# dimensions measuring it lose those witness points or are deleted.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RecreateWindowsParameters ¶
# The windows to recreate in another wall.
windows: list[WindowRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateWindowsResult ¶
# One item per input window: the new window, or an error. After an error
# nothing was changed for that window. Labels of the old window are deleted
# with it, dimensions measuring it lose those witness points or are deleted,
# and it leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RecreateZonesParameters ¶
# The zones to recreate as manual zones.
zones: list[ZoneRecreationData]
Import from multiconn_archicad.models.tapir.commands.
RecreateZonesResult ¶
# One item per input zone: the new manual zone, or an error. After an error
# nothing was changed for that zone. Labels of the old zone are deleted with
# it, dimensions measuring it lose those witness points or are deleted, and it
# leaves its group.
results: list[RecreatedElement | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RedrawCurrentDatabaseResult ¶
RedrawCurrentDatabaseResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ReferencedElement ¶
Ctrl_ElementRef: the element the item refers to. The drawing of a Wall ends with one such item for each Window and Door in it.
elementId: ElementId
type: ElementType
# The drawing order index of the referenced element.
drwIndex: int
Import from multiconn_archicad.models.tapir.types.
References ¶
# The string that refers to the property in a property expression.
reference: str
Import from multiconn_archicad.models.tapir.commands.
RefreshElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Forces the rebuild of GDL-based elements, which runs their parameter script.
# The default is false.
force: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RefreshElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
Region ¶
Selects the vertices to move: those with xMin <= x <= xMax and yMin <= y <= yMax, in the coordinates GetProfiles reports in skins[].outlineCoords. Each omitted bound leaves that side open, so { "yMin": 2.5 } selects every vertex at or above 2.5. Omit region to move every vertex.
xMin: float | None = None
xMax: float | None = None
yMin: float | None = None
yMax: float | None = None
Import from multiconn_archicad.models.tapir.types.
RegularizedPolygon ¶
# The 2D coordinates of the outline, without a closing coordinate.
polygonCoordinates: list[Coordinate2D]
# Arcs of the outline.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D]
# Only with withAncestry.
ancestry: PolygonAncestry | None = None
Import from multiconn_archicad.models.tapir.types.
RegularizedPolygons ¶
# The valid polygons Archicad made of the input: none, one or more.
polygons: list[RegularizedPolygon]
Import from multiconn_archicad.models.tapir.types.
RegularizedPolyline ¶
# The 2D coordinates of the regularized polyline. Empty when nothing valid is
# left of it.
coordinates: list[Coordinate2D]
# The arcs of the regularized polyline.
arcs: list[PolyArc]
# Only with withAncestry.
ancestry: PolylineAncestry | None = None
Import from multiconn_archicad.models.tapir.commands.
RegularizePolygonsParameters ¶
# The polygons to regularize, in the format of CreateSlabs
# (polygonCoordinates, polygonArcs, holes). For CreateHatches, pass the
# outline of a result as its coordinates and arcs.
polygons: list[PolygonRegularizationData]
# Also return for every vertex and edge of the results which input vertex or
# edge it came from. Optional, false by default.
withAncestry: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RegularizePolygonsResult ¶
# One item per input polygon, in the order of the request.
results: list[RegularizedPolygons | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
RegularizePolylinesParameters ¶
# The polylines to regularize, in the format of CreatePolylines.
polylines: list[PolylineRegularizationData]
# Also return for every point and segment of the results which input point or
# segment it came from. Optional, false by default.
withAncestry: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RegularizePolylinesResult ¶
# One item per input polyline, in the order of the request.
results: list[RegularizedPolyline | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ReindexableAttributeType ¶
The type of the attributes to move. Layers are moved by ReindexLayers; pens and the other attribute types cannot be moved.
FILL = 'Fill'
LINE = 'Line'
SURFACE = 'Surface'
BUILDING_MATERIAL = 'BuildingMaterial'
ZONE_CATEGORY = 'ZoneCategory'
Import from multiconn_archicad.models.tapir.commands.
ReindexAttributesParameters ¶
attributeType: ReindexableAttributeType
# The attributes to move to a new index, handled in the given order.
attributes: list[AttributeReindexData]
# Only list every reference to each attribute (elements, tool defaults,
# Favorites, other attributes, graphic override rules, elements from hotlinked
# modules) without changing anything. The default is false.
dryRun: bool | None = None
# Every free index below newIndex is filled with a temporary attribute first,
# so a newIndex far above the highest index in use takes long. An attribute
# that needs more temporary attributes than this is not moved. The default is
# 1000.
maxPlaceholders: int | None = None
Import from multiconn_archicad.models.tapir.commands.
ReindexAttributesResult ¶
# One item per requested attribute, in the same order.
attributes: list[AttributeReindexResult | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
ReindexLayersParameters ¶
# The layers to move to a new index, handled in the given order.
layers: list[Layer]
# Only list what would change (the elements on each layer, the tools whose
# default layer it is, the elements that block the move) without changing
# anything. The default is false.
dryRun: bool | None = None
# Every free index below newIndex is filled with a temporary layer first
# (about 20 ms each), so a newIndex far above the highest index in use takes
# long. A layer that needs more temporary layers than this is not moved. The
# default is 1000.
maxPlaceholders: int | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
ReleaseElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
ReleaseElementsResult ¶
ReleaseElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ReleaseElementStateParameters ¶
# The state to free, as returned by CaptureElementState.
stateId: ElementStateId
Import from multiconn_archicad.models.tapir.commands.
ReleaseElementStateResult ¶
ReleaseElementStateResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ReleaseHotlinkCacheManagementResult ¶
ReleaseHotlinkCacheManagementResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ReleaseLockableObjectSetParameters ¶
# The name of the lockable object set, as the Archicad API documents it:
# BuildingMaterials, Cities, Composites, Favorites, FillTypes,
# LayerSettingsDialog (layers and layer combinations), LineTypes,
# MarkupStyles, MEPSystems, ModelViewOptions, OperationProfiles, PenTables,
# Profiles, ProjectInfo, GeoLocation (project location), PreferencesDialog
# (project preferences and dimension standards), GraphicOverrides (renovation
# override styles), Surfaces or ZoneCategories. Other names the Archicad API
# accepts work too.
objectSetName: str
Import from multiconn_archicad.models.tapir.commands.
ReleaseLockableObjectSetResult ¶
ReleaseLockableObjectSetResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ReleaseProjectDataParameters ¶
# The names of the project data to release.
names: list[ProjectDataName]
Import from multiconn_archicad.models.tapir.commands.
ReleaseProjectDataResult ¶
ReleaseProjectDataResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
RelevantStories ¶
ALL_STORIES = 'AllStories'
BELOW_RELEVANT = 'BelowRelevant'
BOTTOM_RELEVANT = 'BottomRelevant'
MIDDLE_RELEVANT = 'MiddleRelevant'
TOP_RELEVANT = 'TopRelevant'
ABOVE_RELEVANT = 'AboveRelevant'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.commands.
ReloadLibrariesResult ¶
ReloadLibrariesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
RemoveElementNotificationClientParameters ¶
# The host address of the notification client. If not provided, localhost is
# used.
host: str | None = None
# The port number of the notification client.
port: int
Import from multiconn_archicad.models.tapir.commands.
RemoveElementNotificationClientResult ¶
RemoveElementNotificationClientResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
RemoveElementTrimDirectionParameters ¶
# Per pair, the trim of elementId by trimmingElementId is removed. When
# trimmingElementId is trimmed by elementId too (two roofs or shells trimming
# each other), that other direction is kept, with its trim type. The pairs are
# done in order, each on the trims the pairs before it left, so the two pairs
# of two roofs remove both directions.
elementPairs: list[ElementTrimPair]
Import from multiconn_archicad.models.tapir.commands.
RemoveElementTrimDirectionResult ¶
# One result for each input pair, in the order of the input. A pair whose
# element is not trimmed by its trimming element fails and changes nothing.
# When Archicad fails to remove a trim or to trim the kept direction again,
# the whole call is undone and every pair fails, the pair that failed with the
# reason.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RemoveElementTrimsParameters ¶
# The trimmed element and the roof or shell trimming it, per pair. The
# trimming connection between the two is removed: when they trim each other,
# both directions are removed.
elementPairs: list[ElementTrimPair]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RemoveElementTrimsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input pair, in the order of the input. On a dry run a
# pair whose element is trimmed by the trimming element gets wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RemoveIFCClassificationReferencesOfElementsParameters ¶
# The IFC classification references to remove from the elements. Only
# references stored on the elements (the ones
# GetIFCClassificationReferencesOfElements returns with storedOnly) can be
# removed.
elementIFCClassificationReferences: list[ElementIFCClassificationReferenceRemoval]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RemoveIFCClassificationReferencesOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input item, in the order of the input. On a dry run an
# element that has a stored IFC classification reference of the given
# classification (and identification, when given) gets wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RemoveIFCPropertiesOfElementsParameters ¶
# The local IFC properties to remove.
elementIFCProperties: list[ElementIFCPropertyRemoval]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RemoveIFCPropertiesOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input item, in the order of the input. On a dry run an
# element that has the local IFC property gets wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RemoveLibrariesFromBIMcloudParameters ¶
# The names of the libraries on the server to remove.
libraryNames: list[LibraryName]
# The URL of the BIMcloud or Teamwork server, e.g.
# 'https://bimcloud.example.com:22000'.
serverUrl: str
# The path of the folder on the server that holds the libraries, as shown in
# BIMcloud Manager.
parentPath: str
Import from multiconn_archicad.models.tapir.commands.
RemoveLibrariesFromBIMcloudResult ¶
# One result per library, in the order of the input.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RemovePropertyFromAttributesParameters ¶
propertyId: PropertyId
# The attributes (for example Building Materials) to make the property
# unavailable for.
attributeIds: list[AttributeIdArrayItem]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RemovePropertyFromAttributesResult ¶
The result of the execution: success, with error when it failed. A dry run also answers dryRun, and wouldDelete when the property and every attribute exist.
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
success: bool
error: Error | None = None
wouldDelete: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
RemoveSolidElementLinksParameters ¶
# List of solid element operation links to remove.
solidLinks: list[SolidLinkReference]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RemoveSolidElementLinksResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each input link, in the order of the input. On a dry run a
# link that exists (the operator is linked to the target) gets wouldDelete.
executionResults: list[SuccessfulExecutionResult | WouldDeleteExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameAttributeFoldersParameters ¶
# The folders to rename, each given by attribute type and path together with
# its new name.
attributeFolders: list[AttributeFolderRename]
Import from multiconn_archicad.models.tapir.commands.
RenameAttributeFoldersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameAttributesParameters ¶
# The attributes to rename, of any type.
attributes: list[AttributeRename]
Import from multiconn_archicad.models.tapir.commands.
RenameAttributesResult ¶
# One result per attribute, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionCombinationsParameters ¶
# The design option combinations to rename, each with the new name.
designOptionCombinations: list[DesignOptionCombinationRename]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionSetsParameters ¶
# The design option sets to rename, each with the new name.
designOptionSets: list[DesignOptionSetRename]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionSetsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionsParameters ¶
# The design options to rename, each with the new name and/or id. At least one
# of them must be given.
designOptions: list[DesignOptionRename]
Import from multiconn_archicad.models.tapir.commands.
RenameDesignOptionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameFavoriteFolderParameters ¶
# The path of the folder to rename, in the format GetFavoriteFolders returns:
# the folder names from the root down. The root folder cannot be renamed.
path: list[str]
# The new name of the folder.
newName: str
Import from multiconn_archicad.models.tapir.commands.
RenameFavoriteFolderResult ¶
folder: FavoriteFolderDetails
Import from multiconn_archicad.models.tapir.commands.
RenameFavoritesParameters ¶
renames: list[FavoriteRename]
Import from multiconn_archicad.models.tapir.commands.
RenameFavoritesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameGraphicOverrideRuleGroupsParameters ¶
# The rule groups to rename. Their rules and the combinations that contain
# them are kept.
ruleGroups: list[GraphicOverrideRuleGroupRename]
Import from multiconn_archicad.models.tapir.commands.
RenameGraphicOverrideRuleGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameNavigatorItemParameters ¶
navigatorItemId: NavigatorItemId
# The new name of the item. On the Layout Book item of a placed Drawing it is
# also set as the custom name of the Drawing (nameType CustomName).
newName: str | None = None
# The new ID of the item. On a layout it is the custom layout number
# (customLayoutNumbering is switched on); on a Project Map section, elevation,
# interior elevation, detail or worksheet it is the reference ID of the
# element behind the item; on any other item it is the custom ID of the
# navigator item (customUiId becomes true).
newId: str | None = None
# Set to false to drop the custom name of the item, so that it follows the
# name of its Project Map source again. Cannot be combined with newName.
customName: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
RenameNavigatorItemResult ¶
RenameNavigatorItemResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
RenameProjectInfoFieldsParameters ¶
# The fields of the Project Info groups to rename, each with its new name.
# Fixed (built-in) fields cannot be renamed.
projectInfoFields: list[ProjectInfoFieldRename]
Import from multiconn_archicad.models.tapir.commands.
RenameProjectInfoFieldsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RenameProjectInfoGroupsParameters ¶
# The Project Info groups to rename, each with its new name.
projectInfoGroups: list[ProjectInfoGroupRename]
Import from multiconn_archicad.models.tapir.commands.
RenameProjectInfoGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RenovationStatus ¶
The renovation status.
EXISTING = 'Existing'
NEW = 'New'
DEMOLISHED = 'Demolished'
Import from multiconn_archicad.models.tapir.types.
RenovationStatusName ¶
status: RenovationStatus
# The name of the status as the running Archicad shows it (localized).
name: str
Import from multiconn_archicad.models.tapir.commands.
ReorderDesignOptionSetsParameters ¶
# The design option sets to move, in the order the moves are done.
designOptionSets: list[DesignOptionSetMove]
Import from multiconn_archicad.models.tapir.commands.
ReorderDesignOptionSetsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ReorderDesignOptionsInSetParameters ¶
# The design options to move, in the order the moves are done.
designOptions: list[DesignOptionMove]
Import from multiconn_archicad.models.tapir.commands.
ReorderDesignOptionsInSetResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
ReorderNavigatorItemsParameters ¶
# The folder whose children should be reordered.
parentNavigatorItemId: NavigatorItemId
# The complete, desired order of every child of parentNavigatorItemId. Every
# current child must be listed.
orderedNavigatorItemIds: list[NavigatorItemIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
ReorderNavigatorItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ReplaceableAttributeType ¶
The type of the attributes to delete and of their replacements.
FILL = 'Fill'
LINE = 'Line'
SURFACE = 'Surface'
BUILDING_MATERIAL = 'BuildingMaterial'
PROFILE = 'Profile'
ZONE_CATEGORY = 'ZoneCategory'
LAYER = 'Layer'
Import from multiconn_archicad.models.tapir.commands.
RequestProjectDataParameters ¶
# The names of the project data to request from the users who have reserved
# them.
names: list[ProjectDataName]
# The message sent with the request. The default is empty.
mailText: str | None = None
Import from multiconn_archicad.models.tapir.commands.
RequestProjectDataResult ¶
RequestProjectDataResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ReserveElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
ReserveElementsResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The given GUIDs that are not elements, e.g. navigator items, layouts or
# databases. They were not reserved, and executionResult fails because of them
# even if the other elements were reserved. Left out when every GUID is an
# element.
notElements: list[ElementIdArrayItem] | None = None
conflicts: list[Conflict] | None = None
Import from multiconn_archicad.models.tapir.commands.
ReserveHotlinkCacheManagementResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The user whose reservation prevented reserving the Hotlink and XRef
# management.
conflicts: list[User] | None = None
Import from multiconn_archicad.models.tapir.commands.
ReserveLockableObjectSetParameters ¶
# The name of the lockable object set, as the Archicad API documents it:
# BuildingMaterials, Cities, Composites, Favorites, FillTypes,
# LayerSettingsDialog (layers and layer combinations), LineTypes,
# MarkupStyles, MEPSystems, ModelViewOptions, OperationProfiles, PenTables,
# Profiles, ProjectInfo, GeoLocation (project location), PreferencesDialog
# (project preferences and dimension standards), GraphicOverrides (renovation
# override styles), Surfaces or ZoneCategories. Other names the Archicad API
# accepts work too.
objectSetName: str
Import from multiconn_archicad.models.tapir.commands.
ReserveLockableObjectSetResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The users whose reservation prevented reserving the object set.
conflicts: list[User] | None = None
Import from multiconn_archicad.models.tapir.commands.
ReserveProjectDataParameters ¶
# The names of the project data to reserve.
names: list[ProjectDataName]
Import from multiconn_archicad.models.tapir.commands.
ReserveProjectDataResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The project data that could not be reserved because another user has
# reserved it.
conflicts: list[ProjectDataReservationConflict] | None = None
Import from multiconn_archicad.models.tapir.commands.
ResetLibrariesResult ¶
ResetLibrariesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ResetZoomParameters ¶
# The number of steps to go back in the zoom history of the current window,
# like Archicad's Zoom Back. The default is 1.
numberOfStepsBack: int | None = None
Import from multiconn_archicad.models.tapir.commands.
ResetZoomResult ¶
ResetZoomResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
ResolvedName ¶
The lookup result for one requested name.
# The given word or phrase.
name: str
status: NameResolutionStatus
# The items named exactly so (the same characters), with match 'exact'. More
# than one when items of different kinds, or several stories, have the name.
found: list[NameMatch]
# When nothing is named exactly so: the nearest items, best first. Empty when
# the status is found or notFound.
closeMatches: list[NameMatch]
Import from multiconn_archicad.models.tapir.commands.
ResolveNamesParameters ¶
# The words or phrases to look up in the open project, for example taken from
# a user's question.
names: list[NameToResolve]
# The most close matches returned for one word, best first. The default is 5.
maxCloseMatches: int | None = None
Import from multiconn_archicad.models.tapir.commands.
ResolveNamesResult ¶
# One result for each of the given names, in the same order.
results: list[ResolvedName]
Import from multiconn_archicad.models.tapir.types.
Result ¶
created: new in the open project. overwritten: an attribute of the same name was overwritten. skipped: an attribute of the same name exists and overwriteExisting is false. failed: see error, for example a reference that cannot be mapped. With dryRun the result is what an import would do.
CREATED = 'created'
OVERWRITTEN = 'overwritten'
SKIPPED = 'skipped'
FAILED = 'failed'
Import from multiconn_archicad.models.tapir.types.
RevisionChange ¶
id: str
description: str
lastModifiedTime: str
modifiedByUser: str
isIssued: bool
# The identifier of the first issue in which the given change is issued.
firstRevisionIssueId: RevisionIssueId | None = None
isArchived: bool
customSchemeData: list[RevisionCustomSchemeEntry] | None = None
Import from multiconn_archicad.models.tapir.types.
RevisionChangeCustomSchemeItem ¶
# The identifier of the custom field. The same key is used in the
# customSchemeData of the revision changes.
customSchemeKey: str
# The name of the custom field.
customSchemeName: str
Import from multiconn_archicad.models.tapir.types.
RevisionChangesArrayItem ¶
A wrapper containing an array of revision changes
revisionChanges: list[RevisionChange]
Import from multiconn_archicad.models.tapir.types.
RevisionCustomSchemeEntry ¶
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
customSchemeKey: UUID
customSchemeValue: str
Import from multiconn_archicad.models.tapir.types.
RevisionIssue ¶
revisionIssueId: RevisionIssueId
id: str
description: str
issueTime: str
issuedByUser: str
overrideRevisionIDOfAllIncludedLayouts: bool
createNewRevisionInAllIncludedLayouts: bool
markersVisibleSinceIndex: int | None = None
isIssued: bool
# All document revisions belong to the current issue.
documentRevisions: list[DocumentRevisionReference] | None = None
customSchemeData: list[RevisionCustomSchemeEntry] | None = None
Import from multiconn_archicad.models.tapir.types.
RevisionIssueCustomSchemeItem ¶
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
customSchemeKey: UUID
customSchemeName: str
Import from multiconn_archicad.models.tapir.types.
RevisionIssueCustomSchemeValue ¶
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
customSchemeKey: UUID | None = None
customSchemeName: str | None = None
customSchemeValue: str
Import from multiconn_archicad.models.tapir.types.
RevisionIssueId ¶
The identifier of a revision issue.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
RevisionIssueModificationData ¶
revisionIssueId: RevisionIssueId
# The new ID of the revision issue.
id: str | None = None
# The new short description of the revision issue.
description: str | None = None
# The custom scheme fields to set. A field is addressed by its key (as
# GetRevisionIssues returns it) or by its name; the fields not listed keep
# their values.
customSchemeData: list[RevisionIssueCustomSchemeValue] | None = None
Import from multiconn_archicad.models.tapir.types.
Rights ¶
# Whether the current user has the right to create objects of this kind.
canCreate: bool
# Whether the current user has the right to delete or modify the object.
canDeleteModify: bool
Import from multiconn_archicad.models.tapir.types.
RigidSegment ¶
The rigid segment default of the routing tool.
# Archicad 27 only. Later versions give the size in
# routingElement.routingSegment.
shape: MEPCrossSectionShape | None = None
# Archicad 27 only. Later versions give the size in
# routingElement.routingSegment.
width: float | None = None
# Archicad 27 only. Later versions give the size in
# routingElement.routingSegment.
height: float | None = None
# The insulation thickness, when the default has insulation.
insulationThickness: float | None = None
Import from multiconn_archicad.models.tapir.types.
Role ¶
The part of the stair: the flights (Run) or the landings (Landing).
RUN = 'Run'
LANDING = 'Landing'
Import from multiconn_archicad.models.tapir.types.
RoofClass ¶
SINGLE_PLANE = 'SinglePlane'
MULTI_PLANE = 'MultiPlane'
Import from multiconn_archicad.models.tapir.types.
RoofContourPolygonUpdate ¶
Multi-plane roofs only: the roof's contour (the finished outline of the eaves, as Edit Roof Contour in Archicad changes it), written without moving the pivot polygon. Switches the roof's overhang to Manual (overhangType of GetDetailsOfElements). Takes the contour as GetDetailsOfElements returns it in polygonOutline, polygonArcs and holes. The edges of the new contour that lie on an edge of the old one keep its side surface and edge type. After writing, the roof is read back, and the item fails when Archicad did not keep the overhang Manual or the contour does not have the given points and holes. Cannot be combined with polygonOutline, holes (the holes of the pivot polygon), pivotEdges, eavesOverhang or edgeTrims (send the trims of the new contour in a second call).
# The plan (x, y) coordinates of the contour's outline.
polygonOutline: list[Coordinate2D]
# The arcs of the contour's outline.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RoofCutBodyTypeUpdate ¶
The Trimming Body of the roof (Model panel of Roof Settings): Contours Down or Pivot Lines Down. GetDetailsOfElements reports it as cutBodyType.
CONTOURS_DOWN = 'ContoursDown'
PIVOT_LINES_DOWN = 'PivotLinesDown'
Import from multiconn_archicad.models.tapir.types.
RoofData ¶
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# tool defaults.
layerIndex: int | None = None
# Absolute elevation (from the project zero) of the roof's pivot line (single-
# plane, see pivotLine) or pivot polygon (multi-plane), the same as
# ModifyRoofs' level: the value GetDetailsOfElements returns as zCoordinate,
# not its story-relative level (GetDetailsOfElements returns level = this
# value minus the elevation of the home story). For a single-plane roof the
# pivot line lies on the roof's underside: its bottom surface passes through
# the pivot line at this elevation and rises from it at angle, and its top
# surface is thickness / cos(angle) higher, measured vertically at the pivot
# line (for example level 1, thickness 0.3 and angle 15 degrees put the top at
# 1.3106 there). Unlike a slab, a roof has no reference plane setting (no Top,
# Core Top, Core Bottom or Bottom choice), so level means the same for a
# Composite roof: the pivot line on its underside, the composite's skins above
# it and its top surface the composite's total thickness / cos(angle) higher
# (measured on a Basic roof; not yet checked on a Composite one).
level: float
# Optional home story of the roof. If omitted, it is derived from level: the
# highest story whose elevation is at or below it (the lowest story when it is
# below every story). Either way level stays an absolute elevation; the offset
# from the home story is worked out from it.
floorIndex: int | None = None
# Only takes effect on a Basic (homogeneous) roof - a Composite roof takes its
# thickness from the composite attribute. Without structureType the new roof
# keeps the structure of the roof tool default (or the favorite), which may be
# a composite; send structureType 'Basic' for the thickness to apply.
thickness: float | None = None
polygonCoordinates: list[Coordinate2D]
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# If given, creates a single-plane roof instead of a multi-plane roof, tilted
# along this pivot line.
pivotLine: RoofPivotLine | None = None
# Slope angle of the single-plane roof in radians. Only valid together with
# 'pivotLine'.
angle: float | None = None
eavesOverhang: float | None = None
# Multi-plane roofs only: whether skylights are placed tangentially to the
# curved surfaces of the roof rather than parallel to its individual segments,
# as GetDetailsOfElements reports it. When omitted the new roof gets the value
# of the roof tool default.
fitSkylightToCurve: bool | None = None
levels: list[RoofLevel] | None = None
# Multi-plane roofs only: the roof planes of each edge of the pivot polygon,
# one item per edge in the order GetDetailsOfElements reports them (item i is
# the edge from vertex i to vertex i + 1 of polygonCoordinates, the last one
# closing the polygon; the edges of each hole follow), as ModifyRoofs takes
# them. They are written right after the roof is made from levels and
# eavesOverhang, and only the given fields change those planes; an item
# without levels keeps its edge. angleType Gable makes a gable roof in one
# call. If they cannot be written, the roof is not created.
pivotEdges: list[RoofPivotEdgeChange] | None = None
structureType: RoofStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
RoofDetails ¶
roofClass: RoofClass
structureType: RoofStructureType
thickness: float
# Height of the pivot line (single-plane) or the pivot polygon (multi-plane)
# above the level of the roof's home story (story-relative). The pivot line
# lies on the roof's underside: a single-plane roof's top surface is thickness
# / cos(angle) higher at the pivot line. ModifyRoofs and CreateRoofs take the
# absolute zCoordinate as their 'level' instead.
level: float
# Absolute elevation (from the project zero) of the pivot line (single-plane)
# or the pivot polygon (multi-plane): level plus the elevation of the home
# story. For a single-plane roof it is the elevation of the roof's underside
# at the pivot line, not of its top. This is the value ModifyRoofs and
# CreateRoofs take as 'level'.
zCoordinate: float
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
topMaterial: OverriddenMaterial | None = None
sideMaterial: OverriddenMaterial | None = None
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, Archicad recomputes 'visibility' and 'fillVisibility'
# automatically from the roof's vertical extent.
isAutoOnStoryVisibility: bool | None = None
# The stories the roof's contour is shown on
# (API_ShellBaseType::visibilityCont).
visibility: StoryVisibility | None = None
# The stories the roof's cover fill is shown on
# (API_ShellBaseType::visibilityFill).
fillVisibility: StoryVisibility | None = None
# A roof uses ContoursDown or PivotLinesDown; ModifyRoofs sets these values.
cutBodyType: ShellBaseCutBodyType | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the roof's contour where it is cut (API_ShellBaseType::sectContPen).
sectionContourPen: int | None = None
# Line type of the roof's contour where it is cut
# (API_ShellBaseType::sectContLtype) - pairs with sectionContourPen.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the roof's contour (API_ShellBaseType::pen).
contourPen: int | None = None
# Line type of the roof's contour (API_ShellBaseType::ltypeInd) - pairs with
# contourPen.
contourLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup - pairs with aboveViewLinePen.
aboveViewLineTypeId: AttributeId | None = None
floorFill: ShellBaseFloorFill | None = None
# Single-plane: the slope in radians.
angle: float | None = None
# For single-plane roofs.
pivotLine: RoofDetailsPivotLine | None = None
# Multi-plane: the eaves overhang beyond the pivot polygon.
eavesOverhang: float | None = None
overhangType: RoofOverhangType | None = None
# Multi-plane: the roof levels, each with its height above the previous and
# its slope in radians.
levels: list[RoofDetailsLevel] | None = None
# Multi-plane: the pivot polygon the planes rise from. This is the polygon
# ModifyRoofs' polygonOutline writes for a multi-plane roof. Its curved edges
# are in pivotPolygonArcs.
pivotPolygonOutline: list[Coordinate2D] | None = None
# Multi-plane: the arcs of pivotPolygonOutline, indexed into it from 0 as
# polygonArcs are; missing when every pivot edge is straight. This is the list
# ModifyRoofs' polygonArcs writes with the pivot polygon of a multi-plane
# roof.
pivotPolygonArcs: list[PolyArc] | None = None
# Multi-plane: how the curved edges of the pivot polygon are resolved into
# planes. SegmentsByCircle cuts a whole circle into segmentsByCircle segments
# and uses as many as the arc covers; SegmentsByArc cuts each arc into
# segmentsByArc segments.
segmentType: RoofSegmentType | None = None
# Multi-plane: the number of segments of each arc when segmentType is
# SegmentsByArc.
segmentsByArc: int | None = None
# Multi-plane: the number of segments of a whole circle when segmentType is
# SegmentsByCircle.
segmentsByCircle: int | None = None
# Multi-plane: whether skylights are placed tangentially to the curved
# surfaces of the roof rather than parallel to its individual segments
# (fitSkylightToCurve of API_PolyRoofData). ModifyRoofs and CreateRoofs write
# it.
fitSkylightToCurve: bool | None = None
# The roof's polygon: the plane roof's outline, the multi-plane roof's contour
# (the finished outline, outside the pivot polygon by the eaves overhangs).
# ModifyRoofs' polygonOutline writes the outline of a single-plane roof but
# the pivot polygon (pivotPolygonOutline) of a multi-plane roof, so a multi-
# plane roof's contour read here cannot be sent back as polygonOutline
# unchanged; ModifyRoofs takes it, with polygonArcs and holes, as
# contourPolygon.
polygonOutline: list[Coordinate2D]
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# The custom side surface of each edge of the roof's polygon: the edges of
# polygonOutline first, then those of each hole in order, the item i of a
# polygon belonging to its edge from vertex i to vertex i + 1. For a multi-
# plane roof these are the edges of its contour (polygonOutline), not of the
# pivot polygon. ModifyRoofs takes the same list for single-plane and multi-
# plane roofs.
edgeSideMaterials: list[OverriddenMaterial] | None = None
# The cut of each edge of the roof's polygon (polygonOutline: a single-plane
# roof's outline, a multi-plane roof's contour), in the order of
# edgeSideMaterials: item i is the edge from vertex i to vertex i + 1 of
# polygonOutline, then the edges of each hole in the same way, hole by hole.
# ModifyRoofs takes the same list.
edgeTrims: list[RoofEdgeTrim] | None = None
# The Edge Type of each edge of the roof's polygon (Custom Edge Settings),
# which schedules use, e.g. to list the length of the Eaves or Gable edges. On
# a multi-plane roof these are the edges of its contour (polygonOutline, which
# Archicad makes from the pivot polygon and the eaves overhang), which do not
# map one to one onto pivotEdges. In the order of edgeSideMaterials and
# edgeTrims: the edges of polygonOutline first, then those of each hole in
# order, the item i of a polygon belonging to its edge from vertex i to vertex
# i + 1. It does not change the geometry of the roof. ModifyRoofs takes the
# same list.
edgeTypes: list[RoofEdgeType] | None = None
# Multi-plane roofs only: the roof planes of each edge of the pivot polygon.
# Item i belongs to the edge from vertex i to vertex i + 1 of
# pivotPolygonOutline; for a pivot polygon with holes, the edges of each hole
# follow, contour by contour.
pivotEdges: list[RoofPivotEdge] | None = None
Import from multiconn_archicad.models.tapir.types.
RoofDetailsLevel ¶
height: float
angle: float
Import from multiconn_archicad.models.tapir.types.
RoofDetailsPivotLine ¶
The pivot line about which a roof plane rotates.
begin: Coordinate2D
end: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
RoofEdgeTrim ¶
How an edge of a roof's polygon (a single-plane roof's outline or a multi-plane roof's contour) is cut (the edge's cut in the roof's Custom Edge Settings).
trimType: RoofEdgeTrimType | None = None
# The angle of the edge cut in radians, as Archicad stores it. Only
# CustomAngle uses it.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
RoofEdgeTrimType ¶
Vertical, Perpendicular to the roof plane, Horizontal, or at 'angle' (CustomAngle). AlignWithCut is only reported, for shell edges; it cannot be written to a roof.
VERTICAL = 'Vertical'
PERPENDICULAR = 'Perpendicular'
HORIZONTAL = 'Horizontal'
CUSTOM_ANGLE = 'CustomAngle'
ALIGN_WITH_CUT = 'AlignWithCut'
Import from multiconn_archicad.models.tapir.types.
RoofEdgeType ¶
The Edge Type of an edge of a single-plane roof (its Custom Edge Settings), used only for listing: Undefined (not set, the default), Ridge, Valley, Gable, Hip, Eaves, Peak, SideWall, EndWall, RoofTransitionDome or RoofTransitionHollow.
UNDEFINED = 'Undefined'
RIDGE = 'Ridge'
VALLEY = 'Valley'
GABLE = 'Gable'
HIP = 'Hip'
EAVES = 'Eaves'
PEAK = 'Peak'
SIDE_WALL = 'SideWall'
END_WALL = 'EndWall'
ROOF_TRANSITION_DOME = 'RoofTransitionDome'
ROOF_TRANSITION_HOLLOW = 'RoofTransitionHollow'
Import from multiconn_archicad.models.tapir.types.
RoofLevel ¶
A level of a multi-plane roof: its height and the angle of the roof planes above it. Give levelHeight and levelAngle, or height and angle, the keys GetDetailsOfElements reads the levels with (RoofDetailsLevel), so the levels read can be sent back; levelHeight and levelAngle win when both forms are given.
levelHeight: float | None = None
levelAngle: float | None = None
# The same as levelHeight, as GetDetailsOfElements reads it.
height: float | None = None
# The same as levelAngle, as GetDetailsOfElements reads it.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
RoofLevelWithHeight ¶
Requires height, angle.
levelHeight: float | None = None
levelAngle: float | None = None
# The same as levelHeight, as GetDetailsOfElements reads it.
height: float
# The same as levelAngle, as GetDetailsOfElements reads it.
angle: float
Import from multiconn_archicad.models.tapir.types.
RoofLevelWithLevelHeight ¶
Requires levelHeight, levelAngle.
# The same as levelHeight, as GetDetailsOfElements reads it.
height: float | None = None
# The same as levelAngle, as GetDetailsOfElements reads it.
angle: float | None = None
levelHeight: float
levelAngle: float
Import from multiconn_archicad.models.tapir.types.
RoofOrShellRelations ¶
# A list of elements.
connectedRooms: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
RoofOrShellRelationsOfElement ¶
Relations of a roof or shell: the connected zones.
roofOrShellRelations: RoofOrShellRelations
Import from multiconn_archicad.models.tapir.types.
RoofOverhangType ¶
Multi-plane: how the roof's contour is made (API_PolyRoofData::overHangType, the Overhang of Roof Settings). Offset: from the pivot polygon and the eaves overhangs, which ModifyRoofs' eavesOverhang sets. Manual: the contour was edited on its own (Edit Roof Contour in Archicad, or ModifyRoofs' contourPolygon), and polygonOutline is that contour.
OFFSET = 'Offset'
MANUAL = 'Manual'
Import from multiconn_archicad.models.tapir.types.
RoofPivotEdge ¶
# The roof plane of the edge on each level, from the pivot polygon upwards.
levels: list[RoofPivotEdgeLevel]
Import from multiconn_archicad.models.tapir.types.
RoofPivotEdgeAngleType ¶
Gable for a vertical gable plane, Sloped otherwise.
SLOPED = 'Sloped'
GABLE = 'Gable'
Import from multiconn_archicad.models.tapir.types.
RoofPivotEdgeChange ¶
# The roof plane of the edge on each level, from the pivot polygon upwards; at
# most as many as the roof has levels.
levels: list[RoofPivotEdgeLevelUpdate] | None = None
Import from multiconn_archicad.models.tapir.types.
RoofPivotEdgeLevel ¶
# Angle of the plane to the XY plane.
angle: float
# Extension of the eaves outside the pivot polygon.
eavesOverhang: float
angleType: RoofPivotEdgeAngleType
# The plane's own top surface (Custom Plane Settings). Omitted when it names
# no surface.
topMaterialId: AttributeId | None = None
# The plane's own bottom surface (Custom Plane Settings). Omitted when it
# names no surface.
bottomMaterialId: AttributeId | None = None
# The plane's own cover fill (Custom Plane Settings). Omitted when it names no
# fill.
coverFillId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
RoofPivotEdgeLevelUpdate ¶
# Angle of the plane to the XY plane.
angle: float | None = None
# Extension of the eaves outside the pivot polygon.
eavesOverhang: float | None = None
angleType: RoofPivotEdgeAngleType | None = None
# The plane's own top surface (Custom Plane Settings). The roof is read back
# after the change, and the item fails if Archicad did not apply it
# (CreateRoofs then does not create the roof).
topMaterialId: AttributeId | None = None
# The plane's own bottom surface (Custom Plane Settings). Read back like
# topMaterialId.
bottomMaterialId: AttributeId | None = None
# The plane's own cover fill (Custom Plane Settings). Read back like
# topMaterialId.
coverFillId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RoofPivotLine ¶
A directed pivot line defined by its beginning and end coordinates. The roof plane rises on the left side of the line direction (begCoordinate towards endCoordinate); reverse the direction to tilt towards the other side.
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
RoofPivotLineUpdate ¶
Single-plane roofs only: the line the plane rises from. The ends are named begCoordinate and endCoordinate as in CreateRoofs, or begin and end as GetDetailsOfElements reports them.
begCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
begin: Coordinate2D | None = None
end: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
RoofQuantities ¶
Quantities of a Roof element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the roof.
volume: float
# Conditional net volume of the roof.
volumeConditional: float
# Gross volume of the roof.
grossVolume: float
# Net top surface of the roof.
topSurface: float
# Net bottom surface of the roof.
bottomSurface: float
# Net surface of the edges of the roof.
edgeSurface: float
# Conditional top surface of the roof.
topSurfaceConditional: float
# Conditional bottom surface of the roof.
bottomSurfaceConditional: float
# Gross top surface of the roof.
grossTopSurface: float
# Gross bottom surface of the roof.
grossBottomSurface: float
# Gross surface of the edges of the roof.
grossEdgeSurface: float
# Area of the roof contour polygon.
contourArea: float
# Perimeter of the roof.
perimeter: float
# Total area of the holes in the roof.
holesSurface: float
# Total perimeter of the holes in the roof.
holesPerimeter: float
# Total surface of the roof openings.
openingsSurface: float
# Length of the ridge edges (divided by 2, as Archicad reports it).
ridgesLength: float
# Length of the valley edges (divided by 2, as Archicad reports it).
valleysLength: float
# Length of the hip edges (divided by 2, as Archicad reports it).
hipsLength: float
# Length of the gable edges.
gablesLength: float
# Length of the eave edges.
eavesLength: float
# Length of the peak edges.
peaksLength: float
Import from multiconn_archicad.models.tapir.types.
RoofSegmentType ¶
Multi-plane roofs only: how the curved edges of the pivot polygon (polygonArcs) are resolved into planes, as GetDetailsOfElements reports it. SegmentsByCircle cuts a whole circle into segmentsByCircle segments and uses as many as the arc covers; SegmentsByArc cuts each arc into segmentsByArc segments. Written to the roof and to every edge of its pivot polygon; the roof is read back and the item fails when Archicad did not apply it. Cannot be combined with contourPolygon, as none of segmentsByArc and segmentsByCircle can.
SEGMENTS_BY_CIRCLE = 'SegmentsByCircle'
SEGMENTS_BY_ARC = 'SegmentsByArc'
Import from multiconn_archicad.models.tapir.types.
RoofStructureType ¶
BASIC = 'Basic'
COMPOSITE = 'Composite'
Import from multiconn_archicad.models.tapir.types.
RoofWithDetails ¶
elementId: ElementId
# Absolute elevation (from the project zero) of the roof's pivot line (single-
# plane) or pivot polygon (multi-plane): the value GetDetailsOfElements
# returns as zCoordinate, not its story-relative level. For a single-plane
# roof it is the elevation of the roof's underside at the pivot line, as in
# CreateRoofs. GetDetailsOfElements then returns level = this value minus the
# elevation of the roof's home story. Without floorIndex the home story is
# recomputed from this value: the highest story whose elevation is at or below
# it (the lowest story when it is below every story), so an elevation at or
# above the next story's moves the roof to that story. To keep the home story,
# send the roof's current floorIndex (from GetDetailsOfElements) with level.
level: float | None = None
# Home story of the roof. With level, the roof gets this home story and level
# stays an absolute elevation (the offset from the story is worked out from
# it); without level, it moves to this story and keeps its offset from the
# story.
floorIndex: int | None = None
# Only takes effect on a Basic (homogeneous) roof - a Composite roof takes its
# thickness from the composite attribute. Send structureType 'Basic' in the
# same call to switch a composite roof first.
thickness: float | None = None
# Multi-plane roofs only: one eaves overhang for the whole roof, the distance
# of the roof's contour outside the pivot polygon. Switches the roof to an
# overhang offset from the pivot polygon (overhangType Offset), which replaces
# a manual contour. Per-edge overhangs are set with pivotEdges. Cannot be
# combined with contourPolygon.
eavesOverhang: float | None = None
contourPolygon: RoofContourPolygonUpdate | None = None
levels: list[RoofLevel] | None = None
segmentType: RoofSegmentType | None = None
# Multi-plane roofs only: the number of segments of each arc with segmentType
# SegmentsByArc. Written as segmentType is.
segmentsByArc: int | None = None
# Multi-plane roofs only: the number of segments of a whole circle with
# segmentType SegmentsByCircle. Written as segmentType is.
segmentsByCircle: int | None = None
# Multi-plane roofs only: whether skylights are placed tangentially to the
# curved surfaces of the roof rather than parallel to its individual segments,
# as GetDetailsOfElements reports it. Moves neither the pivot polygon nor the
# contour; the roof is read back and the item fails when Archicad did not
# apply it.
fitSkylightToCurve: bool | None = None
structureType: RoofStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
# Single-plane roofs: the roof's outline (polygonOutline of
# GetDetailsOfElements). Multi-plane roofs: the PIVOT polygon
# (pivotPolygonOutline of GetDetailsOfElements), not the contour
# GetDetailsOfElements returns as polygonOutline, which lies outside the pivot
# polygon by the eaves overhangs. A multi-plane roof's contour follows from
# the pivot polygon and the overhangs (eavesOverhang, or per edge with
# pivotEdges in a separate call, as pivotEdges cannot be combined with
# polygonOutline), or is written on its own with contourPolygon. The
# coordinates are plan (x, y) coordinates; the elevation is set with level.
# The roof gets the given 'holes', or none without them.
polygonOutline: list[Coordinate2D] | None = None
polygonArcs: list[PolyArc] | None = None
# The holes of the roof: of a single-plane roof in its polygon, of a multi-
# plane roof in its pivot polygon. Replaces the roof's holes; given without
# 'polygonOutline' the roof keeps its outline, and an empty array removes
# every hole. On a multi-plane roof the edges of an outline that keeps its
# number of points keep their roof planes; every other edge (a new hole's, or
# each edge of an outline with another number of points) gets the roof planes
# of the first edge of the old outline.
holes: list[Hole2D] | None = None
# Overrides the surface of the top of the roof; overridden false clears the
# override.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the sides of the roof; overridden false clears the
# override. Edges with a custom surface (edgeSideMaterials) keep theirs.
sideMaterial: OverriddenMaterial | None = None
# Overrides the surface of the bottom of the roof; overridden false clears the
# override.
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained, as GetDetailsOfElements reports
# it.
materialsChained: bool | None = None
# The custom surface of each edge of the roof's polygon (single-plane roofs)
# or contour (multi-plane roofs, the polygonOutline and holes of
# GetDetailsOfElements, not the pivot polygon), one item per edge in the order
# GetDetailsOfElements reports them in edgeSideMaterials (the outline, then
# each hole). An overridden item sets the edge's custom surface, overridden
# false clears it so the edge shows the roof's side surface. Send every edge;
# the other edges keep their surface when sent as read. The roof is read back
# after writing, and the item fails when an edge does not have the surface
# given for it. Cannot be combined with polygonOutline, holes or
# contourPolygon, nor, on a multi-plane roof, with eavesOverhang, pivotEdges,
# segmentType, segmentsByArc or segmentsByCircle, which make the contour
# again.
edgeSideMaterials: list[OverriddenMaterial] | None = None
cutBodyType: RoofCutBodyTypeUpdate | None = None
# Single-plane roofs only: the angle of the plane to the XY plane.
angle: float | None = None
pivotLine: RoofPivotLineUpdate | None = None
# The cut of each edge of the roof's polygon (polygonOutline: a single-plane
# roof's outline, a multi-plane roof's contour), one item per edge in the
# order GetDetailsOfElements reports them in edgeTrims: item i is the edge
# from vertex i to vertex i + 1 of polygonOutline, then the edges of each hole
# in the same way, hole by hole. Only the given fields change; an empty item
# keeps its edge, so one edge is set by sending an empty item for every other
# edge. On a multi-plane roof this is the cut of the finished contour edge,
# not its roof plane (pivotEdges). Cannot be combined with polygonOutline,
# holes or contourPolygon, nor on a multi-plane roof with pivotEdges,
# eavesOverhang, segmentType, segmentsByArc or segmentsByCircle, which move
# the contour.
edgeTrims: list[EdgeTrim] | None = None
# The Edge Type (Custom Edge Settings) of each edge of the roof's polygon,
# which schedules use, e.g. to list the length of the Eaves or Gable edges; on
# a multi-plane roof of its contour (GetDetailsOfElements' polygonOutline, the
# edges Archicad makes from the pivot polygon and the eaves overhang), not of
# the pivot polygon. One item per edge in the order GetDetailsOfElements
# reports them in edgeTypes and edgeTrims (the outline, then each hole); send
# the list read back with the items to change replaced. Changes neither the
# polygon nor the edge cuts; on a multi-plane roof the pivot polygon,
# pivotEdges and the edge surfaces are sent back unchanged and the edge types
# are read back after writing. Cannot be combined with polygonOutline, holes
# or contourPolygon, nor on a multi-plane roof with eavesOverhang, pivotEdges
# or the segmentation, which make the contour again.
edgeTypes: list[RoofEdgeType] | None = None
# Multi-plane roofs only: the roof planes of each edge of the pivot polygon,
# one item per edge in the order GetDetailsOfElements reports them (the
# outline, then each hole). Only the given fields change; an item without
# levels keeps its edge. Cannot be combined with polygonOutline or holes.
pivotEdges: list[RoofPivotEdgeChange] | None = None
# Floor Plan Display of the element.
displayOption: DisplayOption | None = None
# Show Projection: how far the element is shown on the floor plan.
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, Archicad recomputes 'visibility' and 'fillVisibility' from the
# element's vertical extent and ignores values set for them. Setting
# 'visibility' or 'fillVisibility' without this field turns it off.
isAutoOnStoryVisibility: bool | None = None
# The stories the element's contour is shown on. Only the given fields change.
# Archicad always shows the contour on the element's home story, so
# 'showOnHome' false is not applied; the item's result then fails and names
# it, the other details given are applied. A field Archicad does not apply is
# named in the result in the same way.
visibility: StoryVisibility | None = None
# The stories the element's cover fill is shown on. Only the given fields
# change. A field Archicad does not apply makes the item's result fail and is
# named in it.
fillVisibility: StoryVisibility | None = None
# Overrides the pen of the cut fill.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill.
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the element's contour where it is cut.
sectionContourPen: int | None = None
# Line type of the element's contour where it is cut.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the element's uncut contour.
contourPen: int | None = None
# Line type of the element's uncut contour.
contourLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLineTypeId: AttributeId | None = None
# The cover fill of the element in the floor plan. Only the given fields
# change; read the orientation back with GetDetailsOfElements, Archicad may
# not apply all of it.
floorFill: ShellBaseFloorFill | None = None
Import from multiconn_archicad.models.tapir.commands.
RotateCopyElementsParameters ¶
# The elements to copy.
elements: list[ElementIdArrayItem]
# The center of the rotation on the floor plan.
center: Coordinate2D
# The angle in radians the first copy is rotated by from its element,
# counterclockwise.
angle: float
# Optional number of copies of each element. Copy n is rotated by n times the
# angle, so more than one makes a circular array. By default it's 1.
count: int | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
RotateElementsParameters ¶
# The elements with rotation settings.
elementsWithRotations: list[ElementsWithRotation]
Import from multiconn_archicad.models.tapir.commands.
RotateElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
Rotation ¶
Rotation parameters for an element.
# Starting point of the rotation arc.
beginPoint: Coordinate2D
# End point of the rotation arc.
endPoint: Coordinate2D
# Center of rotation.
origin: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
RoutingElement ¶
The routing tool default.
mepSystemId: AttributeId
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
branchPreferenceTableId: UUID | None = None
cutPlanePosition: MEPCutPlanePosition | None = None
floorPlanDisplayOption: MEPFloorPlanDisplayOption | None = None
showProjection: MEPShowProjection | None = None
onStoryVisibility: MEPOnStoryVisibility | None = None
# The segment default of the routing tool.
routingSegment: RoutingSegment
# The node default of the routing tool.
routingNode: RoutingNode
Import from multiconn_archicad.models.tapir.types.
RoutingNode ¶
The node default of the routing tool.
preferredTransitionPlacement: MEPPreferredTransitionPlacement | None = None
# The elbow default: Archicad 27 gives its radius factor (it calls elbows
# bends), Archicad 28 none, Archicad 29 and later both values.
elbow: Elbow | None = None
# The transition default.
transition: Transition | None = None
Import from multiconn_archicad.models.tapir.types.
RoutingSegment ¶
The segment default of the routing tool.
crossSectionShape: MEPCrossSectionShape | None = None
crossSectionWidth: float | None = None
crossSectionHeight: float | None = None
crossSectionReferenceId: int | None = None
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
preferenceTableId: UUID | None = None
# The anchor point of the cross section, with the values of
# GetMEPRoutingElements.
anchor: str | None = None
referenceLineOffsetX: float | None = None
referenceLineOffsetY: float | None = None
wallThickness: float | None = None
flangeSize: float | None = None
connectionStyle: MEPConnectionStyle | None = None
Import from multiconn_archicad.models.tapir.commands.
RunActionCenterChecksParameters ¶
# The Action Center checks to run, in this order. Omitted means ["Hotlinks"].
# "Hotlinks" is available on every Archicad version; "All", "Libraries",
# "Drawings" and "Licenses" only on Archicad 25, later versions return an
# error for them in their execution result.
checks: list[ActionCenterCheck] | None = None
Import from multiconn_archicad.models.tapir.commands.
RunActionCenterChecksResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
RunParameterScriptOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
RunParameterScriptOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
S¶
Import from multiconn_archicad.models.tapir.commands.
SaveAsModuleFileParameters ¶
# Absolute path of the .mod file to write. An existing file is overwritten,
# unless overwrite is false. The current window must be a floor plan, section,
# elevation or detail.
moduleFilePath: str
# Optional, true by default. false refuses to save when a file already exists
# at moduleFilePath, and writes nothing.
overwrite: bool | None = None
# Optional. The elements that go into the module; omitted, the current
# selection does, as Save Selection as Module would. Pass GetAllElements for
# the whole project. Archicad 25 and 26 support the selection form only.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
SaveAsModuleFileResult ¶
SaveAsModuleFileResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SaveCurrentWindowAsImageParameters ¶
# Absolute path of the image file to write. An existing file is overwritten,
# unless overwrite is false.
imageFilePath: str
# Optional, true by default. false refuses to save when a file already exists
# at imageFilePath, and writes nothing.
overwrite: bool | None = None
format: ImageFormat | None = None
colorDepth: ImageColorDepth | None = None
# Optional, false by default. Whether the image is dithered when its color
# depth drops colors.
dithered: bool | None = None
# Optional, false by default. Whether the image covers the entire drawing of a
# 2D window instead of its current zoom, as the Entire Drawing option of the
# Save as picture dialog does.
entireDrawing: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SaveCurrentWindowAsImageResult ¶
# The path of the written image file.
imageFilePath: str
# The zoom of the window the image shows, as GetView2DTransformations reports
# it. Absent for the 3D window.
zoom: Zoom | None = None
# The orientation of the window in radian, as GetView2DTransformations reports
# it. Absent for the 3D window.
rotation: float | None = None
Import from multiconn_archicad.models.tapir.types.
SaveFlags ¶
Which settings the view stores: the "stored in this view" checkboxes of the View Settings dialog. A stored setting whose name field is empty is a custom (unnamed) one; a setting that is not stored is not part of the view at all, which the name fields alone cannot tell apart. Always complete in a GetViewSettings response. In SetViewSettings every flag is optional, a flag that is not given keeps its current value, and a flag given here overrides the one implied by drawingScale, zoom, structureDisplay or saveZoom.
# Whether the zoom box is stored in the view.
zoom: bool | None = None
# Whether the model view options are stored in the view (named by
# modelViewOptions, custom if that is empty).
displayOptions: bool | None = None
# Whether the layer settings are stored in the view (named by
# layerCombination, custom if that is empty).
layers: bool | None = None
# Whether the drawing scale is stored in the view.
drawingScale: bool | None = None
# Whether the dimension settings are stored in the view (named by
# dimensionStyle, custom if that is empty). When false, dimensionStyle is not
# valid data.
dimensions: bool | None = None
# Whether the pen set is stored in the view (named by penSetName, custom if
# that is empty).
penSet: bool | None = None
# Whether the structure display mode is stored in the view.
structureDisplay: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SaveProjectAsArchiveParameters ¶
# Absolute path of the .pla archive to write. An existing file is overwritten,
# unless overwrite is false. The archive becomes the open project, as Save As
# does.
archiveFilePath: str
# Optional, true by default. false refuses to save when a file already exists
# at archiveFilePath, and writes nothing.
overwrite: bool | None = None
# Optional, true by default. Whether the library parts the project uses go
# into the archive, which makes the archive usable as a linked library of
# another project.
includeLibraryParts: bool | None = None
# Optional, true by default. Whether the properties go into the archive.
includeProperties: bool | None = None
# Optional, false by default. Whether the linked textures go into the archive.
includeTextures: bool | None = None
# Optional, false by default. Whether the background picture goes into the
# archive.
includeBackgroundPicture: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SaveProjectAsArchiveResult ¶
SaveProjectAsArchiveResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SaveProjectParameters ¶
# Optional. Full path of a .pln file to save the project to, as File > Save As
# does: the open project then refers to that file. This saves an untitled
# project, or one opened from an older Archicad version, which cannot be saved
# in place. An existing file at the path is overwritten, unless overwrite is
# false. When omitted, or when it is the project's own file, the project is
# saved in place, which keeps the refusal of a project opened read-only.
projectPath: str | None = None
# Optional, true by default. Only together with projectPath: false refuses to
# save when a file already exists at projectPath, the project's own file
# included, and writes nothing.
overwrite: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SaveProjectResult ¶
SaveProjectResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ScaleElementsParameters ¶
# The elements to scale: Wall, Column, Beam, Slab, Roof, Mesh, Zone, Line,
# PolyLine, Arc, Circle, Spline, Hatch or Hotspot, in the current database.
elements: list[ElementIdArrayItem]
# The fixed point of the scaling on the floor plan; every point of the
# elements moves away from it (factor > 1) or towards it (factor < 1).
center: Coordinate2D
# The scale factor, greater than 0: 2 doubles the distances from the center,
# 0.5 halves them.
factor: float
# Optional scale factor in Y. Archicad's Resize scales X and Y by one ratio,
# so it must be the same as factor (or left out); a different value is
# refused.
factorY: float | None = None
Import from multiconn_archicad.models.tapir.commands.
ScaleElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
ScheduleSummary ¶
The identifier and summary of a schedule.
navigatorItemId: NavigatorItemId
# The name of the schedule.
name: str
# The ID of the schedule, shown before its name in the navigator.
uiId: str
# The names of the Project Map items the schedule is in, from the top down,
# without the project itself (e.g. Schedules, Element). Archicad's API does
# not say whether a schedule lists elements, components or surfaces; the
# default Project Map shows it by these folders.
folderPath: list[str]
Import from multiconn_archicad.models.tapir.types.
ScreenPoint ¶
# Horizontal pixel position from the left edge of the view window.
h: int
# Vertical pixel position from the top edge of the view window.
v: int
Import from multiconn_archicad.models.tapir.types.
ScreenPointInput ¶
# Horizontal pixel position from the left edge of the view window.
h: int
# Vertical pixel position from the top edge of the view window.
v: int
Import from multiconn_archicad.models.tapir.commands.
ScreenToModelParameters ¶
# Pixel positions local to the current Archicad view window (not global
# desktop coordinates).
screenPoints: list[ScreenPointInput]
Import from multiconn_archicad.models.tapir.commands.
ScreenToModelResult ¶
# One item per input screen point, in the same order: the 2D model coordinate
# in the current database (meters), or an error. This is a 2D mapping: it does
# not reconstruct a 3D point, and in a 3D window the result is not a point of
# the model.
coordinates: list[Coordinate2D | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
Scripts ¶
Optional. The GDL scripts of the new library part.
# The master script.
master: str | None = None
# The 2D script. When it is empty, the 2D symbol is drawn; a 2D script draws
# it with FRAGMENT2 ALL, 0.
field_2D: str | None = None
# The 3D script.
field_3D: str | None = None
# The parameter script.
parameter: str | None = None
Import from multiconn_archicad.models.tapir.types.
ScriptUIShown ¶
success: Literal[True] = True
# The window the page is shown in (1 to 8). Pass it to GetScriptUIResult, or
# to a later ShowScriptUI to replace the page.
uiId: int
Import from multiconn_archicad.models.tapir.commands.
SearchFavoritesParameters ¶
# Optional case-insensitive substring to search in favorite name or folder
# hierarchy.
query: str | None = None
# Optional filter by element type. If omitted, searches across all element
# types.
elementType: ElementType | None = None
# Maximum number of matching favorites to return.
limit: int | None = None
Import from multiconn_archicad.models.tapir.commands.
SearchFavoritesResult ¶
# The matching Favorites, each with its element type and folder.
favorites: list[FavoriteSummary]
Import from multiconn_archicad.models.tapir.commands.
SearchLibraryPartsParameters ¶
# The unique ID of the ancestor library part, '{main GUID}-{revision GUID}',
# as GetLibraryPartIdentities returns it. Only the library parts derived from
# it are found.
ancestorUnId: str
# The name pattern to match, with * as wildcard, for example 'Chair*'. Use '*'
# to find every library part derived from the ancestor.
pattern: str
Import from multiconn_archicad.models.tapir.commands.
SearchLibraryPartsResult ¶
# The library parts found. Archicad returns at most 50.
libraryParts: list[LibraryPartSearchResult]
Import from multiconn_archicad.models.tapir.commands.
SearchPropertiesParameters ¶
# Case-insensitive substring to search in property name or property group
# name.
query: str | None = None
# Optional case-insensitive substring to filter by property group name.
propertyGroup: str | None = None
# Optional filter by property definition type.
propertyType: PropertyType | None = None
# Optional filter by property value type.
valueType: ValueType | None = None
# Optional filter by property collection type.
collectionType: CollectionType | None = None
# If true, includes possibleEnumValues for enumeration properties. Default is
# false to minimize token footprint.
includeEnumValues: bool | None = None
# If true, includes classification availability. Default is false to minimize
# token footprint.
includeAvailability: bool | None = None
# Maximum number of matching properties to return.
limit: int | None = None
Import from multiconn_archicad.models.tapir.commands.
SearchPropertiesResult ¶
# A list of property details matching the search criteria.
properties: list[PropertyDetails]
Import from multiconn_archicad.models.tapir.types.
SectionData ¶
# The start point of a straight section line. Give it with endCoordinate, or
# give mainCoordinates instead.
startCoordinate: Coordinate2D | None = None
# The end point of a straight section line. Give it with startCoordinate, or
# give mainCoordinates instead.
endCoordinate: Coordinate2D | None = None
# The points of the section line, from start to end, instead of
# startCoordinate and endCoordinate: more than two make a staggered section
# line. Each segment must be at a right angle to the one before it, as
# Archicad draws the breaks of a staggered section, and the line starts and
# ends on a main segment, so the number of points is even (2, 4, 6 and so on).
# The section looks to the left of the first segment. GetDetailsOfElements
# reads them back as mainCoordinates.
mainCoordinates: list[Coordinate2D] | None = None
# The distance of the depth line from the first segment of the section line,
# on the left of its start to end direction, which is the direction the
# section looks in. The depth line is straight and as wide as the whole
# section line. Default is 1.
depth: float | None = None
name: str | None = None
# The reference ID shown in the section marker and in the Project Map. A '/'
# splits it between the start and the end marker. Without it the section takes
# the ID of the Section tool defaults, or none with a favoriteName, as a
# Section favorite carries no ID.
id: str | None = None
# Optional name of a Section favorite to base the new section on, marker
# included. Its settings are applied first, then the explicitly given fields
# override them. The Section tool defaults are restored afterwards.
favoriteName: str | None = None
floorIndex: int | None = None
details: SectionElevationSettableDetails | None = None
Import from multiconn_archicad.models.tapir.types.
SectionDetails ¶
The geometry of a Section (CutPlane) or Elevation marker on the floor plan; for sections the fields CreateSections takes. Archicad stores both the same way.
# The name of the section or elevation.
name: str
# The reference ID of the section or elevation.
idStr: str
# The points of the section or elevation line, from start to end
# (mainCoordinates of CreateSections). More than two for a staggered section
# line. Empty when the line cannot be read.
mainCoordinates: list[Coordinate2D]
# The points of the depth line, the far boundary of the section or elevation.
# Empty when it cannot be read.
depthCoordinates: list[Coordinate2D]
# The first point of the section or elevation line (startCoordinate of
# CreateSections).
startCoordinate: Coordinate2D | None = None
# The last point of the section or elevation line (endCoordinate of
# CreateSections).
endCoordinate: Coordinate2D | None = None
# The distance of the first depth point from the first segment of the section
# or elevation line (depth of CreateSections).
depth: float | None = None
# The unit vector perpendicular to the first segment of the section or
# elevation line, pointing to the side of the depth line: the direction the
# section or elevation looks in. CreateSections puts it to the left of the
# start to end direction.
viewDirection: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
SectionElement ¶
# The identifier of the section element itself, accepted by
# CreateAssociativeDimensionsOnSection as sectionElementId.
sectionElementId: ElementId
# The identifier of the owner element the section element was generated from -
# this is what every other listing command returns.
ownerElementId: ElementId
# The type of the owner element. Only present when the owner's header is
# readable from the section database.
ownerElementType: ElementType | None = None
Import from multiconn_archicad.models.tapir.types.
SectionElevationDetails ¶
Full readable state of a Section or Elevation element: every field of SectionElevationSettableDetails, plus its name and reference ID and read-only/informational fields.
# Name of the section/elevation, shown in the Project Map. ModifySections
# changes it.
name: str | None = None
# The reference ID shown in the marker and in the Project Map. If it contains
# a '/' character, the text is split between the beginning and end marks.
# ModifySections changes it.
id: str | None = None
# Pen index of the section/elevation line.
linePenIndex: int | None = None
# Pen index of the marker text.
textPenIndex: int | None = None
# Line type attribute of the section/elevation line.
lineTypeId: AttributeId | None = None
# Pen index used for cut contours (when useElementPens is false).
sectionLinePenIndex: int | None = None
# Pen index used for cut fills (when useElementPens is false).
sectionFillPenIndex: int | None = None
# Background pen index of the cut fills (when useElementPens is false).
sectionFillBackgroundPenIndex: int | None = None
# Horizontal range of the segment.
horizontalRange: HorizontalRange | None = None
# Vertical range of the segment. FitToZoneRange is for interior elevations
# only.
verticalRange: VerticalRange | None = None
# The story vertMin/vertMax are relative to, when relativeToStory is true.
verticalRangeStoryBaseNumber: int | None = None
# Vertical limited range is relative to the home story (true) or absolute to
# project zero (false).
relativeToStory: bool | None = None
# Vertical limitation - minimum height.
verticalRangeMin: float | None = None
# Vertical limitation - maximum height.
verticalRangeMax: float | None = None
# Marker size.
markerSize: float | None = None
# Put marker on the beginning point.
showMarkerAtBeginning: bool | None = None
# Put marker on the end point.
showMarkerAtEnd: bool | None = None
# Use the pens defined in the cut elements instead of
# sectionLinePenIndex/sectionFillPenIndex/sectionFillBackgroundPenIndex.
useElementPens: bool | None = None
# Show line at the beginning point.
showLineAtBeginning: bool | None = None
# Show line at the middle point.
showLineAtMiddle: bool | None = None
# Show line at the end point.
showLineAtEnd: bool | None = None
# Text size [mm] of the marker text.
textSize: float | None = None
# Font index of the marker text.
fontIndex: int | None = None
# Create vectorial 3D hatching.
effectVectorHatch: bool | None = None
# Create vectorial Sun shadows.
effectVectorShadow: bool | None = None
# Use the same Sun parameters as in the 3D window.
effectSunFrom3D: bool | None = None
# Fill attribute of the shadow's fill.
shadowFillId: AttributeId | None = None
# Pen index of the shadow's fill.
shadowFillPenIndex: int | None = None
# Background pen index of the shadow's fill.
shadowFillBackgroundPenIndex: int | None = None
# Line type attribute of the horizontal limit line.
limitLineTypeId: AttributeId | None = None
# Pen index of the horizontal limit line.
limitLinePenIndex: int | None = None
# Continuous line if true, otherwise segmented.
continuous: bool | None = None
# Custom sun azimuth relative to the cut plane.
sunAzimuth: float | None = None
# Custom sun altitude relative to the cut plane.
sunAltitude: float | None = None
# Use one pen for all elements in the Section/Elevation view (Model Effects).
useOneModelPen: bool | None = None
# Foreground pen of model uncut surface fill.
modelPenIndex: int | None = None
# Method for displaying fills of uncut surfaces (Model Effects), effective if
# useUncutSurfaceFill is true.
modelUncutSurfaceFillType: ModelUncutSurfaceFillType | None = None
# Pencolor for uncut surface fills (Model Effects) if a uniform pencolor is
# selected.
modelUncutSurfaceFillBackgroundPenIndex: int | None = None
# Apply fills to uncut surfaces displayed in the Section/Elevation (Model
# Effects).
useUncutSurfaceFill: bool | None = None
# Set transparency of the Section/Elevation.
transparent: bool | None = None
# Mark distant area.
markedDistantArea: bool | None = None
# Use one pen for all elements in the distant area.
useOneDistantAreaPen: bool | None = None
# Pen index of elements in the distant area.
distantAreaPenIndex: int | None = None
# Pencolor for uncut surface fills in the distant area if a uniform pencolor
# is selected.
distantAreaUncutSurfaceFillBackgroundPenIndex: int | None = None
# Apply fills to uncut surfaces displayed in the distant area.
useUncutSurfaceFillInDistantArea: bool | None = None
# Options for displaying story lines on the Section/Elevation.
storyHandleAppearance: StoryHandleAppearance | None = None
# Line type attribute of the Story Level lines.
storyHandleLineTypeId: AttributeId | None = None
# Pencolor index of the Story Level lines.
storyHandleLinePenIndex: int | None = None
# Pencolor index of the Story Handle Markers (when not overridden by
# storyHandleUseSymbolPens).
storyHandleMarkerPenIndex: int | None = None
# Use the Story Handle Marker object's own colors instead of
# storyHandleMarkerPenIndex.
storyHandleUseSymbolPens: bool | None = None
# Display the Story Handle Markers on the left side.
storyHandleLeftMarkerVisible: bool | None = None
# Display the Story Handle Markers on the right side.
storyHandleRightMarkerVisible: bool | None = None
# Story handle line is on or off.
storyHandleLineVisible: bool | None = None
# Offset of the Story Level line beyond the limits of the Section/Elevation,
# left side.
storyHandleLeftMarkerOffset: float | None = None
# Offset of the Story Level line beyond the limits of the Section/Elevation,
# right side.
storyHandleRightMarkerOffset: float | None = None
# Font index of the Story Handle Marker.
storyHandleMarkerFontIndex: int | None = None
# Text size [mm] of the Story Handle Marker.
storyHandleMarkerTextSize: float | None = None
# Size [mm] of the Story Handle Marker.
storyHandleMarkerSize: float | None = None
# Boundary contour display mode.
boundaryDisplayMode: BoundaryDisplayMode | None = None
# Boundary contour pen index.
boundaryPenIndex: int | None = None
# Line type attribute of the boundary contour.
boundaryLineTypeId: AttributeId | None = None
# Which stories to show the cut plane on.
showOnStories: ShowOnStories | None = None
# Story index to show the cut plane on, if showOnStories is 'OneStory'.
storyToShowOn: int | None = None
# Show side (wing) markers or a single middle marker.
markerShowType: MarkerShowType | None = None
# Intended plan connectivity: whether the Section/Elevation is automatically
# rebuilt from the model (Online), rebuilt only on demand (Offline), or
# exploded into unlinked 2D drawing elements (Drawing).
intendedPlanConnectivity: IntendedPlanConnectivity | None = None
# Read-only: fill attribute for shadow polygons in the distant area. Confirmed
# live on Archicad 27: this always mirrors shadowFillId and cannot be set
# independently through the API (ACAPI_Element_CreateExt/ACAPI_Element_Change
# silently ignore an explicit value here and copy it from shadowFillId
# instead).
distantAreaShadowFillId: AttributeId | None = None
# Read-only: fill pen index for shadow polygons in the distant area. Confirmed
# live on Archicad 27: always mirrors shadowFillPenIndex, cannot be set
# independently (see distantAreaShadowFillId).
distantAreaShadowFillPenIndex: int | None = None
# Read-only: fill background pen index for shadow polygons in the distant
# area. Confirmed live on Archicad 27: always mirrors
# shadowFillBackgroundPenIndex, cannot be set independently (see
# distantAreaShadowFillId).
distantAreaShadowFillBackgroundPenIndex: int | None = None
# Read-only: method for displaying fills of uncut surfaces in the distant
# area. Confirmed live on Archicad 27: cannot be set independently through the
# API, always reads back as PenColor regardless of the value written (see
# distantAreaShadowFillId).
distantAreaUncutSurfaceFillType: DistantAreaUncutSurfaceFillType | None = None
# Read-only: current plan connectivity state of the open Section/Elevation
# window.
currentPlanConnectivity: CurrentPlanConnectivity | None = None
# Read-only: whether the Section/Elevation window is currently opened.
isWindowOpened: bool | None = None
# Read-only: whether the segment is turned off or active.
isActive: bool | None = None
# Read-only: whether this segment is a source marker.
isSourceMarker: bool | None = None
# Read-only: whether the section is in drawing mode.
isInDrawingMode: bool | None = None
# Read-only: the Section Marker object at the starting point of the section
# line.
beginMarkerElementId: ElementIdArrayItem | None = None
# Read-only: the Section Marker object at the center point of the section
# line.
middleMarkerElementId: ElementIdArrayItem | None = None
# Read-only: the Section Marker object at the end point of the section line.
endMarkerElementId: ElementIdArrayItem | None = None
Import from multiconn_archicad.models.tapir.types.
SectionElevationDetailsOrError ¶
SectionElevationDetailsOrError: TypeAlias = (
SectionElevationDetails | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
SectionElevationSettableDetails ¶
The settings of a Section or Elevation element (API_SectionSegment / API_CutPlaneType), apart from its name and reference ID. Shared by CreateSections, CreateElevations and SetSectionsAndElevationsDetails; all fields are optional. The name and the reference ID are the name and id fields of CreateSections and CreateElevations, and ModifySections changes them on existing elements.
# Pen index of the section/elevation line.
linePenIndex: int | None = None
# Pen index of the marker text.
textPenIndex: int | None = None
# Line type attribute of the section/elevation line.
lineTypeId: AttributeId | None = None
# Pen index used for cut contours (when useElementPens is false).
sectionLinePenIndex: int | None = None
# Pen index used for cut fills (when useElementPens is false).
sectionFillPenIndex: int | None = None
# Background pen index of the cut fills (when useElementPens is false).
sectionFillBackgroundPenIndex: int | None = None
# Horizontal range of the segment.
horizontalRange: HorizontalRange | None = None
# Vertical range of the segment. FitToZoneRange is for interior elevations
# only.
verticalRange: VerticalRange | None = None
# The story vertMin/vertMax are relative to, when relativeToStory is true.
verticalRangeStoryBaseNumber: int | None = None
# Vertical limited range is relative to the home story (true) or absolute to
# project zero (false).
relativeToStory: bool | None = None
# Vertical limitation - minimum height.
verticalRangeMin: float | None = None
# Vertical limitation - maximum height.
verticalRangeMax: float | None = None
# Marker size.
markerSize: float | None = None
# Put marker on the beginning point.
showMarkerAtBeginning: bool | None = None
# Put marker on the end point.
showMarkerAtEnd: bool | None = None
# Use the pens defined in the cut elements instead of
# sectionLinePenIndex/sectionFillPenIndex/sectionFillBackgroundPenIndex.
useElementPens: bool | None = None
# Show line at the beginning point.
showLineAtBeginning: bool | None = None
# Show line at the middle point.
showLineAtMiddle: bool | None = None
# Show line at the end point.
showLineAtEnd: bool | None = None
# Text size [mm] of the marker text.
textSize: float | None = None
# Font index of the marker text.
fontIndex: int | None = None
# Create vectorial 3D hatching.
effectVectorHatch: bool | None = None
# Create vectorial Sun shadows.
effectVectorShadow: bool | None = None
# Use the same Sun parameters as in the 3D window.
effectSunFrom3D: bool | None = None
# Fill attribute of the shadow's fill.
shadowFillId: AttributeId | None = None
# Pen index of the shadow's fill.
shadowFillPenIndex: int | None = None
# Background pen index of the shadow's fill.
shadowFillBackgroundPenIndex: int | None = None
# Line type attribute of the horizontal limit line.
limitLineTypeId: AttributeId | None = None
# Pen index of the horizontal limit line.
limitLinePenIndex: int | None = None
# Continuous line if true, otherwise segmented.
continuous: bool | None = None
# Custom sun azimuth relative to the cut plane.
sunAzimuth: float | None = None
# Custom sun altitude relative to the cut plane.
sunAltitude: float | None = None
# Use one pen for all elements in the Section/Elevation view (Model Effects).
useOneModelPen: bool | None = None
# Foreground pen of model uncut surface fill.
modelPenIndex: int | None = None
# Method for displaying fills of uncut surfaces (Model Effects), effective if
# useUncutSurfaceFill is true.
modelUncutSurfaceFillType: ModelUncutSurfaceFillType | None = None
# Pencolor for uncut surface fills (Model Effects) if a uniform pencolor is
# selected.
modelUncutSurfaceFillBackgroundPenIndex: int | None = None
# Apply fills to uncut surfaces displayed in the Section/Elevation (Model
# Effects).
useUncutSurfaceFill: bool | None = None
# Set transparency of the Section/Elevation.
transparent: bool | None = None
# Mark distant area.
markedDistantArea: bool | None = None
# Use one pen for all elements in the distant area.
useOneDistantAreaPen: bool | None = None
# Pen index of elements in the distant area.
distantAreaPenIndex: int | None = None
# Pencolor for uncut surface fills in the distant area if a uniform pencolor
# is selected.
distantAreaUncutSurfaceFillBackgroundPenIndex: int | None = None
# Apply fills to uncut surfaces displayed in the distant area.
useUncutSurfaceFillInDistantArea: bool | None = None
# Options for displaying story lines on the Section/Elevation.
storyHandleAppearance: StoryHandleAppearance | None = None
# Line type attribute of the Story Level lines.
storyHandleLineTypeId: AttributeId | None = None
# Pencolor index of the Story Level lines.
storyHandleLinePenIndex: int | None = None
# Pencolor index of the Story Handle Markers (when not overridden by
# storyHandleUseSymbolPens).
storyHandleMarkerPenIndex: int | None = None
# Use the Story Handle Marker object's own colors instead of
# storyHandleMarkerPenIndex.
storyHandleUseSymbolPens: bool | None = None
# Display the Story Handle Markers on the left side.
storyHandleLeftMarkerVisible: bool | None = None
# Display the Story Handle Markers on the right side.
storyHandleRightMarkerVisible: bool | None = None
# Story handle line is on or off.
storyHandleLineVisible: bool | None = None
# Offset of the Story Level line beyond the limits of the Section/Elevation,
# left side.
storyHandleLeftMarkerOffset: float | None = None
# Offset of the Story Level line beyond the limits of the Section/Elevation,
# right side.
storyHandleRightMarkerOffset: float | None = None
# Font index of the Story Handle Marker.
storyHandleMarkerFontIndex: int | None = None
# Text size [mm] of the Story Handle Marker.
storyHandleMarkerTextSize: float | None = None
# Size [mm] of the Story Handle Marker.
storyHandleMarkerSize: float | None = None
# Boundary contour display mode.
boundaryDisplayMode: BoundaryDisplayMode | None = None
# Boundary contour pen index.
boundaryPenIndex: int | None = None
# Line type attribute of the boundary contour.
boundaryLineTypeId: AttributeId | None = None
# Which stories to show the cut plane on.
showOnStories: ShowOnStories | None = None
# Story index to show the cut plane on, if showOnStories is 'OneStory'.
storyToShowOn: int | None = None
# Show side (wing) markers or a single middle marker.
markerShowType: MarkerShowType | None = None
# Intended plan connectivity: whether the Section/Elevation is automatically
# rebuilt from the model (Online), rebuilt only on demand (Offline), or
# exploded into unlinked 2D drawing elements (Drawing).
intendedPlanConnectivity: IntendedPlanConnectivity | None = None
Import from multiconn_archicad.models.tapir.types.
SectionOrElevationDetailsUpdate ¶
elementId: ElementId
details: SectionElevationSettableDetails
Import from multiconn_archicad.models.tapir.types.
SectionsWithDetail ¶
# A Section or an Elevation.
elementId: ElementId
# The new name, shown in the Project Map.
name: str | None = None
# The new reference ID, shown in the marker and in the Project Map. A '/'
# splits it between the start and the end marker.
id: str | None = None
# The new start point of the section line. Only a straight marker (a section
# line of 2 points, as CreateSections and CreateElevations make) can be moved.
# The depth line and the marked distant area line keep their distance from it.
startCoordinate: Coordinate2D | None = None
# The new end point of the section line, as startCoordinate. The view looks to
# the side the depth line was on.
endCoordinate: Coordinate2D | None = None
# The new distance of the depth line from the section line, on the side it is
# on. GetDetailsOfElements reads it back as depth. Only applies when the
# element's horizontalRange is Limited (SetSectionsAndElevationsDetails);
# refused otherwise.
depth: float | None = None
Import from multiconn_archicad.models.tapir.types.
SegmentStructureType ¶
BASIC = 'Basic'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SelectedElementsListingMode ¶
How selected elements are listed: ShowAlert asks each time, ListAll lists every selected element, UseFilters applies the filters set for the listing.
SHOW_ALERT = 'ShowAlert'
LIST_ALL = 'ListAll'
USE_FILTERS = 'UseFilters'
Import from multiconn_archicad.models.tapir.types.
Separator ¶
Data to represent a skin separator.
lineTypeId: AttributeIdArrayItem
# Separator line pen index.
linePen: int
Import from multiconn_archicad.models.tapir.commands.
Set3DCutawayStatusParameters ¶
# Turns 3D Cutaway on or off. Left unchanged when omitted.
cutawayEnabled: bool | None = None
# Shows or hides the cutting planes. Left unchanged when omitted.
cuttingPlanesVisible: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
Set3DCutawayStatusResult ¶
Set3DCutawayStatusResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
Set3DCutPlanesParameters ¶
# The cut planes, replacing the current ones. Each cuts away the side of its
# plane that its normal vector (pa, pb, pc) points to; several planes cut away
# the union of those sides. Setting planes also turns 3D Cutaway on (off and
# on again when it is on), which puts them in force in the 3D window. An empty
# array switches the 3D cut off. A plane without cutPen or cutSurfaceId keeps
# those of the current plane in its place, or of the last current plane; where
# there is none, or it is pen 0 or no surface (which draws black), it takes
# customPen and customSurfaceId.
cutPlanes: list[CutPlane]
# The Custom setting of the cut faces, kept for the 3D Cutting Planes
# settings; in the Archicad 29 3D window the cut faces take each plane's
# cutSurfaceId either way. Left unchanged when omitted.
useCustom: bool | None = None
# The pen of the cut edges when useCustom is true. Left unchanged when
# omitted.
customPen: int | None = None
# The surface of the cut faces when useCustom is true. Left unchanged when
# omitted.
customSurfaceId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.commands.
Set3DCutPlanesResult ¶
Set3DCutPlanesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
Set3DDocumentSettingsParameters ¶
# The navigator item of the 3D Document, from the Project Map or the View Map.
navigatorItemId: NavigatorItemId
# The settings to change, in the form Get3DDocumentSettings returns. Only the
# given keys are changed; arrays other than elemTypeFilter are replaced.
settings: Document3DSettings
Import from multiconn_archicad.models.tapir.commands.
Set3DDocumentSettingsResult ¶
# The settings of the 3D Document, with the field names of
# API_DocumentFrom3DType.
settings: Document3DSettings
Import from multiconn_archicad.models.tapir.commands.
Set3DFilterAndCutSettingsParameters ¶
settings: Filter3DSettingsUpdate
# If true, Archicad drops the partial conversion data, so the next rebuild of
# the 3D window is a full one. Default: false.
rebuild: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Set3DProjectionSettingsParameters ¶
perspective: PerspectiveProjectionParameters | None = None
# Makes the projection axonometric. Only the given values change, in sun too;
# the others are kept from the current axonometry, or from the last one when
# the projection is a perspective.
axonometry: Axonometry | None = None
Import from multiconn_archicad.models.tapir.commands.
Set3DProjectionSettingsResult ¶
Set3DProjectionSettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
Set3DWindowSettingsParameters ¶
# The horizontal size of the 3D window in pixels.
hSize: int | None = None
# The vertical size of the 3D window in pixels.
vSize: int | None = None
# The horizontal zoom scale of the 3D projection.
zoomScaleX: float | None = None
# The vertical zoom scale of the 3D projection.
zoomScaleY: float | None = None
# The horizontal displacement (pan) of the 3D projection.
zoomDispX: float | None = None
# The vertical displacement (pan) of the 3D projection.
zoomDispY: float | None = None
Import from multiconn_archicad.models.tapir.commands.
Set3DWindowSettingsResult ¶
# The horizontal size of the 3D window in pixels.
hSize: int
# The vertical size of the 3D window in pixels.
vSize: int
# The horizontal zoom scale of the 3D projection.
zoomScaleX: float
# The vertical zoom scale of the 3D projection.
zoomScaleY: float
# The horizontal displacement (pan) of the 3D projection.
zoomDispX: float
# The vertical displacement (pan) of the 3D projection.
zoomDispY: float
Import from multiconn_archicad.models.tapir.commands.
SetActiveDesignOptionsInCombinationsParameters ¶
activeDesignOptionsInCombinations: list[ActiveDesignOptionsInCombination]
Import from multiconn_archicad.models.tapir.commands.
SetActiveDesignOptionsInCombinationsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
SetActiveGraphicalOverrideCombinationParameters ¶
The graphic override combination to apply, given by id or by name.
combinationId: GraphicOverrideCombinationId | None = None
# The name of the graphic override combination, as shown in Document > Graphic
# Overrides > Graphic Override Combinations.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
SetActiveGraphicalOverrideCombinationResult ¶
SetActiveGraphicalOverrideCombinationResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
SetActiveRenovationFilterParameters ¶
# Identifier of the renovation filter, as listed by GetRenovationFilters.
# Takes precedence over name when both are given.
renovationFilterId: GuidId | None = None
# Name of the renovation filter. An exact match wins over a case-insensitive
# one.
name: str | None = None
Import from multiconn_archicad.models.tapir.commands.
SetActiveRenovationFilterResult ¶
SetActiveRenovationFilterResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetAnalyticalGenerationSettingsToNoRuleResult ¶
SetAnalyticalGenerationSettingsToNoRuleResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetAnalyticalReleasesParameters ¶
# The element and its new release, as GetAnalyticalReleases returns it. The
# release replaces the element's release as a whole.
releases: list[ElementAnalyticalRelease]
Import from multiconn_archicad.models.tapir.commands.
SetAnalyticalReleasesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetAnalyticalVisibilitySettingsParameters ¶
# The fields to change. The fields left out keep their current value.
visibilitySettings: AnalyticalVisibilitySettings
Import from multiconn_archicad.models.tapir.commands.
SetAnalyticalVisibilitySettingsResult ¶
SetAnalyticalVisibilitySettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetArchicadVisibilityParameters ¶
# True shows the Archicad application, false hides it.
isVisible: bool
Import from multiconn_archicad.models.tapir.commands.
SetArchicadVisibilityResult ¶
SetArchicadVisibilityResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetAutoIntersectParameters ¶
# Turn Auto-Intersection on or off.
isOn: bool
Import from multiconn_archicad.models.tapir.commands.
SetAutoIntersectResult ¶
SetAutoIntersectResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetBuiltInPropertyValuesOfAttributesParameters ¶
# The attributes and the built-in property values to set on each.
attributes: list[AttributeBuiltInPropertyValues]
Import from multiconn_archicad.models.tapir.commands.
SetBuiltInPropertyValuesOfAttributesResult ¶
# One result per given property value, attribute by attribute, in the order of
# the input. The values of one attribute are written together, so an error of
# that write is the result of each of them.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetCategoryValuesOfDefaultsParameters ¶
# The element types whose tool defaults (the settings new elements get) are
# set.
elementTypes: list[ElementType]
# The category values to set for every element type: one category per item.
categoryValues: list[DefaultCategoryValueData]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetCategoryValuesOfDefaultsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result per element type and category value: for each element type, in
# the order of the input, one result per item of categoryValues, in their
# order. A real run reads each value back after setting it, and a value
# Archicad did not keep gets a failed execution result. On a dry run an item
# that passes every check made before writing (the element type is valid, the
# category and the value exist, and the tool defaults of the type have the
# category) gets wouldChange: oldValue is the default's value in the category
# now and newValue the value a real run would set, both as
# GetCategoryValuesOfDefaults gives them (type, categoryId, categoryValueId
# and name; oldValue has only type and categoryId when the default has no
# value in the category). Archicad can still refuse an item that passes them.
executionResults: list[SuccessfulExecutionResult | WouldChangeExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetCategoryValuesOfElementsParameters ¶
# The category values to set: one element and one category per item. The same
# element can appear in several items, one per category.
elementCategoryValues: list[ElementCategoryValueData]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetCategoryValuesOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result per item of the input, in the same order. On a dry run an item
# that passes every check made before writing (the category and the value
# exist, the element exists and has the category) gets wouldChange: oldValue
# is the element's value in the category now and newValue the value a real run
# would set, both as GetCategoryValuesOfElements gives them (type, categoryId,
# categoryValueId and name; oldValue has only type and categoryId when the
# element has no value in the category). Archicad can still refuse an item
# that passes them.
executionResults: list[SuccessfulExecutionResult | WouldChangeExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfAttributesParameters ¶
# The classifications to set, one per attribute and classification system.
attributeClassifications: list[AttributeClassification]
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfAttributesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfElementDefaultsParameters ¶
# The classifications to set on the tool defaults (the settings new elements
# get).
elementDefaultClassifications: list[ElementDefaultClassification]
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfElementDefaultsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfElementsParameters ¶
# A list of element classification identifiers.
elementClassifications: list[ElementClassification]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetClassificationsOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each item of elementClassifications, in the order of the
# input. On a dry run an item that passes every check made before writing (the
# classification item and its system exist, the element's classification in
# that system can be read) gets wouldChange: oldValue is the element's
# classificationId in the system now and newValue the one a real run would
# set, both as GetClassificationsOfElements gives them (without
# classificationItemId when the element is or would be unclassified in the
# system). Archicad can still refuse an item that passes them.
executionResults: list[SuccessfulExecutionResult | WouldChangeExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetCurrent3DStyleParameters ¶
# The name of an existing 3D style, as Get3DStyles returns it.
styleName: str
Import from multiconn_archicad.models.tapir.commands.
SetCurrent3DStyleResult ¶
SetCurrent3DStyleResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetCurrentRenderingSceneParameters ¶
# The name of the rendering scene to make current, one of the names
# GetRenderingScenes returns.
sceneName: str
Import from multiconn_archicad.models.tapir.commands.
SetCurrentRenderingSceneResult ¶
SetCurrentRenderingSceneResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetCurrentToolParameters ¶
The tool to activate, in the form GetCurrentTool and GetToolboxItems return. An empty object activates the Arrow.
# The element type of the tool. Unknown for the tools of add-ons, which
# classId identifies.
elementType: ElementType | None = None
# The four-character subtype of the tool, e.g. DOOR, SKYL, CRWD, or the
# signature of a library part subtype registered by an add-on. Missing for the
# generic tool of the element type.
variation: str | None = None
# The class id (a guid) of the tool of an add-on, whose elementType is
# Unknown. Archicad 26 and later.
classId: UUID | None = None
Import from multiconn_archicad.models.tapir.commands.
SetCurrentToolResult ¶
SetCurrentToolResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetCurrentWindowDrawingScaleParameters ¶
# The denominator of the new drawing scale: 100 for 1:100, 20 for 1:20.
# Archicad accepts scales between 1 and 30000.
scale: float
# Rebuild the window after the scale changed (the API's zoom flag). Default:
# false.
rebuild: bool | None = False
Import from multiconn_archicad.models.tapir.commands.
SetCurrentWindowDrawingScaleResult ¶
SetCurrentWindowDrawingScaleResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetCustomCurveMemberStretchParameters ¶
# The element of the curve member and the lengths to add to it.
stretches: list[AnalyticalCurveMemberStretchUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetCustomCurveMemberStretchResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetDefaultDesignOptionParameters ¶
# The design option to set as the default. When it is not given, the Main
# Model becomes the default.
designOptionId: DesignOptionId | None = None
Import from multiconn_archicad.models.tapir.commands.
SetDefaultDesignOptionResult ¶
SetDefaultDesignOptionResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetDesignOptionCombinationOfViewsParameters ¶
# The views (View Map navigator items), each with either a
# 'designOptionCombinationId' or 'mainModelOnly': true.
navigatorItemIdsWithCombination: list[NavigatorItemIdsWithCombinationItem]
Import from multiconn_archicad.models.tapir.commands.
SetDesignOptionCombinationOfViewsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetDetailsOfElementsParameters ¶
# The elements with parameters.
elementsWithDetails: list[ElementsWithDetail]
Import from multiconn_archicad.models.tapir.commands.
SetDetailsOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetDialogAutoCloseParameters ¶
# True turns the dialog auto close on: Archicad closes the dialogs it would
# show with their default button instead of waiting for the user. False turns
# it off.
enabled: bool
Import from multiconn_archicad.models.tapir.commands.
SetDialogAutoCloseResult ¶
SetDialogAutoCloseResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetDocumentFrom3DDefaultsParameters ¶
Only the given fields are changed, the rest keep their current default.
# The name of a new 3D Document.
name: str | None = None
# The reference ID of a new 3D Document.
refId: str | None = None
# Vectorial 3D hatching.
vect3DHatching: bool | None = None
# Vectorial sun shadows.
vectSunShadow: bool | None = None
# Transparency of the model.
mustBeTransparent: bool | None = None
intPlanConn: Document3DPlanConnection | None = None
# Use the surfaces of the 3D model; when false, cMater is used for every
# element.
materialFrom3D: bool | None = None
# Contours off.
contureOff: bool | None = None
# The index of the uniform surface (material), used when materialFrom3D is
# false.
cMater: int | None = None
boundaryDisplay: Document3DBoundaryDisplay | None = None
# The pen of the boundary contours, used with OverrideContours.
boundaryPen: int | None = None
# The index of the line type of the boundary contours, used with
# OverrideContours.
boundaryLineType: int | None = None
attributeOptions: Document3DAttributeOptions | None = None
Import from multiconn_archicad.models.tapir.commands.
SetDocumentFrom3DDefaultsResult ¶
SetDocumentFrom3DDefaultsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetElementFieldsParameters ¶
# The elements to change and the fields to write to each.
elementsWithFields: list[ElementFieldsUpdate]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetElementFieldsResult ¶
# One result per element, aligned with the input. An element whose fields
# Archicad did not all keep fails with the fields and the values Archicad
# kept; the other fields of that element are changed. On a dry run, a
# successful result has wouldChange with the oldValue and newValue of the
# given fields.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetElementInfoStringsParameters ¶
elements: list[ElementInfoString]
Import from multiconn_archicad.models.tapir.commands.
SetElementInfoStringsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetElementNotificationClientParameters ¶
# The host address of the notification client. If not provided, localhost is
# used.
host: str | None = None
# The port number of the notification client.
port: int
# Notify on creation of a new element. Optional parameter, by default true.
notifyOnNewElement: bool | None = None
# Notify on modification/deletion of an element. The observed elements are the
# ones ACAPI_Element_GetElemList returns, for API_ZombieElemID or, with
# elementTypesToObserve, for each of those types, when the first client asking
# for these notifications of them is registered, and every element of the
# observed types created after that, plus the elements listed in
# elementsToObserve. Archicad does not report the changes made by Tapir's own
# commands, so Tapir reports them itself for SetDetailsOfElements,
# SetPropertyValuesOfElements, MoveElements, RotateElements, MirrorElements
# (not for the copies they make, which are new elements), DeleteElements,
# DeleteSelectedElements, the Modify<Tool> commands (ModifyWalls, ModifyBeams,
# ModifySlabs, ModifyColumns, ModifyWindows, ModifyDoors, ModifyOpenings,
# ModifyMorphs, ModifyRoofs, ModifyShells, ModifyMeshes, ModifyObjects,
# ModifyLamps, ModifyTexts, ModifyLabels, ModifyCurtainWalls,
# ModifyCurtainWallFrames, ModifyZones, ModifySections, ModifyDetailMarkers,
# ModifyRailings, ModifyStairs, ModifyPolylines, ModifyHatches,
# ModifyChangeMarkers), ChangeTextContent, SetGDLParametersOfElements,
# RunParameterScriptOfElements (only when the script changed the element),
# SetMarkerParametersOfElements, SetMarkerLibraryPartOfElements,
# ChangeLibraryPartOfElements, SetClassificationsOfElements,
# SetCategoryValuesOfElements, ModifyPropertyValueOfElements,
# SetElementInfoStrings, SetURLReferencesOfElements,
# SetIFCAttributesOfElements, SetIFCPropertiesOfElements,
# RemoveIFCPropertiesOfElements, SetIFCClassificationReferencesOfElements,
# RemoveIFCClassificationReferencesOfElements, LockElements, UnlockElements,
# SetOpeningDetails, SetOpeningFloorPlanParameters,
# SetOpeningSymbolParameters, CreateGroups and UngroupElements (the grouped
# elements), MoveElementsToDesignOptions, CreateSolidElementLinks,
# RemoveSolidElementLinks, CreateSolidOperations (the target and operator when
# the operation changed or deleted them; the results are new elements),
# TrimElements, RemoveElementTrims, MergeElements, UnmergeElements,
# ModifyMEPRoutingElements, ModifyMEPPorts (the element owning the port),
# ConnectMEPElements, ModifyMEPElements, SetMEPRoutingParameters,
# ModifyElectricalPanels, ModifyElectricalDevices and
# ConnectToElectricalCircuits. Of the elements these commands change, only the
# given ones are reported: an element deleted together with its owner (a door
# or window of a deleted wall) is not. UpdateZones is not reported by Tapir,
# because Archicad updates the Zones after the command has returned. When the
# user moves, rotates, mirrors, elevates, resizes or stretches elements in
# Archicad, each of their changedElements items also has a transformation:
# {"type": ..., ...}, where type is "Drag" (with displacement: {"x", "y",
# "z"}), "Elevate" (with displacement, only z is not 0), "Rotate" (with
# origin: {"x", "y"} and angle, in radians, counterclockwise), "Mirror" (with
# origin, a point of the mirror axis, and axisDirection: {"x", "y"}, its unit
# vector), "Resize" (with origin and ratio), "Stretch", "VerticalStretch",
# "PreservedHeightStretch", "PreservedDirectionStretch" or "General"; the
# changes made by Tapir's own commands and by undo or redo have no
# transformation. Optional parameter, by default true. Archicad attaches an
# observer to each element to observe (see elementTypesToObserve and
# elementsToObserve) when the first client asks for this, and detaches them
# when the last one stops, and it is blocked meanwhile: one element at a time
# (the Archicad API has no call for many elements or a whole type), about 10
# elements per second on a large project, and the time grows faster than the
# number of elements. Count the elements first (GetAllElements with
# IncludeSubElemObjects, or GetElementsByType) and limit the types, or list
# the elements with elementsToObserve, on large projects.
notifyOnModificationOfAnElement: bool | None = None
# Only modifications/deletions of elements of these types are observed and
# notified to this client, together with the elements of elementsToObserve.
# Optional parameter, by default (when neither elementTypesToObserve nor
# elementsToObserve is given) every element (including the parts of curtain
# walls, stairs and railings, which are most of the elements of large
# projects). Registering the same client again with other types changes them;
# only the elements of types no client observed before get an observer then.
# Does not limit the other notifications.
elementTypesToObserve: list[ElementType] | None = None
# Only modifications/deletions of these elements are observed and notified to
# this client, together with the elements of the types of
# elementTypesToObserve. Only these elements get an observer, so registering
# takes time in proportion to their number, not to the size of the project
# (#2493). Unlike elementTypesToObserve, it does not cover the elements
# created later: with elementsToObserve alone, the changes of a new element
# are not notified (notifyOnNewElement still reports its creation); register
# the client again with the new element in the list to observe it. A listed
# element that does not exist fails the command, and the client is then not
# registered or changed. Registering the same client again with another list
# changes it; only the elements no client observed before get an observer
# then, and the ones no client needs any more lose theirs. Optional parameter,
# by default every element (see elementTypesToObserve). Does not limit the
# other notifications.
elementsToObserve: list[ElementIdArrayItem] | None = None
# Notify on reservation changes of an element. Optional parameter, by default
# true.
notifyOnReservationChanges: bool | None = None
# Notify when the selection changes. The message is {"selectedElements":
# [...]}: the whole current selection, each item an elementId as in the
# response of GetSelectedElements, an empty list when nothing is selected.
# Optional parameter, by default false.
notifyOnSelectionChange: bool | None = None
# Notify when the current (active) window changes or the user switches to
# another story. The message is {"windowChanged": {"event": "Window" or
# "Floor", "windowType": ..., "databaseId": ..., "storyIndex": ...}}:
# windowType and databaseId describe the new current window as in the response
# of GetCurrentWindowType (databaseId is missing when that response has none),
# storyIndex is the active story, missing when it cannot be read. Optional
# parameter, by default false.
notifyOnWindowChange: bool | None = None
# Notify on project events. The message is {"projectEvent": ...}, one of
# "New", "NewAndReset", "Open", "Close", "Quit", "SendChanges" (a Teamwork
# send is about to start) and "ReceiveChanges" (Teamwork changes were
# received). The client stays registered when the project is closed or another
# one is opened. Optional parameter, by default false.
notifyOnProjectEvents: bool | None = None
# Notify when attributes are deleted and replaced by other attributes of the
# same type (for example Delete and Replace in the Attribute Manager). The
# message is {"replacedAttributes": [{"attributeType": ..., "oldIndex": ...,
# "newIndex": ..., "newAttributeId": ...}, ...]}: attributeType is one of the
# type names of GetAttributesByType ("Layer", "Line", "Fill", "Composite",
# "Surface", "LayerCombination", "ZoneCategory", "Profile", "PenTable",
# "MEPSystem", "OperationProfile", "BuildingMaterial", or "Unknown"), oldIndex
# is the index of the replaced attribute and newIndex the index of the
# attribute that replaces it, newAttributeId is the attributeId of that
# attribute, missing when it cannot be found. Not available in Archicad 25:
# setting it to true there fails. Optional parameter, by default false.
notifyOnAttributeReplacement: bool | None = None
# Notify when the user switches to another tool in the Toolbox. The message is
# {"toolChanged": {"elementType": ...}}: elementType is the element type of
# the new tool, as in elementTypesToObserve (for example "Wall" or "Column"),
# "None" for the Arrow and the Marquee, and "Unknown" for a tool Tapir has no
# type name for. Optional parameter, by default false.
notifyOnToolChange: bool | None = None
# Notify when an item of the Project Navigator or the Organizer is inserted
# (for example a view is saved or a layout is created), modified (for example
# renamed), deleted or opened. The message is {"viewEvent": {"event": ...,
# "navigatorMapId": ..., "navigatorItemId": {"guid": ...}}}: event is one of
# "Inserted", "Modified", "Deleted" and "Opened", navigatorMapId is the
# navigator map of the item, one of "ProjectMap", "PublicViewMap",
# "MyViewMap", "LayoutBook" and "PublisherSets" (as navigatorMapId of
# GetNavigatorItemTree), and navigatorItemId is the guid of the navigator
# item, as in the response of GetNavigatorItemTree (a deleted item no longer
# exists). Optional parameter, by default false.
notifyOnViewEvents: bool | None = None
# Notify when a Teamwork lockable object set (the non-element things Teamwork
# reserves: the attributes of a type, favorites, model view options, project
# info, project preferences, ...) is reserved or released, by anyone,
# including the current user. The message is {"lockableReservationChanged":
# {"event": ..., "objectSetId": {"guid": ...}, "objectSetName": ...,
# "reservedBy": ..., "reservedByUserId": ...}}: event is "Reserved" or
# "Released", objectSetId is the guid of the object set, objectSetName its
# name as objectSetName of ReserveLockableObjectSet (for example "Composites",
# "LayerSettingsDialog" or "Favorites"), missing when it is not one of the
# documented sets, and reservedBy and reservedByUserId are the name and the
# Teamwork user id of the member who reserved it, only for "Reserved". Element
# reservations are notified by notifyOnReservationChanges. Optional parameter,
# by default false.
notifyOnLockableReservationChanges: bool | None = None
# Notify when the default settings of a tool change (for example the user
# changes the settings of the Wall tool with no wall selected), so a client
# can read the new defaults. The message is {"toolDefaultsChanged":
# {"elementType": ...}}: elementType is the element type whose defaults
# changed, as in elementTypesToObserve (for example "Wall" or "Column"), and
# "Unknown" for a type Tapir has no type name for. Optional parameter, by
# default false.
notifyOnToolDefaultChanges: bool | None = None
# Notify when attributes (layers, fills, composites, surfaces, building
# materials, ...) are created, modified or deleted. The message is
# {"attributesChanged": {"event": ..., "attributeIds": [{"attributeId":
# {"guid": ...}}, ...]}}: event is "Created", "Modified" or "Deleted", and
# attributeIds are the attributes, as in the response of GetAttributesByType
# (a deleted attribute no longer exists). Not available in Archicad 25:
# setting it to true there fails. Optional parameter, by default false.
notifyOnAttributeChanges: bool | None = None
# Notify when classification systems or classification items are created,
# modified or deleted. The messages are {"classificationSystemsChanged":
# {"event": ..., "classificationSystemIds": [{"classificationSystemId":
# {"guid": ...}}, ...]}} and {"classificationItemsChanged": {"event": ...,
# "classificationItemIds": [{"classificationItemId": {"guid": ...}}, ...]}}:
# event is "Created", "Modified" or "Deleted", and the ids are as in the
# response of GetAllClassificationSystems and GetAllClassificationsInSystem.
# Not available in Archicad 25: setting it to true there fails. Optional
# parameter, by default false.
notifyOnClassificationChanges: bool | None = None
# Notify when property groups or property definitions are created, modified or
# deleted (property values of elements are notified as changedElements by
# notifyOnModificationOfAnElement). The messages are {"propertyGroupsChanged":
# {"event": ..., "propertyGroupIds": [{"propertyGroupId": {"guid": ...}},
# ...]}} and {"propertyDefinitionsChanged": {"event": ..., "propertyIds":
# [{"propertyId": {"guid": ...}}, ...]}}: event is "Created", "Modified" or
# "Deleted", and the ids are as in the response of GetAllProperties. Not
# available in Archicad 25: setting it to true there fails. Optional
# parameter, by default false.
notifyOnPropertyDefinitionChanges: bool | None = None
# Notify when the marquee is drawn, changed or removed. The message is
# {"marqueeChanged": {"type": ..., "multiStory": ...}}: type is "rectangle",
# "rotatedRectangle", "polygon" or, when the marquee was removed, "none", as
# type of GetMarquee, which returns the shape of the marquee; multiStory is
# missing for "none". Available from Archicad 27: setting it to true in an
# earlier version fails. Optional parameter, by default false.
notifyOnMarqueeChange: bool | None = None
# Notify when the settings of the 3D window change (projection, Filter and Cut
# Elements in 3D, 3D window settings). The message is
# {"view3DSettingsChanged": {}}; read the new settings with the commands of
# the 3D window. The changes made while navigating in 3D are not notified.
# Available from Archicad 30: setting it to true in an earlier version fails.
# Optional parameter, by default false.
notifyOn3DSettingsChanges: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetElementNotificationClientResult ¶
SetElementNotificationClientResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetElementUserDataParameters ¶
# The elements with the key-value pairs to store on them. Each item needs
# userData, keysToDelete or both.
elementUserData: list[ElementUserDataUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetElementUserDataResult ¶
# One result per input item, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetFieldsOfElementDefaultsParameters ¶
# The element types whose tool defaults change and the fields to write to
# each.
fieldsOfElementDefaults: list[ToolDefaultFieldsUpdate]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetFieldsOfElementDefaultsResult ¶
# One result per item, in the input order. Tool defaults whose fields Archicad
# did not all keep fail with the fields and the values Archicad kept; the
# other fields are changed. On a dry run, a successful result has wouldChange
# with the oldValue and newValue of the given fields.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
SetGDLDateResult ¶
SetGDLDateResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
SetGDLParameterByIndexDetails ¶
Details of a GDL parameter.
# The index of the parameter.
index: int
# Optional 1-based first index for changing a single item of an array
# parameter. Only valid for array parameters and only together with a single
# (non-list) value.
index1: int | None = None
# Optional 1-based second index for changing a single item of a two-
# dimensional array parameter. Only valid together with index1. Defaults to 1.
index2: int | None = None
# The new value of the parameter, in the unit GetGDLParametersOfElements
# reports it in (Angle parameters in radians). For array parameters provide a
# list of values for one-dimensional arrays (e.g. [1, 2, 3]) or a list of
# lists for two-dimensional arrays (e.g. [[11, 12], [21, 22]]); the list must
# contain exactly as many values as the parameter has items, resizing an array
# parameter is not supported. A two-dimensional array can also be given as a
# flat list of all its dimension1 x dimension2 items row by row, the layout
# GetGDLParametersOfElements returns. Alternatively provide index1 (and
# optionally index2) together with a single value to change one item of the
# array. Within one command call whole-array (list) values are applied after
# all single-value changes.
value: Any
Import from multiconn_archicad.models.tapir.types.
SetGDLParameterByNameDetails ¶
Details of a GDL parameter.
# The name of the parameter.
name: str
# Optional 1-based first index for changing a single item of an array
# parameter. Only valid for array parameters and only together with a single
# (non-list) value.
index1: int | None = None
# Optional 1-based second index for changing a single item of a two-
# dimensional array parameter. Only valid together with index1. Defaults to 1.
index2: int | None = None
# The new value of the parameter, in the unit GetGDLParametersOfElements
# reports it in (Angle parameters in radians). For array parameters provide a
# list of values for one-dimensional arrays (e.g. [1, 2, 3]) or a list of
# lists for two-dimensional arrays (e.g. [[11, 12], [21, 22]]); the list must
# contain exactly as many values as the parameter has items, resizing an array
# parameter is not supported. A two-dimensional array can also be given as a
# flat list of all its dimension1 x dimension2 items row by row, the layout
# GetGDLParametersOfElements returns. Alternatively provide index1 (and
# optionally index2) together with a single value to change one item of the
# array. Within one command call whole-array (list) values are applied after
# all single-value changes.
value: Any
Import from multiconn_archicad.models.tapir.types.
SetGDLParameterDetails ¶
SetGDLParameterDetails: TypeAlias = (
SetGDLParameterByNameDetails
| SetGDLParameterByIndexDetails
)
Import from multiconn_archicad.models.tapir.commands.
SetGDLParametersOfElementsParameters ¶
# The elements with GDL parameters dictionary pairs.
elementsWithGDLParameters: list[ElementsWithGDLParameter]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetGDLParametersOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each item of elementsWithGDLParameters, in the order of the
# input. On a dry run the parameters are written to the element's parameter
# list and its Parameter Script runs as in a real run, but the element is not
# changed. An element that passes every check made before changing it (the
# element and its parameters exist, every value is valid for its parameter,
# the element is editable) gets wouldChange: oldValue and newValue list the
# parameters a real run would change - the ones given and the ones the
# Parameter Script changes with them - before and after, each with name,
# index, type and value as GetGDLParametersOfElements gives them. Archicad can
# still refuse an element that passes them.
executionResults: list[SuccessfulExecutionResult | WouldChangeExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetGeoLocationParameters ¶
projectLocation: ProjectLocationUpdate | None = None
surveyPoint: SurveyPointUpdate | None = None
Import from multiconn_archicad.models.tapir.commands.
SetGeoLocationResult ¶
SetGeoLocationResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetGhostStorySettingsParameters ¶
Every field is optional; the ones left out keep their current value. A story choice (showOne, showAbove or showBelow true) replaces the current reference, whatever it is; without one the reference is kept, also when it is another view (a section, an elevation, a worksheet).
# Show (true) or hide (false) the ghost story on the floor plan.
on: bool | None = None
# Show the story at storyIndex as the ghost story.
showOne: bool | None = None
# Show the story above the current one as the ghost story.
showAbove: bool | None = None
# Show the story below the current one as the ghost story.
showBelow: bool | None = None
# The index of the story to show when showOne is true, as GetStories reports
# it.
storyIndex: int | None = None
# The color to draw the ghost story in.
ghostColor: ColorRGB | None = None
# The element types to show in the ghost story; the others are hidden.
filter: list[ElementType] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetGhostStorySettingsResult ¶
SetGhostStorySettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetGraphicOverrideRuleGroupOrderParameters ¶
# The names of the rule groups in their new order. The groups not listed keep
# their order and follow the listed ones. Built-in groups, like the Renovation
# group, cannot be listed and keep their place.
ruleGroupNames: list[str]
Import from multiconn_archicad.models.tapir.commands.
SetGraphicOverrideRuleGroupOrderResult ¶
SetGraphicOverrideRuleGroupOrderResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetGraphicOverrideRuleOrderParameters ¶
# The rule groups to reorder, in the shape GetGraphicOverrideRuleGroups
# returns them.
graphicOverrideRuleGroups: list[GraphicOverrideRuleOrder]
Import from multiconn_archicad.models.tapir.commands.
SetGraphicOverrideRuleOrderResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetGridSettingsParameters ¶
settings: GridSettingsUpdate
Import from multiconn_archicad.models.tapir.commands.
SetHotlinkDesignOptionTablesParameters ¶
# The placed hotlink instances to change the design option table of. Every
# field but elementId is optional; what is omitted keeps its current value.
# The changes are applied in the order filterMode,
# activeDesignOptionCombination, activeDesignOptions.
hotlinkInstances: list[HotlinkDesignOptionTableUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetHotlinkDesignOptionTablesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetIFCAttributesOfElementsParameters ¶
# The IFC attribute values to set.
elementIFCAttributeValues: list[ElementIFCAttributeValue]
Import from multiconn_archicad.models.tapir.commands.
SetIFCAttributesOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetIFCClassificationReferencesOfElementsParameters ¶
# The IFC classification references to store on the elements.
elementIFCClassificationReferences: list[ElementIFCClassificationReferenceUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetIFCClassificationReferencesOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetIFCPropertiesOfElementsParameters ¶
# The IFC property values to set. Only single value (IfcPropertySingleValue)
# properties are supported.
elementIFCPropertyValues: list[ElementIFCPropertyValue]
Import from multiconn_archicad.models.tapir.commands.
SetIFCPropertiesOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetInteriorElevationsDetailsParameters ¶
interiorElevationsWithDetails: list[InteriorElevationWithDetails]
Import from multiconn_archicad.models.tapir.commands.
SetInteriorElevationsDetailsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLast3DDefaultLevelsParameters ¶
# The element types to set the last 3D default level of.
elementTypes: list[ElementType]
# The new last 3D default level of each element type, in the order of
# elementTypes, in meters.
levels: list[float]
Import from multiconn_archicad.models.tapir.commands.
SetLast3DDefaultLevelsResult ¶
SetLast3DDefaultLevelsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetLayerOfElementDefaultsParameters ¶
# The element types whose tool defaults get a new layer.
layersOfElementDefaults: list[LayersOfElementDefault]
Import from multiconn_archicad.models.tapir.commands.
SetLayerOfElementDefaultsResult ¶
# One result per item, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLayoutSettingsParameters ¶
layoutsData: list[LayoutSettingsData]
Import from multiconn_archicad.models.tapir.commands.
SetLayoutSettingsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLibrariesParameters ¶
# Local library folders or container files, by absolute path.
libraries: list[LibraryLocation]
Import from multiconn_archicad.models.tapir.commands.
SetLibrariesResult ¶
SetLibrariesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartCustomSectionParameters ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
# The type identifier of the custom section. A four-character code is given as
# its integer value, the first character in the highest byte (e.g. 'ABCD' is
# 1094861636).
sectionId: int
# Optional. The index of the section among the sections with the same
# identifier. By default 0.
index: int | None = None
# Optional. The data version stored with the section. By default 0. Only used
# with data.
dataVersion: int | None = None
# The new content of the section, base64 encoded. The section is created when
# it does not exist, otherwise replaced. Give either data or delete.
data: str | None = None
# When true, the section is deleted. Give either data or delete.
delete: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartCustomSectionResult ¶
SetLibraryPartCustomSectionResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartMetadataParameters ¶
# The library parts to modify and the metadata to set in each.
libraryParts: list[LibraryPartMetadataUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartMetadataResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartParametersParameters ¶
# The library parts to modify and the parameter values to set in each.
libraryParts: list[LibraryPartParametersUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartParametersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartPictureImagesParameters ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
# Optional. The new preview picture as a base64 encoded PNG.
previewPicture: str | None = None
# Optional. The new GDL pictures, each a base64 encoded PNG. They replace all
# GDL pictures of the library part.
gdlPictures: list[str] | None = None
# Optional. The new preview picture for the dark user interface as a base64
# encoded PNG. Requires Archicad 29 or newer.
darkPreviewPicture: str | None = None
# Optional. The new GDL pictures for the dark user interface, each a base64
# encoded PNG. They replace all dark GDL pictures of the library part.
# Requires Archicad 29 or newer.
darkGdlPictures: list[str] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartPictureImagesResult ¶
SetLibraryPartPictureImagesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartPicturesParameters ¶
# The name of the loaded library part file with its extension, as returned in
# the fileName field of GetAvailableLibraryParts (e.g. 'My Door.gsm').
name: str
# Optional. When true, the preview picture is deleted.
deletePreviewPicture: bool | None = None
# Optional. When true, the preview picture for the dark user interface is
# deleted. Requires Archicad 29 or newer.
deleteDarkPreviewPicture: bool | None = None
# Optional. When true, all GDL pictures are deleted.
deleteGdlPictures: bool | None = None
# Optional. When true, all GDL pictures for the dark user interface are
# deleted. Requires Archicad 29 or newer.
deleteDarkGdlPictures: bool | None = None
# Optional. The name of another loaded library part (fileName with extension);
# its 2D symbol (the drawn 2D vector image) replaces this part's 2D symbol.
copy2DSymbolFrom: str | None = None
# Optional. When true, the 2D symbol (the drawn 2D vector image) is deleted.
# Cannot be combined with copy2DSymbolFrom.
delete2DSymbol: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartPicturesResult ¶
SetLibraryPartPicturesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartScriptsParameters ¶
# The library parts to modify, with the scripts to set and to delete in each.
libraryParts: list[LibraryPartScriptsUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetLibraryPartScriptsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetLinkedPropertyObjectsOfElementsParameters ¶
# The property object links to set, each for an element or for the element
# defaults of an element type. A link that is not given stays unchanged.
elementsWithLinkedPropertyObjects: list[LinkedPropertyObjectsByElement | LinkedPropertyObjectsByToolDefault]
Import from multiconn_archicad.models.tapir.commands.
SetLinkedPropertyObjectsOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetMarkerLibraryPartOfElementsParameters ¶
# The elements with the library part their marker should use.
elementsWithMarkerLibraryPart: list[ElementsWithMarkerLibraryPartItem]
Import from multiconn_archicad.models.tapir.commands.
SetMarkerLibraryPartOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetMarkerParametersOfElementsParameters ¶
# The elements with the marker parameters to change.
elementsWithMarkerParameters: list[ElementWithMarkerParameters]
Import from multiconn_archicad.models.tapir.commands.
SetMarkerParametersOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetMarqueeParameters ¶
# The vertices of a polygon marquee, in order. The polygon is closed
# automatically; a repeated first vertex at the end is accepted. Give either
# polygon or box.
polygon: list[Coordinate2D] | None = None
# A rectangle marquee. With rotationAngle it is a rotated rectangle, and the
# box is read the way Archicad stores it (see GetMarquee): in the coordinate
# system rotated by rotationAngle around the project origin. Give either
# polygon or box.
box: BoundingBox2D | None = None
# Rotation angle (radians) of the box around the project origin. Only together
# with box. The default is 0: a horizontal rectangle.
rotationAngle: float | None = None
# True for a multi-story (thick) marquee, false for a single-story (thin) one.
# The default is false.
multiStory: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetMarqueeResult ¶
SetMarqueeResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetMasterLayoutContextParameters ¶
layoutDatabaseId: DatabaseId
Import from multiconn_archicad.models.tapir.commands.
SetMasterLayoutContextResult ¶
SetMasterLayoutContextResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetMEPPreferenceTableRowsParameters ¶
# The guid of a preference table, as returned by GetMEPPreferenceTables (the
# branch, elbow and transition tables with includeFittingTables): a pipe or
# circular duct segment table, a branch or elbow table of the Piping or
# Ventilation domain, or, from Archicad 29, a transition table. Rectangular
# duct and cable carrier segment tables are found too, but their rows have no
# key. Archicad 27: any preference table, as returned by
# GetMEPPreferenceTableContainers.
tableId: MEPPreferenceTableId
# The rows to change. Only the given values are set.
rows: list[MEPPreferenceRowUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetMEPPreferenceTableRowsResult ¶
# One result per row, in the order of the rows.
executionResults: list[MEPPreferenceRowUpdateResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetMEPRoutingParametersParameters ¶
# The routing parameters to change. Only the given keys are changed. An item
# gives either routingNodeParameters and/or routingSegmentParameters for a
# routing element, or elbowParameters and/or transitionParameters for a
# routing node.
elements: list[ElementMEPRoutingParameters]
Import from multiconn_archicad.models.tapir.commands.
SetMEPRoutingParametersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningDefaultParameters ¶
# The size and extrusion settings to change, with the names GetOpeningDetails
# returns. The ones left out are not changed.
extrusionParameters: OpeningExtrusionParametersUpdate | None = None
# The floor plan settings to change, with the names GetOpeningDefault returns.
# The ones left out are not changed.
floorPlanParameters: OpeningFloorPlanParametersUpdate | None = None
Import from multiconn_archicad.models.tapir.commands.
SetOpeningDefaultResult ¶
# The type of the elements the changed settings are the defaults of.
elementType: ElementType
Import from multiconn_archicad.models.tapir.commands.
SetOpeningDetailsParameters ¶
# The Opening elements (made with the Opening tool) to change, each with the
# details to set. A detail that is left out stays as it is.
openingsWithDetails: list[OpeningModificationData]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningDetailsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningFloorPlanParametersParameters ¶
openingsWithFloorPlanParameters: list[OpeningFloorPlanModificationData]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningFloorPlanParametersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningSymbolParametersParameters ¶
elements: list[OpeningSymbolParametersUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetOpeningSymbolParametersResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
SetPensResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetPlaceSettingsParameters ¶
placeInfo: PlaceSettingsUpdate
Import from multiconn_archicad.models.tapir.commands.
SetProjectDataParameters ¶
# The project data to create or to overwrite. Prefix the names with the name
# of your tool (for example 'my-tool/settings') so different scripts do not
# overwrite each other's data.
values: list[ProjectDataValueData]
Import from multiconn_archicad.models.tapir.commands.
SetProjectDataResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetProjectInfoFieldParameters ¶
# The id of the project info field.
projectInfoId: str
# The new value of the project info field. An empty string clears the field.
projectInfoValue: str
Import from multiconn_archicad.models.tapir.commands.
SetProjectNotesParameters ¶
# Client.
client: str | None = None
# Project name.
projectName: str | None = None
# Company.
company: str | None = None
# Street.
street: str | None = None
# City.
city: str | None = None
# Country.
country: str | None = None
# Postal code.
postalCode: str | None = None
# Architect: the full name of the Project Info contact. Archicad keeps it as
# name parts (title prefix, given, middle and family name, title suffix);
# SetProjectNotes puts a new value into the given name and clears the other
# parts, so it reads back unchanged. Use SetProjectInfoField to set the parts.
architect: str | None = None
# Draftsmen: the full name of the Project Info CAD technician, kept as name
# parts like architect.
draftsmen: str | None = None
# Project status.
projectStatus: str | None = None
# Date of issue (free text, as typed in Project Notes).
dateOfIssue: str | None = None
# Keywords.
keywords: str | None = None
# Notes.
notes: str | None = None
Import from multiconn_archicad.models.tapir.commands.
SetProjectNotesResult ¶
SetProjectNotesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetProjectPreferencesParameters ¶
The pages to change, by name. Only the given fields of a page change, the rest keeps its value. In Teamwork the PreferencesDialog lockable object set has to be reserved first (ReserveLockableObjectSet).
workingUnits: WorkingUnitPreferencesUpdate | None = None
dimensions: DimensionPreferencesUpdate | None = None
calculationUnits: CalculationUnitPreferencesUpdate | None = None
zones: ZonePreferencesUpdate | None = None
referenceLevels: ProjectReferenceLevelsUpdate | None = None
floorPlanCutPlane: FloorPlanCutPlanePreferencesUpdate | None = None
legacy: LegacyPreferencesUpdate | None = None
imagingAndCalculation: ImagingAndCalculationPreferencesUpdate | None = None
layouts: LayoutPreferencesUpdate | None = None
calculationRules: CalculationRulePreferencesUpdate | None = None
Import from multiconn_archicad.models.tapir.commands.
SetProjectPreferencesResult ¶
One execution result per page given in the input, by name.
# The result of the execution.
workingUnits: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
dimensions: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
calculationUnits: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
zones: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
referenceLevels: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
floorPlanCutPlane: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
legacy: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
imagingAndCalculation: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
layouts: SuccessfulExecutionResult | FailedExecutionResult | None = None
# The result of the execution.
calculationRules: SuccessfulExecutionResult | FailedExecutionResult | None = None
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValueOfAttributesParameters ¶
propertyId: PropertyId
propertyValue: PropertyValue
# The attributes to set the value on. The property must be available for every
# one of them.
attributeIds: list[AttributeIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValueOfAttributesResult ¶
SetPropertyValueOfAttributesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfAttributesParameters ¶
# A list of attribute property values.
attributePropertyValues: list[AttributePropertyValue]
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfAttributesResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfElementDefaultsParameters ¶
# The property values to set on the tool defaults (the settings new elements
# get) of element types.
elementDefaultPropertyValues: list[ElementDefaultPropertyValue]
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfElementDefaultsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfElementsParameters ¶
# A single real value accepts '.' or ',' as the decimal separator, so the
# value strings GetPropertyValuesOfElements returns can be written back: when
# both appear the last one is the decimal separator, a separator that appears
# more than once groups thousands, and a single separator is the decimal one.
# Unitless real and integer lists accept semicolon-separated numbers; an empty
# string sets an empty list. Invalid items reject the entire property write.
elementPropertyValues: list[ElementPropertyValue]
# If true, the command makes all the checks of a real run and resolves the
# same targets, with the same errors, but changes nothing in the project and
# creates no undo step. The response is that of a real run with "dryRun": true
# added, and says for each target what the real run would do. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetPropertyValuesOfElementsResult ¶
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
# One result for each item of elementPropertyValues, in the order of the
# input. On a dry run an item that passes every check made before writing (the
# property values of the element can be read, the value is editable for the
# element and converts to the property's type) gets wouldChange: oldValue is
# the element's value now as GetPropertyValuesOfElements gives it (left out
# when the property is not available or not evaluated for the element),
# newValue the value that would be written in the same format (left out for
# valueStatus Default). Archicad can still refuse a value that passes them.
executionResults: list[SuccessfulExecutionResult | WouldChangeExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetSectionsAndElevationsDetailsParameters ¶
elementsWithDetails: list[SectionOrElevationDetailsUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetSectionsAndElevationsDetailsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetStoriesParameters ¶
# A list of story settings, used as input for creating or modifying multiple
# stories.
stories: list[StorySettings]
# If true, nothing is changed in the project and no undo step is created: the
# list is checked as in a real run, and the response lists the existing
# stories a real run would delete (with the number of elements Archicad would
# delete with each) and the number of stories it would insert. Default is
# false.
dryRun: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
SetStoriesResult ¶
# Whether the story structure was set, or on a dry run, whether the list
# passed the checks a real run makes first.
success: bool
error: Error | None = None
# Only on a successful dry run: the existing stories a real run would delete,
# from the bottom up. Empty when it would delete none.
wouldDeleteStories: list[WouldDeleteStory] | None = None
# Only on a successful dry run: the number of new stories a real run would add
# below and above the existing ones until they reach the requested indices.
# When the requested indices leave a gap above or below the existing stories,
# this includes the stories in the gap, which the real run deletes again.
wouldInsertStoryCount: int | None = None
# Present, and true, only in the response of a dry run (the dryRun input was
# true): nothing was changed in the project.
dryRun: Literal[True] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetStructureDisplayParameters ¶
structureDisplay: PartialStructureDisplay
Import from multiconn_archicad.models.tapir.commands.
SetStructureDisplayResult ¶
SetStructureDisplayResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetSuspendGroupsModeParameters ¶
# Turn the Suspend Groups mode on or off.
suspendGroups: bool
Import from multiconn_archicad.models.tapir.commands.
SetSuspendGroupsModeResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.commands.
SetURLReferencesOfElementsParameters ¶
# The elements and the web link to set on each.
elementsWithURLReferences: list[ElementURLReferenceUpdate]
Import from multiconn_archicad.models.tapir.commands.
SetURLReferencesOfElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetUserDataOfAttributesParameters ¶
# A list of attributes.
attributeIds: list[AttributeIdArrayItem]
# The key-value pairs to store on each attribute. A key the attribute already
# holds gets the new value; other keys are left as they are.
pairs: list[UserDataPair] | None = None
# The keys to remove from the user data. A key that is not stored is ignored.
# Applied after pairs.
keysToDelete: list[UserDataKey] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetUserDataOfAttributesResult ¶
# One result per attribute, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetUserDataOfGroupsParameters ¶
# The groups to store the pairs on.
groups: list[GroupIdArrayItem]
# The key-value pairs to store on each group. A key the group already holds
# gets the new value; other keys are left as they are.
pairs: list[UserDataPair] | None = None
# The keys to remove from the user data. A key that is not stored is ignored.
# Applied after pairs.
keysToDelete: list[UserDataKey] | None = None
Import from multiconn_archicad.models.tapir.commands.
SetUserDataOfGroupsResult ¶
# One result per group, in the input order.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetViewOptionsParameters ¶
# Switches the window to the model view option combination with this index, as
# GetViewOptions, FindModelViewOption and GetModelViewOptionDetails return it.
# Archicad then applies the model view options stored in the combination:
# viewOptions.modelViewOptions are not applied together with an index,
# viewOptions.onScreenViewOptions are. Archicad may renumber the combinations
# when the view options of a window change, so look the index up by name with
# FindModelViewOption right before switching.
modelViewOptionIndex: int | None = None
viewOptions: ViewOptionsUpdate | None = None
Import from multiconn_archicad.models.tapir.commands.
SetViewRotationParameters ¶
navigatorItemIdsWithRotation: list[NavigatorItemIdsWithRotationItem]
Import from multiconn_archicad.models.tapir.commands.
SetViewRotationResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetViewSettingsParameters ¶
navigatorItemIdsWithViewSettings: list[NavigatorItemIdsWithViewSetting]
Import from multiconn_archicad.models.tapir.commands.
SetViewSettingsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
SetZoneLabelingSettingsParameters ¶
# Turns the automatic labeling of Zones (placing a Label on each new Zone) on
# or off.
automaticLabeling: bool | None = None
# The name of the Label Favorite that is placed on each new Zone by the
# automatic labeling.
favoriteName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
SetZoneLabelingSettingsResult ¶
SetZoneLabelingSettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
SetZoneStampOfDefaultsParameters ¶
# The new zone stamp of the Zone tool defaults, given by one of name, index or
# guid. It has to be a zone stamp library part in the loaded libraries. Do not
# combine with useStampOfCategory.
libraryPart: LibraryPartByName | LibraryPartByIndex | LibraryPartByGuid | None = None
# When true, the Zone tool defaults get the zone stamp of their Zone Category
# (the one given in categoryAttributeId, else the current one), as Archicad
# does when a category is picked in the Zone Settings. Fails when that stamp
# is not in the loaded libraries. Do not combine with libraryPart.
useStampOfCategory: bool | None = None
# The new Zone Category of the Zone tool defaults. Without libraryPart or
# useStampOfCategory the zone stamp is kept.
categoryAttributeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.commands.
SetZoneStampOfDefaultsResult ¶
# The result of the execution.
executionResult: SuccessfulExecutionResult | FailedExecutionResult
# The zone stamp of the Zone tool defaults, read back after the change.
# Present when the change succeeded.
stamp: ZoneStampOfDefaults | None = None
Import from multiconn_archicad.models.tapir.commands.
SetZoomParameters ¶
# The area to zoom the current 2D window to, in model coordinates (meters).
# The window keeps its aspect ratio, so the shown area may be larger than the
# box. The rotation of the window is kept as it is; in a rotated window the
# whole box is shown, so the shown area is larger than the box.
zoomBox: Zoom
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.types.
ShellBaseCutBodyType ¶
How a roof or shell body is extended for connections with other elements (API_ShellBaseType::cutBodyType, the Trimming Body on the Model panel).
EDITABLE = 'Editable'
CONTOURS_DOWN = 'ContoursDown'
PIVOT_LINES_DOWN = 'PivotLinesDown'
UPWARDS_EXTRUSION = 'UpwardsExtrusion'
DOWNWARDS_EXTRUSION = 'DownwardsExtrusion'
Import from multiconn_archicad.models.tapir.types.
ShellBaseFloorFill ¶
Floor plan cover fill settings of a Roof or Shell (API_ShellBaseType).
# Whether the cover fill is shown on the floor plan.
use: bool | None = None
foregroundPen: int | None = None
backgroundPen: int | None = None
fillId: AttributeId | None = None
# Use the fill of the surface material (Vectorial 3D Hatch) as the cover fill.
use3DHatching: bool | None = None
# Align the cover fill with the pivot line instead of the fill handle.
useFillLocBaseLine: bool | None = None
# Distort the cover fill to show the slope as seen from above.
useSlantedFill: bool | None = None
orientation: HatchOrientation | None = None
Import from multiconn_archicad.models.tapir.types.
ShellClass ¶
EXTRUDED = 'Extruded'
REVOLVED = 'Revolved'
RULED = 'Ruled'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ShellCutBodyTypeUpdate ¶
The Trimming Body of the shell (Model panel of Shell Settings): Upward Extrusion or Downward Extrusion. GetDetailsOfElements reports it as cutBodyType. An Editable trimming body cannot be set yet.
UPWARDS_EXTRUSION = 'UpwardsExtrusion'
DOWNWARDS_EXTRUSION = 'DownwardsExtrusion'
Import from multiconn_archicad.models.tapir.types.
ShellCutPolygon ¶
A closed polygon cutting a shell: its clipping contour or a hole.
# The points of the polygon, in the XY plane of 'plane'.
coordinates: list[Coordinate2D]
# Arc segments of the polygon, with indices into coordinates.
arcs: list[PolyArc] | None = None
# The plane of the polygon, in the coordinates of the shell's base plane: a
# hole is extruded from it along its Z axis. The base plane itself by default.
plane: CoordinateSystem3D | None = None
# Required for holes, ignored for the clipping contour: how far the cutting
# body is extruded from the polygon's plane, along its Z axis (negative values
# cut downwards).
depth: float | None = None
Import from multiconn_archicad.models.tapir.types.
ShellData ¶
The parameters of the new Shell.
# Optional name of a Shell favorite to base the new element on. Its settings
# are applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element. When omitted the element gets the
# next automatic ID of its tool.
id: str | None = None
# Extruded: 'profile' swept along 'extrusionVector'. Revolved: 'profile'
# turned around 'axis'. Ruled: a surface ruled between 'profile' and
# 'secondProfile'.
shellClass: ShellClass
# Optional story index of the shell. Without it the shell is placed on the
# story of the Shell tool defaults.
floorIndex: int | None = None
# Base plane of the shell, in project coordinates; the profiles, the
# extrusion, the axis and the contour and hole polygons are given in it. The
# project axes by default, except for a Revolved shell, whose default base
# plane stands upright (its Y axis is the project Z axis), so the profile's x
# is the radius and its y the height.
basePlane: CoordinateSystem3D | None = None
# The profile polyline. Extruded: in the plane across the extrusion, x
# horizontal and y up. Revolved: in the base plane's XY plane. Ruled: in the
# XY plane of 'profilePlane'.
profile: ShellProfile
# Only takes effect on a Basic shell; a Composite shell takes its thickness
# from the composite.
thickness: float | None = None
# Applies the thickness to the other side of the reference surface.
isFlipped: bool | None = None
structureType: RoofStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
# Extruded only, required: the direction and length of the extrusion, in base
# plane coordinates.
extrusionVector: Coordinate3D | None = None
# Extruded only: the point the extrusion starts from, in base plane
# coordinates.
extrusionStart: Coordinate3D | None = None
# Extruded only: tilt of the profile's plane, in radians.
shapePlaneTilt: float | None = None
# Extruded only: tilt of the start plane of the extrusion, in radians.
begPlaneTilt: float | None = None
# Extruded only: tilt of the end plane of the extrusion, in radians.
endPlaneTilt: float | None = None
# Extruded and Revolved: slant of the extrusion vector or of the profile, in
# radians.
slantAngle: float | None = None
# Revolved only: the coordinate system whose Z axis the profile is turned
# around, in base plane coordinates. By default the base plane's Y axis.
axis: CoordinateSystem3D | None = None
# Revolved only: the angle the profile is turned through, in radians. 2*pi (a
# full turn) by default.
revolutionAngle: float | None = None
# Revolved only: the angle the revolution starts at, in radians.
beginAngle: float | None = None
# Revolved only: shear of the revolution, in radians. pi/2 (no shear) by
# default.
distortionAngle: float | None = None
# Revolved only: the number of segments a full circle is resolved into.
segmentsByCircle: int | None = None
# Ruled only, required: the second profile polyline, in the XY plane of
# 'secondProfilePlane'.
secondProfile: ShellProfile | None = None
# Ruled only, required: the plane of 'profile', in base plane coordinates.
profilePlane: CoordinateSystem3D | None = None
# Ruled only, required: the plane of 'secondProfile', in base plane
# coordinates.
secondProfilePlane: CoordinateSystem3D | None = None
morphingRule: ShellMorphingRule | None = None
# Optional clipping contour: only the part of the shell inside this polygon,
# seen along the Z axis of its plane, is kept. Its 'depth' is ignored.
contour: ShellCutPolygon | None = None
# Optional holes, each requiring 'depth' to extrude its cutting polygon along
# the Z axis of its plane.
holes: list[ShellCutPolygon] | None = None
# Optional trim of the profile's edges at the start of the shell (the start
# plane of an extrusion, the begin angle of a revolution, the first profile of
# a ruled shell). Perpendicular at pi/2 by default, as the Shell tool draws
# it, also when favoriteName is given.
begShapeEdgeTrim: ShellEdgeTrim | None = None
# Optional trim of the profile's edges at the end of the shell. Perpendicular
# at pi/2 by default.
endShapeEdgeTrim: ShellEdgeTrim | None = None
# Optional trim of the edge that the profile's first point sweeps from the
# start to the end of the shell. Perpendicular at pi/2 by default.
begSideEdgeTrim: ShellEdgeTrim | None = None
# Optional trim of the edge that the profile's last point sweeps.
# Perpendicular at pi/2 by default.
endSideEdgeTrim: ShellEdgeTrim | None = None
Import from multiconn_archicad.models.tapir.types.
ShellDetails ¶
shellClass: ShellClass
structureType: ShellStructureType
thickness: float
# The side of the shell's reference surface the thickness is applied to
# (API_ShellType::isFlipped), as CreateShells and ModifyShells take it.
isFlipped: bool | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
# The surface override of one face of the shell (API_ShellBaseType::topMat).
# ModifyShells takes the same key.
topMaterial: OverriddenMaterial | None = None
# The surface override of the edges of the shell (API_ShellBaseType::sidMat).
# ModifyShells takes the same key.
sideMaterial: OverriddenMaterial | None = None
# The surface override of the other face of the shell
# (API_ShellBaseType::botMat). ModifyShells takes the same key.
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained. ModifyShells takes the same key.
materialsChained: bool | None = None
# The custom surface of each edge of the shell. ModifyShells takes the same
# key.
edgeMaterials: ShellEdgeMaterials | None = None
displayOption: DisplayOption | None = None
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, Archicad recomputes the story visibility automatically from the
# shell's vertical extent.
isAutoOnStoryVisibility: bool | None = None
# The stories the shell's contour is shown on
# (API_ShellBaseType::visibilityCont).
visibility: StoryVisibility | None = None
# The stories the shell's cover fill is shown on
# (API_ShellBaseType::visibilityFill).
fillVisibility: StoryVisibility | None = None
# A shell uses Editable, UpwardsExtrusion or DownwardsExtrusion; ModifyShells
# sets UpwardsExtrusion or DownwardsExtrusion.
cutBodyType: ShellBaseCutBodyType | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the contour of the cut surfaces (API_ShellBaseType::sectContPen).
sectionContourPen: int | None = None
# Line type of the contour of the cut surfaces
# (API_ShellBaseType::sectContLtype).
sectionContourLineTypeId: AttributeId | None = None
# Pen of the shell's uncut contour on the floor plan (API_ShellBaseType::pen).
contourPen: int | None = None
# Line type of the shell's uncut contour on the floor plan
# (API_ShellBaseType::ltypeInd).
contourLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup - pairs with aboveViewLinePen.
aboveViewLineTypeId: AttributeId | None = None
floorFill: ShellBaseFloorFill | None = None
# The clipping contour of the shell, when it has one: only the part inside
# this polygon, seen along the Z axis of its plane, is kept. The polygon and
# its plane are in the coordinates of the shell's base plane, as CreateShells
# and ModifyShells take them.
contour: ShellCutPolygon | None = None
# The holes of the shell, each with its polygon, its plane (in the coordinates
# of the shell's base plane) and the depth its cutting body is extruded along
# the Z axis of that plane. Empty when the shell has no hole.
holes: list[ShellCutPolygon] | None = None
# Base plane of the shell, in project coordinates, as CreateShells takes it:
# the profiles, the extrusion start and vector, the axis and the profile
# planes are given in it.
basePlane: CoordinateSystem3D | None = None
# The profile polyline, as CreateShells takes it. Extruded: in the plane
# across the extrusion (x horizontal, y up). Revolved: in the base plane's XY
# plane. Ruled: the first profile, in the XY plane of profilePlane. Only the
# first polyline of the profile is returned.
profile: ShellProfile | None = None
# Revolved only: the coordinate system whose Z axis the profile is turned
# around, in base plane coordinates (API_RevolvedShellData::axisBase), as
# CreateShells takes it.
axis: CoordinateSystem3D | None = None
# Revolved only: the angle the profile is turned through, in radians.
revolutionAngle: float | None = None
# Revolved only: the angle the revolution starts at, in radians
# (API_RevolvedShellData::begAngle).
beginAngle: float | None = None
# Revolved only: shear of the revolution, in radians; pi/2 is no shear.
distortionAngle: float | None = None
segmentType: ShellSegmentType | None = None
# Revolved only: the number of segments a full circle is resolved into, used
# when segmentType is ByCircle.
segmentsByCircle: int | None = None
# Revolved only: the number of segments the revolution arc is resolved into,
# used when segmentType is ByArc.
segmentsByArc: int | None = None
# Revolved only: whether the revolved surface is broken into planes along the
# revolution arc.
segmentedSurfaces: bool | None = None
# Ruled only: the plane of profile, in base plane coordinates
# (API_RuledShellData::plane1), as CreateShells takes it.
profilePlane: CoordinateSystem3D | None = None
# Ruled only: the second profile polyline, in the XY plane of
# secondProfilePlane, as CreateShells takes it. Only the first polyline of the
# profile is returned.
secondProfile: ShellProfile | None = None
# Ruled only: the plane of secondProfile, in base plane coordinates
# (API_RuledShellData::plane2), as CreateShells takes it.
secondProfilePlane: CoordinateSystem3D | None = None
morphingRule: ShellMorphingRule | None = None
# Extruded only: the point the extrusion starts from, in base plane
# coordinates.
extrusionStart: Coordinate3D | None = None
# Extruded only: the direction and length of the extrusion, in base plane
# coordinates. The end of the extrusion is extrusionStart + extrusionVector.
extrusionVector: Coordinate3D | None = None
# Extruded only: the length of extrusionVector.
extrusionLength: float | None = None
# Extruded only: tilt of the profile's plane, in radians.
shapePlaneTilt: float | None = None
# Extruded only: tilt of the start plane of the extrusion, in radians.
begPlaneTilt: float | None = None
# Extruded only: tilt of the end plane of the extrusion, in radians.
endPlaneTilt: float | None = None
# Extruded and Revolved: slant of the extrusion vector or of the profile, in
# radians.
slantAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
ShellEdgeMaterials ¶
The custom surface of the edges of a shell (API_ContourEdgeData::sideMaterial of the shell class's edge data). An overridden edge shows its own surface; one that is not overridden shows the shell's side surface (sideMaterial).
# The edges of the profile at the begin of the shell: the start of the
# extrusion or revolution, or the first profile of a ruled shell
# (begShapeEdgeData).
begShapeEdge: OverriddenMaterial | None = None
# The edges of the profile at the end of the shell: the end of the extrusion
# or revolution, or the second profile of a ruled shell (endShapeEdgeData).
endShapeEdge: OverriddenMaterial | None = None
# The edge along the shell's surface from the first point of the profile
# (extrudedEdgeDatas, revolvedEdgeDatas or ruledEdgeDatas [0]).
begSideEdge: OverriddenMaterial | None = None
# The edge along the shell's surface from the last point of the profile
# (extrudedEdgeDatas, revolvedEdgeDatas or ruledEdgeDatas [1]).
endSideEdge: OverriddenMaterial | None = None
Import from multiconn_archicad.models.tapir.types.
ShellEdgeTrim ¶
How a shell edge is cut.
# Vertical, Perpendicular or Horizontal to the shell, or at 'angle'
# (CustomAngle).
trimType: EdgeTrimTypeUpdate
# The trim angle in radians. Only CustomAngle uses it; pi/2 by default.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
ShellMorphingRule ¶
Ruled only: how the two profiles are joined, segment by segment (Paired) or smoothly.
PAIRED = 'Paired'
SMOOTH = 'Smooth'
Import from multiconn_archicad.models.tapir.types.
ShellProfile ¶
A profile polyline of a shell, in the XY plane of its coordinate system.
# The points of the polyline.
coordinates: list[Coordinate2D]
# Arc segments of the polyline, with indices into coordinates; index
# len(coordinates) is the first point again, which closes the polyline.
arcs: list[PolyArc] | None = None
# Whether the segment from the last point back to the first one is part of the
# profile. False by default.
closed: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ShellQuantities ¶
Quantities of a Shell element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the shell.
volume: float
# Conditional net volume of the shell.
volumeConditional: float
# Gross volume of the shell.
grossVolume: float
# Net area of the reference surface.
referenceSurface: float
# Net area of the surface opposite to the reference.
oppositeSurface: float
# Total area of the edges.
edgeSurface: float
# Conditional area of the reference surface.
referenceSurfaceConditional: float
# Conditional area of the opposite surface.
oppositeSurfaceConditional: float
# Gross area of the reference surface.
grossReferenceSurface: float
# Gross area of the opposite surface.
grossOppositeSurface: float
# Gross area of the edges.
grossEdgeSurface: float
# Perimeter of the contour polygon.
perimeter: float
# Total area of the holes.
holesSurface: float
# Total perimeter of the holes.
holesPerimeter: float
# Projected floor plan area of the contour polygon.
floorPlanArea: float
Import from multiconn_archicad.models.tapir.types.
ShellSegmentType ¶
Revolved only: how the curve is resolved into segments, by the segments of a full circle (segmentsByCircle) or of the revolution arc (segmentsByArc).
BY_CIRCLE = 'ByCircle'
BY_ARC = 'ByArc'
Import from multiconn_archicad.models.tapir.types.
ShellStructureType ¶
BASIC = 'Basic'
COMPOSITE = 'Composite'
Import from multiconn_archicad.models.tapir.types.
ShellWithDetails ¶
elementId: ElementId
structureType: ShellStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
# The new thickness of a Basic shell, in meters (or of a shell this item makes
# Basic with 'structureType'). The shell's reference surface (the surface its
# profile and base plane define) stays in place and the thickness is measured
# from it to the side 'isFlipped' selects, so only the opposite face moves. A
# Composite shell takes its thickness from its composite: the item fails, and
# nothing of it is written; change the skins of the composite attribute, or
# make the shell Basic in the same item.
thickness: float | None = None
# The side of the reference surface the thickness is applied to, as
# CreateShells takes it and GetDetailsOfElements returns it. Changing it keeps
# the reference surface in place and moves the body to its other side.
isFlipped: bool | None = None
# Replaces the clipping contour (or adds one): only the part of the shell
# inside this polygon, seen along the Z axis of its plane, is kept. Its
# 'depth' is ignored. The polygon and its plane are in the coordinates of the
# shell's base plane, as GetDetailsOfElements returns them. The holes and the
# profile are kept.
contour: ShellCutPolygon | None = None
# True removes the clipping contour, so the whole shell is shown again. Not
# together with 'contour'.
removeContour: bool | None = None
# Replaces all holes of the shell, each requiring 'depth' to extrude its
# cutting polygon along the Z axis of its plane; an empty array removes every
# hole. To change one hole, send all holes as GetDetailsOfElements returns
# them with that one changed. The contour and the profile are kept.
holes: list[ShellCutPolygon] | None = None
# Overrides the surface of one face of the shell (topMaterial of
# GetDetailsOfElements); overridden false clears the override.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the edges of the shell; overridden false clears the
# override.
sideMaterial: OverriddenMaterial | None = None
# Overrides the surface of the other face of the shell (bottomMaterial of
# GetDetailsOfElements); overridden false clears the override.
bottomMaterial: OverriddenMaterial | None = None
# Whether the surface materials are chained, as GetDetailsOfElements reports
# it.
materialsChained: bool | None = None
# The custom surface of individual edges of the shell, as GetDetailsOfElements
# reports them. Only the edges given are written; overridden false clears an
# edge's custom surface.
edgeMaterials: ShellEdgeMaterials | None = None
# Extruded shells only: the new direction and length of the extrusion, in base
# plane coordinates (as GetDetailsOfElements returns it). The profile, the
# base plane and the extrusion start are kept, so only the end of the shell
# moves. Cannot be given together with extrusionLength.
extrusionVector: Coordinate3D | None = None
# Extruded shells only: the new length of the extrusion. The extrusion vector
# keeps its direction and is scaled to this length; the profile, the base
# plane and the extrusion start are kept, so only the end of the shell moves.
# Cannot be given together with extrusionVector.
extrusionLength: float | None = None
# The new profile polyline, in the format and coordinates CreateShells takes
# and GetDetailsOfElements returns. Extruded: in the plane across the
# extrusion (x horizontal, y up). Revolved: in the base plane's XY plane.
# Ruled: the first profile, in the XY plane of profilePlane. It replaces the
# first profile polyline; the GUID, the base plane, the extrusion, the axis,
# the profile planes, the thickness and the cut contours are kept.
profile: ShellProfile | None = None
# Ruled shells only: the new second profile polyline, in the XY plane of
# secondProfilePlane, as CreateShells takes it and GetDetailsOfElements
# returns it. The first profile and both planes are kept unless given too.
secondProfile: ShellProfile | None = None
# Ruled shells only: the new plane of the first profile, in base plane
# coordinates, as GetDetailsOfElements returns it. Only the parts given
# change: 'origin' alone moves the plane, the three axes (all together) turn
# it. The profile keeps its coordinates in the plane.
profilePlane: CoordinateSystem3D | None = None
# Ruled shells only: the new plane of the second profile, in base plane
# coordinates, as GetDetailsOfElements returns it. Only the parts given
# change, as for profilePlane.
secondProfilePlane: CoordinateSystem3D | None = None
# Ruled shells only: how the two profiles are joined, segment by segment
# (Paired) or smoothly.
morphingRule: ShellMorphingRule | None = None
# Revolved shells only: the new coordinate system whose Z axis the profile is
# turned around, in base plane coordinates, as GetDetailsOfElements returns
# it. Only the parts given change: 'origin' alone moves the axis, the three
# axes (all together) turn it. The profile is kept.
axis: CoordinateSystem3D | None = None
# Revolved shells only: the new angle the profile is turned through, in
# radians, at most 2*pi (a full turn).
revolutionAngle: float | None = None
# Revolved shells only: the new angle the revolution starts at, in radians.
beginAngle: float | None = None
# Revolved shells only: the new slant of the profile, in radians.
slantAngle: float | None = None
# Revolved shells only: the new shear of the revolution, in radians, between 0
# and pi; pi/2 is no shear.
distortionAngle: float | None = None
# Revolved shells only: how the curve is resolved into segments, by the
# segments of a full circle (segmentsByCircle) or of the revolution arc
# (segmentsByArc).
segmentType: ShellSegmentType | None = None
# Revolved shells only: the number of segments a full circle is resolved into,
# used when segmentType is ByCircle.
segmentsByCircle: int | None = None
# Revolved shells only: the number of segments the revolution arc is resolved
# into, used when segmentType is ByArc.
segmentsByArc: int | None = None
# Revolved shells only: whether the revolved surface is broken into planes
# along the revolution arc.
segmentedSurfaces: bool | None = None
cutBodyType: ShellCutBodyTypeUpdate | None = None
# Floor Plan Display of the element.
displayOption: DisplayOption | None = None
# Show Projection: how far the element is shown on the floor plan.
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, Archicad recomputes 'visibility' and 'fillVisibility' from the
# element's vertical extent and ignores values set for them. Setting
# 'visibility' or 'fillVisibility' without this field turns it off.
isAutoOnStoryVisibility: bool | None = None
# The stories the element's contour is shown on. Only the given fields change.
# Archicad always shows the contour on the element's home story, so
# 'showOnHome' false is not applied; the item's result then fails and names
# it, the other details given are applied. A field Archicad does not apply is
# named in the result in the same way.
visibility: StoryVisibility | None = None
# The stories the element's cover fill is shown on. Only the given fields
# change. A field Archicad does not apply makes the item's result fail and is
# named in it.
fillVisibility: StoryVisibility | None = None
# Overrides the pen of the cut fill.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill.
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the element's contour where it is cut.
sectionContourPen: int | None = None
# Line type of the element's contour where it is cut.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the element's uncut contour.
contourPen: int | None = None
# Line type of the element's uncut contour.
contourLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLineTypeId: AttributeId | None = None
# The cover fill of the element in the floor plan. Only the given fields
# change; read the orientation back with GetDetailsOfElements, Archicad may
# not apply all of it.
floorFill: ShellBaseFloorFill | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowAlertParameters ¶
# The type of the alert dialog.
alertType: AlertType
# The title of the alert dialog.
title: str
# The main message text.
message: str
# Optional smaller sub-message text below the main message.
subMessage: str | None = None
# Label for the first (default) button.
button1: str
# Label for the second button (e.g. Cancel).
button2: str | None = None
# Label for the optional third button.
button3: str | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowAlertResult ¶
# Index of the button the user clicked: 1 = button1, 2 = button2, 3 = button3.
clickedButton: int
Import from multiconn_archicad.models.tapir.commands.
ShowElementsIn3DParameters ¶
# The elements to show in 3D. They become the selection, replacing the current
# one. Missing or empty: every element is shown, as Show All in 3D does.
elements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowElementsIn3DResult ¶
ShowElementsIn3DResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
ShowIFCExportSettingsParameters ¶
# Optional: the view (an item of the View Map) the dialog starts with.
navigatorItemId: NavigatorItemId | None = None
# Optional: the name of the IFC export translator the dialog starts with, as
# GetIFCExportTranslators lists them.
translatorName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowIFCExportSettingsResult ¶
# True when the user closed the dialog with Cancel; then no other field is
# given.
cancelled: bool
# The view the user chose.
navigatorItemId: NavigatorItemId | None = None
# The name of the chosen view, when Archicad finds it in the navigator.
viewName: str | None = None
# The name of the IFC export translator the user chose, as IFCFileOperation's
# translatorName takes it.
translatorName: str | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowNotificationBubbleParameters ¶
# The text of the notification bubble.
message: str
icon: NotificationBubbleIconInput | None = None
# How long the bubble stays, in milliseconds. Default: Archicad's default,
# 1000 (1 second).
timeoutMilliseconds: int | None = None
# The model coordinate in the current database (meters) where the bubble is
# shown, converted like ModelToScreen does: in a 3D window it is projected
# with the current camera, in other windows z is disregarded. Do not give it
# together with screenPoint. When neither is given, the bubble is shown at the
# center of the current view in 2D windows and at the project's local origin
# otherwise.
coordinate: Coordinate3D | None = None
screenPoint: NotificationBubbleScreenPoint | None = None
offset: NotificationBubbleOffsetInput | None = None
largeIcon: NotificationBubbleLargeIconInput | None = None
# Shows the bubble at most this many times. After that it does not appear
# again, for any later ShowNotificationBubble call, until the user runs the
# 'Enable all informational messages' command in Archicad. Not set by default.
redrawCountLimit: int | None = None
# True turns the bubble off instead of showing it: it does not appear again,
# for any later ShowNotificationBubble call, until the user runs the 'Enable
# all informational messages' command in Archicad. False (the default) changes
# nothing.
disabled: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ShowNotificationBubbleResult ¶
The settings of the bubble after the call, read back from Archicad.
# The text of the bubble. Missing when it has none.
text: str | None = None
icon: NotificationBubbleIcon
# The icon shown when the "Use large alert cues" option is on in Work
# Environment.
largeIcon: NotificationBubbleIcon
offset: NotificationBubbleOffset
# How long the bubble stays, in milliseconds.
timeoutMilliseconds: int
# How many times the bubble is shown at most. Missing when it has no limit.
redrawCountLimit: int | None = None
Import from multiconn_archicad.models.tapir.types.
ShowOnStories ¶
Which stories to show the cut plane on.
ALL = 'All'
ONE_STORY = 'OneStory'
IN_RANGE = 'InRange'
PART_RANGE = 'PartRange'
Import from multiconn_archicad.models.tapir.commands.
ShowScriptUIParameters ¶
# The full HTML document to display in the Script UI palette.
htmlContent: str
# Optional palette client width in pixels. Leave unset to keep the current
# size.
width: int | None = None
# Optional palette client height in pixels. Leave unset to keep the current
# size.
height: int | None = None
# Optional palette window title. Leave unset to keep the current title.
title: str | None = None
# Whether the user can drag-resize the palette. Defaults to true.
resizable: bool | None = None
# Whether Ctrl+scroll/pinch zooming is allowed in the page. Defaults to true.
zoomEnabled: bool | None = None
# Optional initial zoom level (1.0 = 100%). Leave unset to keep the current
# zoom.
zoomLevel: float | None = None
# Whether the browser's own scrollbars are shown. Defaults to true.
scrollBarsVisible: bool | None = None
# Whether right-click shows the browser's context menu (e.g. Inspect Element).
# Defaults to true.
contextMenuEnabled: bool | None = None
# Prevents the page from navigating away (e.g. clicking a link to another
# site) once it has loaded. Defaults to false.
navigationDisabled: bool | None = None
# Only relevant if htmlContent links to a remote https:// resource with a
# self-signed certificate. Defaults to false.
allowSelfSignedCertificates: bool | None = None
# Deletes all browser cookies before loading htmlContent. Defaults to false.
clearCookies: bool | None = None
# Automatically resizes the palette's height to fit the page content as it
# changes. Defaults to false.
autoHeight: bool | None = None
# The window to use, as returned by ShowScriptUI (1 to 8). Takes precedence
# over scriptId.
uiId: int | None = None
# Any text that identifies the calling script, so it uses its own window:
# ShowScriptUI gives a script without a window a free one, preferring the
# closed windows. The Tapir palette gives each script it starts its own id in
# the TAPIR_SCRIPT_ID environment variable, which aclib passes here
# automatically; that script's window is titled with its name and is freed
# when it ends. Without uiId and scriptId the first window is used.
scriptId: str | None = None
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.types.
Side ¶
The side of the structure.
LEFT_SIDE = 'LeftSide'
RIGHT_SIDE = 'RightSide'
UNDER_SIDE = 'UnderSide'
Import from multiconn_archicad.models.tapir.types.
SkeletonOptions ¶
API_SkeletonOptions of a 3D Document made from the floor plan. viewSrc is the integer value of API_ViewSourceID.
viewSrc: int | None = None
floorIdx: int | None = None
cutHeight: float | None = None
floorOffset: int | None = None
cutOffset: float | None = None
Import from multiconn_archicad.models.tapir.types.
Skin ¶
Data to represent a skin.
# Skin type (Core, Finish, or Other)
type: str
buildingMaterialId: AttributeIdArrayItem
# Skin frame pen index.
framePen: int
# Skin thickness (in meters).
thickness: float
Import from multiconn_archicad.models.tapir.types.
SkinOverride ¶
# Identifies which skin to modify, from GetProfiles' skins[].skinId.
skinId: str
buildingMaterialId: AttributeIdArrayItem | None = None
surfaceId: AttributeIdArrayItem | None = None
fillId: AttributeIdArrayItem | None = None
contourPen: int | None = None
contourLineTypeId: AttributeIdArrayItem | None = None
isCore: bool | None = None
isFinish: bool | None = None
visibleCutEndLines: bool | None = None
cutEndLinePen: int | None = None
cutEndLineTypeId: AttributeIdArrayItem | None = None
# Sets the component area method of this skin (read it with GetProfiles'
# skins[].areaMethod). None removes it.
areaMethod: ProfileAreaMethod | None = None
# Modifications to specific edges of this skin, targeted by their position
# (0-based) in GetProfiles' skins[].edges.
edgeOverrides: list[ProfileEdgeOverride] | None = None
Import from multiconn_archicad.models.tapir.types.
SkippedLibraryPart ¶
index: int | None = None
code: int | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SkylightAnchorPoint ¶
Which point of the skylight anchorPosition places (API_SkylightType::anchorPoint).
BOTTOM_CENTER = 'BottomCenter'
BOTTOM_LEFT = 'BottomLeft'
BOTTOM_RIGHT = 'BottomRight'
TOP_CENTER = 'TopCenter'
TOP_LEFT = 'TopLeft'
TOP_RIGHT = 'TopRight'
Import from multiconn_archicad.models.tapir.types.
SkylightData ¶
The parameters of the new Skylight. The settings not given are the Skylight tool defaults' or the favorite's.
# Optional name of a Skylight favorite to base the new element on.
favoriteName: str | None = None
# Optional Element ID of the new element. When omitted the element gets the
# next automatic ID of its tool.
id: str | None = None
# The roof (single- or multi-plane) or shell the skylight is placed in.
ownerId: ElementId
# Optional localized name of a skylight library part to place instead of the
# tool default's.
libraryPartName: str | None = None
# Global XY coordinates of the skylight's anchor point
# (API_SkylightType::anchorPosition). Archicad places the skylight on its
# owner roof or shell at this point; moving it onto another plane of a multi-
# plane roof has not been verified.
anchorPosition: Coordinate2D
anchorPoint: SkylightAnchorPoint | None = None
fixMode: SkylightFixMode | None = None
width: float | None = None
height: float | None = None
# Rotation angle of the skylight in the horizontal plane, measured clockwise,
# in radians (API_SkylightType::azimuthAngle).
azimuthAngle: float | None = None
# Elevation angle of the owner's surface at the skylight, in radians
# (API_SkylightType::elevationAngle). Archicad may set it again from the owner
# roof or shell.
elevationAngle: float | None = None
# Mirror the skylight (API_OpeningBaseType::reflected).
reflected: bool | None = None
displayOption: DisplayOption | None = None
# Pen of the skylight's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the skylight's floor plan symbol; used unless
# useObjectLineTypes is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the skylight.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the skylight; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the skylight.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the skylight; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines.
aboveViewLinePen: int | None = None
# Line type of the overhead lines.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the skylight.
belowViewLinePen: int | None = None
# Line type of the uncut lines.
belowViewLineTypeId: AttributeId | None = None
# Surface of the skylight (API_OpeningBaseType::mat); used unless
# useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SkylightDetails ¶
The details of a Skylight: the settings CreateSkylights and ModifySkylights write, plus the library part, the owner and anchorLevel, which are only read.
libPart: LibPartDetails
ownerElementId: ElementId | None = None
ownerElementType: ElementType | None = None
# Global XY coordinates of the skylight's anchor point.
anchorPosition: Coordinate2D
# Which point of the skylight anchorPosition places.
anchorPoint: SkylightAnchorPoint | None = None
# What the skylight keeps when the angle or the height of its owner changes.
fixMode: SkylightFixMode | None = None
# The global Z coordinate of the anchor point. Only read; Archicad sets it
# from the owner.
anchorLevel: float
width: float
height: float
# Rotation angle in the horizontal plane, measured clockwise, in radians.
azimuthAngle: float
# Elevation angle of the owner's surface at the skylight, in radians.
elevationAngle: float
reflected: bool | None = None
displayOption: DisplayOption | None = None
# Pen of the skylight's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the skylight's floor plan symbol; used unless
# useObjectLineTypes is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the skylight.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the skylight; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
sectionFillPen: int | None = None
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines.
aboveViewLinePen: int | None = None
# Line type of the overhead lines.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines.
belowViewLinePen: int | None = None
# Line type of the uncut lines.
belowViewLineTypeId: AttributeId | None = None
# Surface of the skylight; used unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
useObjectPens: bool | None = None
useObjectLineTypes: bool | None = None
useObjectMaterials: bool | None = None
useObjectSectionAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SkylightFixMode ¶
What the skylight keeps when the angle or the height of its owner changes (API_SkylightType::fixMode).
HORIZONTAL = 'Horizontal'
VERTICAL = 'Vertical'
Import from multiconn_archicad.models.tapir.types.
SkylightHolePolygon ¶
# The 2D coordinates of the outline of the hole, as Archicad returns them. The
# outline is closed implicitly (the first vertex is not repeated at the end);
# a curved edge is given by its end points only.
polygonOutline: list[Coordinate2D]
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D]
Import from multiconn_archicad.models.tapir.types.
SkylightRecreationData ¶
# The skylight to recreate.
elementId: ElementId
# The roof (single- or multi-plane) or shell to place the new skylight in, as
# CreateSkylights takes it. It may also be the skylight's own roof or shell.
ownerId: ElementId
# Optional global XY coordinates of the new skylight's anchor point, as
# CreateSkylights and ModifySkylights take them and GetDetailsOfElements
# returns them. Archicad places the skylight on its owner at this point, so it
# has to lie on the new owner. When omitted, the old skylight's anchorPosition
# is kept.
anchorPosition: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
SkylightsWithDetail ¶
elementId: ElementId
# Global XY coordinates of the skylight's anchor point
# (API_SkylightType::anchorPosition). Archicad places the skylight on its
# owner roof or shell at this point; moving it onto another plane of a multi-
# plane roof has not been verified.
anchorPosition: Coordinate2D | None = None
anchorPoint: SkylightAnchorPoint | None = None
fixMode: SkylightFixMode | None = None
width: float | None = None
height: float | None = None
# Rotation angle of the skylight in the horizontal plane, measured clockwise,
# in radians (API_SkylightType::azimuthAngle).
azimuthAngle: float | None = None
# Elevation angle of the owner's surface at the skylight, in radians
# (API_SkylightType::elevationAngle). Archicad may set it again from the owner
# roof or shell.
elevationAngle: float | None = None
# Mirror the skylight (API_OpeningBaseType::reflected).
reflected: bool | None = None
displayOption: DisplayOption | None = None
# Pen of the skylight's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the skylight's floor plan symbol; used unless
# useObjectLineTypes is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the skylight.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the skylight; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the skylight.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the skylight; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines.
aboveViewLinePen: int | None = None
# Line type of the overhead lines.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the skylight.
belowViewLinePen: int | None = None
# Line type of the uncut lines.
belowViewLineTypeId: AttributeId | None = None
# Surface of the skylight (API_OpeningBaseType::mat); used unless
# useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SlabData ¶
The parameters of the new Slab.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# The Z coordinate value of the reference line of the slab.
level: float
# Optional slab thickness. Only takes effect on a Basic (homogeneous) slab - a
# Composite slab takes its thickness from the composite attribute. Without
# structureType, buildingMaterialId or compositeId the new slab keeps the
# structure of the slab tool default (or the favorite), which may be a
# composite; send structureType 'Basic' for the thickness to apply.
thickness: float | None = None
# Optional structure of the slab. If omitted, derived from buildingMaterialId
# or compositeId when one is given, otherwise the slab tool default (or the
# favorite) is kept.
structureType: SlabStructureType | None = None
# Building material of a Basic slab. Cannot be combined with compositeId.
buildingMaterialId: AttributeId | None = None
# Composite attribute of a Composite slab. Cannot be combined with
# buildingMaterialId.
compositeId: AttributeId | None = None
# For a basic (homogeneous) slab only 'Top' or 'Bottom' are valid.
referencePlaneLocation: SlabReferencePlaneLocation | None = None
# The 2D coordinates of the edge of the slab.
polygonCoordinates: list[Coordinate2D]
# Polygon outline arcs of the slab.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# Optional floor index. If omitted, derived from level.
floorIndex: int | None = None
# Overrides the surface of the top of the slab.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the sides of the slab.
sideMaterial: OverriddenMaterial | None = None
# Overrides the surface of the bottom of the slab.
bottomMaterial: OverriddenMaterial | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the slab in the floor plan. Only the given fields change;
# of the orientation Archicad applies only its type through the API, read it
# back with GetDetailsOfElements.
floorFill: FloorFill | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
# Pen of the slab's contour in the floor plan.
contourPen: int | None = None
# Line type of the slab's contour in the floor plan.
contourLineTypeId: AttributeId | None = None
# Pen of the slab's contour where it is cut in sections.
sectionContourPen: int | None = None
# Line type of the slab's contour where it is cut in sections.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the slab's hidden contour lines in the floor plan.
hiddenContourLinePen: int | None = None
# Line type of the slab's hidden contour lines in the floor plan.
hiddenContourLineTypeId: AttributeId | None = None
# Archicad 29 and later: when true, Archicad recomputes visibility and
# fillVisibility from the slab's elevation and ignores the values given for
# them. Giving visibility or fillVisibility without this key turns it off.
# Before Archicad 29 a slab has no such setting, and the item fails when this
# key is given.
isAutoOnStoryVisibility: bool | None = None
# The stories the slab's contour is shown on. Only the given fields change.
visibility: StoryVisibility | None = None
# The stories the slab's cover fill is shown on. Only the given fields change.
fillVisibility: StoryVisibility | None = None
# How the slab is linked to its home story.
linkToSettings: LinkToSettings | None = None
Import from multiconn_archicad.models.tapir.types.
SlabDetails ¶
# Thickness of the slab.
thickness: float
# Distance of the reference level of the slab from the floor level.
level: float
# Vertical distance between the reference level and the top of the slab.
offsetFromTop: float
zCoordinate: float
# Polygon outline of the slab.
polygonOutline: list[Coordinate2D]
# Polygon outline arcs of the slab.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D]
# The custom side surface of each edge of the slab's polygon: the edges of
# polygonOutline first, then those of each hole in order, the item i of a
# polygon belonging to its edge from vertex i to vertex i + 1. ModifySlabs
# takes the same list.
edgeSideMaterials: list[OverriddenMaterial] | None = None
# The Edge Angle of each edge of the slab's polygon, in the order of
# edgeSideMaterials. Missing when the slab stores no edge trims, in which case
# every edge is Vertical. ModifySlabs takes the same list, or one edgeTrim for
# every edge.
edgeTrims: list[SlabEdgeTrim] | None = None
structureType: SlabStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
referencePlaneLocation: SlabReferencePlaneLocation | None = None
topMaterial: OverriddenMaterial | None = None
sideMaterial: OverriddenMaterial | None = None
bottomMaterial: OverriddenMaterial | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
floorFill: FloorFill | None = None
# Whether the surface materials are chained (API_SlabType::materialsChained).
materialsChained: bool | None = None
# Pen of the slab's contour in the floor plan (API_SlabType::pen).
contourPen: int | None = None
# Line type of the slab's contour in the floor plan (API_SlabType::ltypeInd) -
# pairs with contourPen.
contourLineTypeId: AttributeId | None = None
# Pen of the slab's contour where it is cut in sections
# (API_SlabType::sectContPen).
sectionContourPen: int | None = None
# Line type of the slab's contour where it is cut in sections
# (API_SlabType::sectContLtype) - pairs with sectionContourPen.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the slab's hidden contour lines in the floor plan
# (API_SlabType::hiddenContourLinePen).
hiddenContourLinePen: int | None = None
# Line type of the slab's hidden contour lines in the floor plan
# (API_SlabType::hiddenContourLineType) - pairs with hiddenContourLinePen.
hiddenContourLineTypeId: AttributeId | None = None
# When true, Archicad recomputes 'visibility' and 'fillVisibility'
# automatically from the slab's elevation. Only in Archicad 29 and later;
# older versions have no such setting on a slab and leave it out.
isAutoOnStoryVisibility: bool | None = None
# The stories the slab's contour is shown on (API_SlabType::visibilityCont).
visibility: StoryVisibility | None = None
# The stories the slab's cover fill is shown on
# (API_SlabType::visibilityFill).
fillVisibility: StoryVisibility | None = None
linkToSettings: LinkToSettings | None = None
Import from multiconn_archicad.models.tapir.types.
SlabEdgeTrim ¶
The Edge Angle of a slab edge (Geometry and Positioning panel of Slab Settings): vertical, or at a custom angle.
trimType: SlabEdgeTrimType | None = None
# The angle of the edge in radians, as Archicad stores it (the dialog shows it
# in degrees). Only CustomAngle uses it.
angle: float | None = None
Import from multiconn_archicad.models.tapir.types.
SlabEdgeTrimType ¶
Vertical (the default, perpendicular to the slab), or at 'angle' (CustomAngle). ModifySlabs writes only these two; the others are only reported, should Archicad store one on a slab.
VERTICAL = 'Vertical'
PERPENDICULAR = 'Perpendicular'
HORIZONTAL = 'Horizontal'
CUSTOM_ANGLE = 'CustomAngle'
ALIGN_WITH_CUT = 'AlignWithCut'
Import from multiconn_archicad.models.tapir.types.
SlabQuantities ¶
Quantities of a Slab element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the slab.
volume: float
# Conditional net volume of the slab.
volumeConditional: float
# Gross volume of the slab.
grossVolume: float
# Net top surface of the slab.
topSurface: float
# Net bottom surface of the slab.
bottomSurface: float
# Net surface of the edges of the slab.
edgeSurface: float
# Conditional top surface of the slab.
topSurfaceConditional: float
# Conditional bottom surface of the slab.
bottomSurfaceConditional: float
# Gross top surface of the slab.
grossTopSurface: float
# Gross bottom surface of the slab.
grossBottomSurface: float
# Gross surface of the edges of the slab.
grossEdgeSurface: float
# Perimeter of the slab.
perimeter: float
# Total area of the holes in the slab.
holesSurface: float
# Total perimeter of the holes in the slab.
holesPerimeter: float
Import from multiconn_archicad.models.tapir.types.
SlabReferencePlaneLocation ¶
Location of the slab reference plane.
TOP = 'Top'
CORE_TOP = 'CoreTop'
CORE_BOTTOM = 'CoreBottom'
BOTTOM = 'Bottom'
Import from multiconn_archicad.models.tapir.types.
SlabStructureType ¶
BASIC = 'Basic'
COMPOSITE = 'Composite'
Import from multiconn_archicad.models.tapir.types.
SlabWithDetails ¶
elementId: ElementId
# Absolute Z of the slab's reference level. The home story is derived from it
# unless floorIndex is given; a Z below the lowest story stays on the lowest
# story with a negative level.
zCoordinate: float | None = None
# Optional home story index (as returned by GetStories). With zCoordinate it
# pins the story the Z is resolved against; alone it only changes the home
# story.
floorIndex: int | None = None
# Only takes effect on a Basic (homogeneous) slab - a Composite slab takes its
# thickness from the composite attribute. Send structureType 'Basic' in the
# same call to switch a composite slab first.
thickness: float | None = None
structureType: SlabStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
referencePlaneLocation: SlabReferencePlaneLocation | None = None
# Replaces the slab's entire polygon, including its holes - resend the holes
# field too to keep them, otherwise they are removed. The Edge Angle and the
# custom surface of an edge are kept when the new edge lies on an old one (an
# unchanged or split edge), or, with the same point counts as before, from the
# edge with the same index (moved points); other edges are Vertical with the
# slab's side surface.
polygonOutline: list[Coordinate2D] | None = None
polygonArcs: list[PolyArc] | None = None
# Can be given on its own, without polygonOutline, to add/remove/clear holes
# in place (an empty array clears all holes) - the slab's current outline is
# reused unchanged.
holes: list[Hole2D] | None = None
# The Edge Angle of the whole slab (Geometry and Positioning panel of Slab
# Settings): sets every edge of the slab's polygon, the outline and the holes,
# to this trim. Cannot be combined with edgeTrims, polygonOutline or holes.
edgeTrim: SlabEdgeTrim | None = None
# The Edge Angle of each edge of the slab's polygon, one item per edge in the
# order GetDetailsOfElements reports them in edgeTrims (the outline, then each
# hole). Only the given fields change; an empty item keeps its edge. Cannot be
# combined with edgeTrim, polygonOutline or holes, which make new edges.
edgeTrims: list[SlabEdgeTrim] | None = None
# The custom surface of each edge of the slab's polygon, one item per edge in
# the order GetDetailsOfElements reports them in edgeSideMaterials (the
# outline, then each hole). An overridden item sets the edge's custom surface,
# overridden false clears it so the edge shows the slab's side surface. Send
# every edge; the other edges keep their surface when sent as read. Cannot be
# combined with polygonOutline or holes, which make new edges.
edgeSideMaterials: list[OverriddenMaterial] | None = None
# Overrides the surface of the top of the slab.
topMaterial: OverriddenMaterial | None = None
# Overrides the surface of the sides of the slab.
sideMaterial: OverriddenMaterial | None = None
# Overrides the surface of the bottom of the slab.
bottomMaterial: OverriddenMaterial | None = None
# Overrides the pen of the cut fill. Written from Archicad 27.
cutFillPen: OverriddenPen | None = None
# Overrides the background pen of the cut fill. Written from Archicad 27.
cutFillBackgroundPen: OverriddenPen | None = None
# The cover fill of the slab in the floor plan. Only the given fields change;
# of the orientation Archicad applies only its type through the API, read it
# back with GetDetailsOfElements.
floorFill: FloorFill | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
# Pen of the slab's contour in the floor plan.
contourPen: int | None = None
# Line type of the slab's contour in the floor plan.
contourLineTypeId: AttributeId | None = None
# Pen of the slab's contour where it is cut in sections.
sectionContourPen: int | None = None
# Line type of the slab's contour where it is cut in sections.
sectionContourLineTypeId: AttributeId | None = None
# Pen of the slab's hidden contour lines in the floor plan.
hiddenContourLinePen: int | None = None
# Line type of the slab's hidden contour lines in the floor plan.
hiddenContourLineTypeId: AttributeId | None = None
# Archicad 29 and later: when true, Archicad recomputes visibility and
# fillVisibility from the slab's elevation and ignores the values given for
# them. Giving visibility or fillVisibility without this key turns it off.
# Before Archicad 29 a slab has no such setting, and the item fails when this
# key is given.
isAutoOnStoryVisibility: bool | None = None
# The stories the slab's contour is shown on. Only the given fields change.
visibility: StoryVisibility | None = None
# The stories the slab's cover fill is shown on. Only the given fields change.
fillVisibility: StoryVisibility | None = None
# How the slab is linked to its home story.
linkToSettings: LinkToSettings | None = None
Import from multiconn_archicad.models.tapir.types.
SnapFilter ¶
Which points and lines of the elements the cursor snaps to while the designer clicks (Archicad's neig filter). Without it, the cursor snaps as usual.
# What the cursor snaps to before include and exclude are applied: All =
# everything, None = nothing, Edges = only the lines and edges of the
# elements, Nodes = only their points (end points, vertices, hotspots).
# Default: None when include is given, otherwise All.
base: Base | None = None
# The cursor also snaps to these.
include: list[SnapType] | None = None
# The cursor does not snap to these. Applied after include.
exclude: list[SnapType] | None = None
Import from multiconn_archicad.models.tapir.types.
SnapPoint ¶
coordinate: Coordinate3D
# Which kind of point of the element the hotspot is, as the DevKit's
# API_NeigID enumerator value of its neig (for example the begin or end point
# of a Wall's reference line, or a vertex of a Slab's polygon).
neigId: int
# Subindex of the point within its kind (API_Neig inIndex), for example the
# vertex index in the element's polygon.
inIndex: int
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SnapType ¶
A kind of point or line the cursor can snap to. An element type name means the element's points (end points, vertices, corners, hotspots); with On it means its lines and edges (for walls the reference line). Hotspot is a hotspot element, Text the corners of a text, Label the points of a label, Dimension a dimension point and DimensionOn the dimension line.
WALL = 'Wall'
WALL_ON = 'WallOn'
COLUMN = 'Column'
COLUMN_ON = 'ColumnOn'
BEAM = 'Beam'
BEAM_ON = 'BeamOn'
WINDOW = 'Window'
WINDOW_ON = 'WindowOn'
DOOR = 'Door'
DOOR_ON = 'DoorOn'
OBJECT = 'Object'
OBJECT_ON = 'ObjectOn'
SLAB = 'Slab'
SLAB_ON = 'SlabOn'
ROOF = 'Roof'
ROOF_ON = 'RoofOn'
MESH = 'Mesh'
MESH_ON = 'MeshOn'
SHELL = 'Shell'
SHELL_ON = 'ShellOn'
MORPH = 'Morph'
MORPH_ON = 'MorphOn'
SKYLIGHT = 'Skylight'
SKYLIGHT_ON = 'SkylightOn'
CURTAIN_WALL = 'CurtainWall'
CURTAIN_WALL_ON = 'CurtainWallOn'
STAIR = 'Stair'
STAIR_ON = 'StairOn'
RAILING = 'Railing'
RAILING_ON = 'RailingOn'
ZONE = 'Zone'
ZONE_ON = 'ZoneOn'
HATCH = 'Hatch'
HATCH_ON = 'HatchOn'
LINE = 'Line'
LINE_ON = 'LineOn'
POLY_LINE = 'PolyLine'
POLY_LINE_ON = 'PolyLineOn'
ARC = 'Arc'
ARC_ON = 'ArcOn'
CIRCLE = 'Circle'
CIRCLE_ON = 'CircleOn'
SPLINE = 'Spline'
SPLINE_ON = 'SplineOn'
HOTSPOT = 'Hotspot'
TEXT = 'Text'
LABEL = 'Label'
DIMENSION = 'Dimension'
DIMENSION_ON = 'DimensionOn'
Import from multiconn_archicad.models.tapir.types.
SolidLinkData ¶
# The element to be cut or modified.
targetId: ElementId
# The element performing the operation.
operatorId: ElementId
operation: SolidOperationType
linkFlags: SolidLinkFlags | None = None
Import from multiconn_archicad.models.tapir.types.
SolidLinkFlags ¶
Flags controlling the behaviour of a solid element operation link.
# If true, the target element inherits the attributes of the operator element.
inheritOperatorAttributes: bool
# If true, holes of the operator (roof/slab) are ignored during the operation.
skipPolygonHoles: bool
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SolidLinksOfElement ¶
# Links where the given element is the target (being cut or modified).
solidLinksWithTheGivenTarget: list[SolidLinksWithTheGivenTargetItem]
# Links where the given element is the operator (performing the cut).
solidLinksWithTheGivenOperator: list[SolidLinksWithTheGivenOperatorItem]
Import from multiconn_archicad.models.tapir.types.
SolidLinksWithTheGivenOperatorItem ¶
targetId: ElementId
operation: SolidOperationType
linkFlags: SolidLinkFlags
# When the solid link was made, as a date and time string formatted like the
# times of revision issues. Omitted when Archicad does not report it.
linkTime: str | None = None
Import from multiconn_archicad.models.tapir.types.
SolidLinksWithTheGivenTargetItem ¶
operatorId: ElementId
operation: SolidOperationType
linkFlags: SolidLinkFlags
# When the solid link was made, as a date and time string formatted like the
# times of revision issues. Omitted when Archicad does not report it.
linkTime: str | None = None
Import from multiconn_archicad.models.tapir.types.
SolidOperationData ¶
# The target morph.
targetId: ElementId
# The operator morph.
operatorId: ElementId
operation: SolidOperationType
Import from multiconn_archicad.models.tapir.types.
SolidOperationResult ¶
# The morphs created by the operation.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.types.
SolidOperationType ¶
The type of solid element operation.
SUBTRACTION = 'Subtraction'
SUBTRACTION_UPWARDS = 'SubtractionUpwards'
SUBTRACTION_DOWNWARDS = 'SubtractionDownwards'
INTERSECTION = 'Intersection'
ADDITION = 'Addition'
Import from multiconn_archicad.models.tapir.commands.
SolveStairBaselineParameters ¶
# Array of Stair data to check, with the same fields as the items of
# CreateStairs (without favoriteName). Nothing is created.
stairsData: list[StairBaselineData]
Import from multiconn_archicad.models.tapir.commands.
SolveStairBaselineResult ¶
# The results of the stair solver, aligned with the input stairsData.
solutions: list[StairBaselineSolution | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
SpecialFolderPath ¶
# The path of the special folder in the filesystem.
path: str
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SpecialFolderType ¶
The type of a special folder of the running Archicad.
APPLICATION_PREFS = 'ApplicationPrefs'
GRAPHISOFT_PREFS = 'GraphisoftPrefs'
GRAPHISOFT_HOME = 'GraphisoftHome'
CACHE = 'Cache'
DATA = 'Data'
USER_DOCUMENTS = 'UserDocuments'
TEMPORARY = 'Temporary'
APPLICATION = 'Application'
DEFAULTS = 'Defaults'
WEB_OBJECTS = 'WebObjects'
TEMPLATES = 'Templates'
HELP = 'Help'
EMBEDDED_PROJECT_LIBRARY = 'EmbeddedProjectLibrary'
EMBEDDED_PROJECT_LIBRARY_HOTLINK = 'EmbeddedProjectLibraryHotlink'
PROJECT_PREVIEWS = 'ProjectPreviews'
Import from multiconn_archicad.models.tapir.types.
SplineData ¶
The parameters of the new Spline.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new spline. Splines have no Element ID in
# Archicad 29: Archicad refuses it with error -2130313103
# (APIERR_BADELEMENTTYPE, element has no info string), and the item then
# answers with that error and creates no spline. Leave it out unless your
# Archicad version keeps it (GetDetailsOfElements returns it as id).
id: str | None = None
# The identifier of the floor. Optional parameter, by default the current
# floor is used.
floorInd: float | None = None
# Layer attribute index to place the spline on. Optional parameter, by default
# the current layer is used.
layerIndex: int | None = None
# The 2D coordinates of the spline points. Do not repeat the first point at
# the end even for a closed spline.
coordinates: list[Coordinate2D]
# Is this a closed curve? Optional, defaults to false.
closed: bool | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; by default the tool's (or the favorite's) arrowhead is kept.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads. By default the tool's (or the favorite's) setting is kept, and
# ends given a different size or pen are unlinked.
linkedArrowAttributes: bool | None = None
# Is this a zone boundary line? Optional, defaults to false.
roomSeparator: bool | None = None
# Optional pen index. By default the current pen is used.
linePenIndex: int | None = None
# Optional line type attribute. By default the current line type is used.
lineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
SplineDetails ¶
Geometry of a Spline element. Geometry is read-only: Archicad's own API does not support modifying Spline geometry via ACAPI_Element_Change. The settings fields (roomSeparator/linePenIndex/lineTypeId/startArrow/endArrow) ARE modifiable via SET.
coordinates: list[Coordinate2D]
# Is this a closed curve?
closed: bool
# Is this a zone boundary line?
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# The arrowhead at the start.
startArrow: LineArrowhead | None = None
# The arrowhead at the end.
endArrow: LineArrowhead | None = None
# Are the size and pen of the two arrowheads linked? Only present from
# Archicad 29.
linkedArrowAttributes: bool | None = None
zCoordinate: float
Import from multiconn_archicad.models.tapir.types.
SplineDistanceInput ¶
A spline input for a maximum-distance calculation.
# A Spline element.
elementId: ElementId
# The segment of the spline between its fit points segmentIndex and
# segmentIndex + 1, from 0 to the number of fit points - 2 (the fit points are
# the coordinates GetDetailsOfElements returns for the spline).
segmentIndex: int
# The 2D coordinates to measure from the segment.
coordinates: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.types.
SplineMaxDistance ¶
The maximum-distance result for a spline input.
# The largest distance of the given coordinates from the spline segment.
maxDistance: float
Import from multiconn_archicad.models.tapir.types.
SplineSettings ¶
Settings for modifying a Spline. Only these settings fields are modifiable - Archicad's own API does not support changing Spline geometry (coordinates/closed) via ACAPI_Element_Change. Any other field (such as coordinates) fails the item with an error and changes nothing of it; delete the spline and create it again with CreateSplines to change its geometry.
roomSeparator: bool | None = None
linePenIndex: int | None = None
lineTypeId: AttributeId | None = None
# Optional arrowhead at the start. Given, it is shown unless its visible is
# false; only the keys given are changed.
startArrow: LineArrowhead | None = None
# Optional arrowhead at the end. Given, it is shown unless its visible is
# false; only the keys given are changed.
endArrow: LineArrowhead | None = None
# Optional: link (true) or unlink (false) the size and pen of the two
# arrowheads.
linkedArrowAttributes: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SplitElementParts ¶
The element was split.
# The parts, first the original element, then the new ones (copies of it). A
# wall, beam or line gives two parts: the original keeps the part from its
# begin point to the split line. A slab, mesh or fill gives one part per piece
# of its polygon on each side of the line (more than two when the line crosses
# a concave polygon more than twice); the original keeps the largest. A
# polyline is cut at every crossing; the original keeps the part with its
# begin point.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
SplitElementsParameters ¶
# The elements to split. Supported: straight walls (not polygonal, without
# doors, windows or openings), straight beams (not slanted or curved, one
# segment, without holes or openings), lines, slabs, meshes (without level
# lines or points), fills and polylines (one contour). Other types are
# reported with their type name.
elements: list[ElementIdArrayItem]
# The split line in project coordinates: the infinite line through begin and
# end, as the split line of Archicad's Split command.
line: Line
Import from multiconn_archicad.models.tapir.commands.
SplitElementsResult ¶
# One item per given element, in the same order.
results: list[SplitElementParts | ElementNotSplit | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
SsaLevel ¶
The highest Software Service Agreement (SSA) level the license has: NoSSA, SSA or Forward. A script needing a level checks that this is at least that level, in this order. Missing in Archicad 25, which cannot report it.
NO_SSA = 'NoSSA'
SSA = 'SSA'
FORWARD = 'Forward'
Import from multiconn_archicad.models.tapir.types.
StairBaselineData ¶
The parameters of the Stair to check. Fields that are not given come from the current Stair tool defaults, as in CreateStairs.
# 2D coordinates of the stair baseline polyline. Whether the baseline runs
# along the left edge, the right edge or the center of the flight is the Stair
# tool's baseline position, taken from the Stair tool defaults: with the
# baseline on the left edge, the flight lies to the right of it, looking from
# the first point to the last. The first point is kept; the length of the
# flight comes from the riser count and going, so the flight does not
# necessarily end at the last point given. Minimum 2 points for a straight
# stair, 3+ for L-shaped or U-shaped stairs.
baseLinePoints: list[Coordinate2D]
# Optional. The curved edges of the baseline, as in CreateStairs and as
# GetDetailsOfElements returns them: begIndex and endIndex are 0-based indices
# of baseLinePoints, an arc bends one edge (endIndex = begIndex + 1), and
# arcAngle is not 0 and less than a full turn. Edges without an arc are
# straight.
baseLineArcs: list[PolyArc] | None = None
# The Z coordinate (absolute elevation) of the stair base.
zCoordinate: float
# Optional floor index. If omitted, derived from zCoordinate.
floorIndex: int | None = None
# Total height of the stair.
totalHeight: float | None = None
# Width of the stair flight.
flightWidth: float | None = None
# Number of risers (steps).
stepNum: int | None = None
# Height of each riser.
riserHeight: float | None = None
# Depth (going) of each tread.
treadDepth: float | None = None
# Optional. If false, the tread/riser finishes are hidden and only the stair
# structure (e.g. a monolith) is modeled.
finishVisible: bool | None = None
Import from multiconn_archicad.models.tapir.types.
StairBaseLineEdge ¶
segmentType: StairBaselineSegmentType
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
StairBaselineEdgeDetails ¶
segmentType: StairBaselineSegmentTypeOrUnknown
Import from multiconn_archicad.models.tapir.types.
StairBaselinePositionOrUnknown ¶
The edge of the flight the baseline runs on, as CreateStairs takes it (API_StairType::baselinePosition).
LEFT = 'Left'
RIGHT = 'Right'
CENTER = 'Center'
AUTO = 'Auto'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairBaselineSegmentType ¶
Flight: steps. Landing: a landing segment, the edge between two landing turns of a U-shaped stair. DividedLanding: a divided landing segment.
FLIGHT = 'Flight'
LANDING = 'Landing'
DIVIDED_LANDING = 'DividedLanding'
Import from multiconn_archicad.models.tapir.types.
StairBaselineSegmentTypeOrUnknown ¶
FLIGHT = 'Flight'
LANDING = 'Landing'
DIVIDED_LANDING = 'DividedLanding'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairBaselineSolution ¶
solution: StairBaselineSolutionState
# The baseline polyline after the solver ran.
baseLinePoints: list[Coordinate2D]
# The arcs of the baseline after the solver ran, indexing baseLinePoints.
# Present only when the baseline has arcs.
baseLineArcs: list[PolyArc] | None = None
# Total height of the stair after the solver ran.
totalHeight: float
# Width of the stair flight after the solver ran.
flightWidth: float
# The number of risers as given, else the Stair tool default's. Not laid out:
# the solver checks the baseline only, and CreateStairs picks the riser count
# for totalHeight within rules (#2526).
stepNum: int
# The riser height as given, else the Stair tool default's. Not laid out, like
# stepNum: CreateStairs picks it within rules.
riserHeight: float
# The going as given, else the Stair tool default's stored going (which can
# read 0 or 1, #2525). Not laid out: the solver does not lay out the steps.
treadDepth: float
# The Rules and Standards CreateStairs would create this stair with: the Stair
# tool defaults' rules, with the going pinned (treadDepthMinValue =
# treadDepthMaxValue = treadDepth, both applied, and the 2R+G, R+G and R/G
# rules released) when treadDepth is given, as CreateStairs pins it. Archicad
# lays the steps out within the applied limits when it creates the stair, so
# the riser count and riser height it picks for totalHeight must be within
# riserHeightMinValue..riserHeightMaxValue and the going within
# treadDepthMinValue..treadDepthMaxValue (each when applied); the stepNum,
# riserHeight and treadDepth above are only the given values or the tool
# defaults (#2526).
rules: StairRules
Import from multiconn_archicad.models.tapir.types.
StairBaselineSolutionState ¶
Correct: the baseline was already valid, nothing changed. Solved: the solver turned it into a valid baseline, returned in baseLinePoints. NotSolved: no valid baseline was found; CreateStairs is likely to fail or create an invalid stair with this input. It is about the baseline only: Correct does not mean that the riser count, riser height and going given fit totalHeight and the rules (#2526).
CORRECT = 'Correct'
SOLVED = 'Solved'
NOT_SOLVED = 'NotSolved'
Import from multiconn_archicad.models.tapir.types.
StairBaselineTurnTypeOrUnknown ¶
NONE = 'None'
LANDING = 'Landing'
WINDER = 'Winder'
DIVIDED_LANDING = 'DividedLanding'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairBaseLineVertex ¶
# The turn at this point. The first and last points take None.
turnType: TurnType
# Optional, 0 by default. The minimal lead edge offset of a landing turn:
# makes the landing longer before the turn. Archicad calculates the actual
# offset, at least this much, to fit the steps (GetDetailsOfElements returns
# it as landingStartEdgeOffset).
minLandingStartEdgeOffset: float | None = None
# Optional, 0 by default. The minimal trail edge offset of a landing turn:
# makes the landing longer after the turn. Archicad calculates the actual
# offset, at least this much (GetDetailsOfElements returns it as
# landingEndEdgeOffset).
minLandingEndEdgeOffset: float | None = None
# Optional, 1 by default. The number of winder steps before a Winder turn
# (Number of Winder Steps backward).
winderStepNumBackward: int | None = None
# Optional, 1 by default. The number of winder steps after a Winder turn
# (Number of Winder Steps forward).
winderStepNumForward: int | None = None
# Optional, Minimum by default. Whether the number of winders of a Winder turn
# is the minimum Archicad needs or fixed at winderStepNumBackward and
# winderStepNumForward.
numOfWindersType: StairWinderNumType | None = None
# Optional, SinglePoint by default. How the winders of a Winder turn are laid
# out.
winderType: StairWinderType | None = None
# Optional, Minimum by default. The type of the riser offsets from the inner
# corner of a Winder turn: minimum or fixed.
innerWidthOffsetType: StairInnerWidthOffsetType | None = None
# Optional, Optimal by default. The winder division method of a DividedLanding
# turn. Fixed takes dividedLandingFixedNumOfSteps.
dividedLandingNumOfWindersType: StairDividedLandingWinderNumType | None = None
# Optional, 2 by default. The number of steps on a DividedLanding turn when
# dividedLandingNumOfWindersType is Fixed (Fixed Number of Goings).
dividedLandingFixedNumOfSteps: int | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
StairBaselineVertexDetails ¶
turnType: StairBaselineTurnTypeOrUnknown
# The lead edge offset of the landing as Archicad calculated it.
landingStartEdgeOffset: float
# The trail edge offset of the landing as Archicad calculated it.
landingEndEdgeOffset: float
# The minimal lead edge offset.
minLandingStartEdgeOffset: float
# The minimal trail edge offset.
minLandingEndEdgeOffset: float
# The number of winder steps before the turn. Used by a Winder turn.
winderStepNumBackward: int | None = None
# The number of winder steps after the turn. Used by a Winder turn.
winderStepNumForward: int | None = None
numOfWindersType: StairWinderNumType | None = None
winderType: StairWinderType | None = None
innerWidthOffsetType: StairInnerWidthOffsetType | None = None
dividedLandingNumOfWindersType: StairDividedLandingWinderNumType | None = None
# The number of steps on a DividedLanding turn whose division method is Fixed.
dividedLandingFixedNumOfSteps: int | None = None
Import from multiconn_archicad.models.tapir.types.
StairBoundary ¶
A side boundary line of a stair: an open polyline along that side of the flights and landings, in model coordinates (the coordinates of baseLinePoints). The left boundary, the right boundary reversed and the two segments joining their ends make the outline of the stair in plan.
# Whether the boundary was edited by hand.
isCustom: bool
points: list[Coordinate2D]
# The curved segments of the boundary, with 0-based indices into points; empty
# when every segment is straight.
arcs: list[PolyArc]
# One item per segment: edge i runs from points[i] to points[i + 1].
edges: list[StairBoundaryEdge]
Import from multiconn_archicad.models.tapir.types.
StairBoundaryEdge ¶
# Whether the part of the stair this segment describes is visible.
visible: bool
Import from multiconn_archicad.models.tapir.types.
StairBreakLineAngleType ¶
ANGLE_TO_VERTICAL = 'AngleToVertical'
ANGLE_TO_HORIZONTAL = 'AngleToHorizontal'
NUMBER_OF_GOINGS = 'NumberOfGoings'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairBreakLineAngleTypeInput ¶
How the angle of the break line is given: by breakLineAngle to the vertical or to the horizontal, or worked out from breakLineAngleNumberOfGoings.
ANGLE_TO_VERTICAL = 'AngleToVertical'
ANGLE_TO_HORIZONTAL = 'AngleToHorizontal'
NUMBER_OF_GOINGS = 'NumberOfGoings'
Import from multiconn_archicad.models.tapir.types.
StairBreakLinePositionType ¶
FLOOR_PLAN_CUT_PLANE_HEIGHT = 'FloorPlanCutPlaneHeight'
CUSTOM_HEIGHT = 'CustomHeight'
AT_NTH_RISER = 'AtNthRiser'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairBreakLinePositionTypeInput ¶
Where the break line is: at the floor plan cut plane height, at a custom height or at a given riser.
FLOOR_PLAN_CUT_PLANE_HEIGHT = 'FloorPlanCutPlaneHeight'
CUSTOM_HEIGHT = 'CustomHeight'
AT_NTH_RISER = 'AtNthRiser'
Import from multiconn_archicad.models.tapir.types.
StairData ¶
The parameters of the new Stair.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# 2D coordinates of the stair baseline polyline. Whether the baseline runs
# along the left edge, the right edge or the center of the flight is the Stair
# tool's baseline position, taken from baselinePosition, or else from the tool
# defaults or favoriteName: with the baseline on the left edge, the flight
# lies to the right of it, looking from the first point to the last. The first
# point is kept; the length of the flight comes from the riser count and
# going, so the flight does not necessarily end at the last point given.
# Minimum 2 points for a straight stair, 3+ for L-shaped or U-shaped stairs.
baseLinePoints: list[Coordinate2D]
# Optional. Where the baseline runs on the flight, looking from the first
# point to the last. Left: along the left edge, the flight lies to the right
# of the baseline. Right: along the right edge, the flight lies to the left of
# it. Center: along the middle of the flight. Without it the baseline position
# of the Stair tool defaults (or of favoriteName) is used.
baselinePosition: BaselinePosition | None = None
# Optional. The offset of the baseline from the flight edge that
# baselinePosition names (Left or Right); not used with Center. Without it the
# offset of the Stair tool defaults (or of favoriteName) is kept.
baselineOffset: float | None = None
# The Z coordinate (absolute elevation) of the stair base.
zCoordinate: float
# Optional floor index. If omitted, derived from zCoordinate.
floorIndex: int | None = None
# Total height of the stair.
totalHeight: float | None = None
# Width of the stair flight.
flightWidth: float | None = None
# Number of risers (steps). Advisory: Archicad computes the step layout from
# totalHeight and the stair rules, so the created stair may not have this many
# risers.
stepNum: int | None = None
# Height of each riser. Advisory: Archicad computes the step layout from
# totalHeight and the stair rules, so the created stair may not use this riser
# height.
riserHeight: float | None = None
# Depth (going) of each tread. Pinned as a fixed going in the stair rules, so
# the run length follows from the number of treads; the standard's combined
# riser/going rules (2R+G, R+G, R/G) are not applied to this stair.
treadDepth: float | None = None
# Optional. The segment type of each baseline edge, one item per edge
# (baseLinePoints.length - 1 items; edge i runs from point i to point i + 1).
# A U-shaped stair with a half landing is Flight, Landing, Flight with landing
# turns at both inner points. When neither baseLineEdges nor baseLineVertices
# is given, Archicad decides the segments and turns itself; when only
# baseLineVertices is given, every edge is a flight. Combinations Archicad
# cannot build fail like any other invalid stair.
baseLineEdges: list[StairBaseLineEdge] | None = None
# Optional. The turn at each baseline point, one item per point
# (baseLinePoints.length items). When neither baseLineEdges nor
# baseLineVertices is given, Archicad decides the segments and turns itself;
# when only baseLineEdges is given, the first and last points get no turn and
# every other point a landing turn. Each turn takes its own winder settings
# (winder step numbers, number of winders, winder type, riser offsets, divided
# landing division); the ones left out get the values Archicad derives itself,
# and GetDetailsOfElements reads back what the stair uses.
baseLineVertices: list[StairBaseLineVertex] | None = None
# Optional. The curved edges of the baseline, for a curved or spiral stair, in
# the format GetDetailsOfElements returns them: begIndex and endIndex are
# 0-based indices of baseLinePoints, and an arc bends one edge, so endIndex =
# begIndex + 1. arcAngle is the angle of the arc in radians, not 0 and less
# than a full turn; it is positive if the arc is on the right-hand side of the
# straight edge. At most one arc per edge; the edges without an arc are
# straight.
baseLineArcs: list[PolyArc] | None = None
# Links the top of the stair to a story, relative to its home story (1 is the
# story above); 0 unlinks it. With a top link Archicad computes totalHeight
# from the story levels and topOffset, so a totalHeight given in the same call
# is not kept. Archicad does not return the link when the stair is read, so
# GetDetailsOfElements does not report it; read the resulting totalHeight back
# instead.
relativeTopStory: int | None = None
# The offset of the top of the stair from the level of the linked top story
# (for example -0.15 for 15 cm below it). Only used when the stair's top is
# linked (relativeTopStory not 0).
topOffset: float | None = None
# The Rules and Standards of the stair: only the given limits and applied
# flags are written, the others are kept. Archicad lays the steps out within
# the applied limits, so read the riser count and going back with
# GetDetailsOfElements. In CreateStairs and ModifyStairs a treadDepth pins the
# going limits and releases the 2R+G, R+G and R/G rules first; the rules given
# here are written after that. An unknown key is refused, and ModifyStairs
# reads the given rules back and reports one Archicad did not apply as an
# error.
rules: StairRules | None = None
# The headroom of the stair (Stair Settings > Headroom): only the given fields
# are written, the others are kept. An unknown key is refused, and
# ModifyStairs reads the given fields back and reports one Archicad did not
# apply as an error.
headroom: StairHeadroom | None = None
# Whether the going lengths are locked.
treadDepthLocked: bool | None = None
# Whether the total height is locked.
totalHeightLocked: bool | None = None
# Whether the tread and riser finishes of the stair are shown; false models
# only the structure (e.g. a monolith). The treads and risers of each part can
# also be switched on and off with treads and risers.
finishVisible: bool | None = None
# Whether the stair has an extra tread at its top.
extraTopTread: bool | None = None
# Whether the stair has an extra tread at its bottom.
extraBottomTread: bool | None = None
walkingLinePosition: WalkingLinePosition | None = None
# The offset of the walking line from the side walkingLinePosition names (Left
# or Right); not used with Center and Auto. While the stair's walking line is
# Left or Right, CreateStairs and ModifyStairs read it back and fail the item
# when Archicad did not keep it (CreateStairs then deletes the new stair).
walkingLineOffset: float | None = None
# Where the symbol of the walking line is placed
# (API_StairType::walkLineSymbPos): by Archicad (Auto), centered, or where it
# was placed by hand (Custom).
walkingLineSymbolPosition: StairWalkingLineSymbolPosition | None = None
numberingType: NumberingType | None = None
inputDirection: InputDirection | None = None
# Whether the flights and the landings share one finish setting.
uniformFinish: bool | None = None
# Whether the monolithic structures of the flights and the landings share one
# set of attributes.
uniformMonolithAttributes: bool | None = None
# Whether the flights and the landings share one draining setting.
uniformDrainings: bool | None = None
# Whether the structure of the stair is shown.
structureVisibility: bool | None = None
stairDisplayType: StairDisplayTypeInput | None = None
# The floor plan display of the stair: the stories it is shown on, its visible
# components, the symbol on each story, the break line and the line type, pen
# and fill overrides. Independent of reflectedCeilingPlanLayout.
floorPlanLayout: StairLayoutSettings | None = None
# The reflected ceiling plan display of the stair: the stories it is shown on,
# its visible components, the symbol on each story, the break line and the
# line type, pen and fill overrides. Independent of floorPlanLayout.
reflectedCeilingPlanLayout: StairLayoutSettings | None = None
# The line types, pens and fills of the structure symbol, per structure type
# (UnderStructure, Stringer) and view (FloorPlan, CeilingPlan), with the keys
# GetDetailsOfElements returns. Only the given fields of the given items are
# changed; ModifyStairs reads them back and reports one Archicad did not apply
# as an error.
structureSymbols: list[StairStructureSymbolSettings] | None = None
# The line types, pens and fills of the monolithic structure's symbol, per
# view (FloorPlan, CeilingPlan) and part (Visible, Hidden), with the keys
# GetDetailsOfElements returns. Only the given fields of the given items are
# changed; ModifyStairs reads them back and reports one Archicad did not apply
# as an error.
monolithStructureSymbols: list[StairMonolithStructureSymbolSettings] | None = None
# Which structure symbols are shown on which of the stair's relevant stories,
# per view (FloorPlan, CeilingPlan), with the keys GetDetailsOfElements
# returns: whether one representation is used on every story, and per story
# range the visible structures, fills and monolithic parts. Only the given
# fields of the given items are changed; ModifyStairs reads them back and
# reports one Archicad did not apply as an error.
structureVisibilityOnStories: list[StairStructureVisibilitySettings] | None = None
# The tread settings of the flights (Run) and of the landings (Landing). Only
# the given fields of the given parts are changed. GetDetailsOfElements reads
# them back in treads.
treads: list[StairTreadData] | None = None
# The riser settings of the flights (Run) and of the landings (Landing). Only
# the given fields of the given parts are changed. GetDetailsOfElements reads
# them back in risers.
risers: list[StairRiserData] | None = None
# The structure settings of the flights (Run) and of the landings (Landing),
# for each side: the left and right side structures and the structure under
# the stair, with the keys GetDetailsOfElements reads in structures. Only the
# given fields of the given parts and sides are changed. ModifyStairs reads
# the given monolith and sideStair data back and reports a value Archicad did
# not apply as an error.
structures: list[StairStructureData] | None = None
# Not writable: the left boundary of the stair. An item with it is refused.
leftBoundary: StairOutlineNotWritable | None = None
# Not writable: the right boundary of the stair. An item with it is refused.
rightBoundary: StairOutlineNotWritable | None = None
# Not writable: the walking line of the stair. An item with it is refused.
walkingLine: StairOutlineNotWritable | None = None
# Not writable: the custom walking line of the stair. An item with it is
# refused.
customWalkingLine: StairOutlineNotWritable | None = None
# Not writable: the center walking line of the stair. An item with it is
# refused.
centerWalkingLine: StairOutlineNotWritable | None = None
Import from multiconn_archicad.models.tapir.types.
StairDetails ¶
The settings of a Stair element: the ones CreateStairs takes, and its floor plan and section display (stairDisplayType and the fields after it), of which CreateStairs and ModifyStairs write stairDisplayType, structureVisibility and, in floorPlanLayout and reflectedCeilingPlanLayout, storyVisibility and the show... switches. The finishes and the structure are modeled by the Stair's subelements (risers, treads and structures), which GetSubelementsOfHierarchicalElements lists; structures gives the structure settings they are built from, and GetDetailsOfElements reads a StairStructure subelement with the same keys.
# Number of risers (steps).
stepNum: int
# Height of each riser.
riserHeight: float
# The going (the length of each tread), measured along the walking line: its
# length divided by the number of treads. The going stored in the Stair's
# settings (API_StairType::treadDepth) is not used, since Archicad does not
# keep it in step with the modeled treads (a placed stair reads 0 or 1 there).
# Not given for a stair with a landing, whose walking line runs across the
# landing too; take its going from the geometry of its treads or risers
# (Get3DGeometryOfElements).
treadDepth: float | None = None
# Width of the stair flight.
flightWidth: float
# Total height of the stair. With a top link (set by relativeTopStory in
# CreateStairs and ModifyStairs) Archicad computes it from the story levels
# and topOffset. Archicad does not return the top link itself when the stair
# is read, so it is not reported here.
totalHeight: float
# The offset of the top of the stair from the level of the linked top story
# (for example -0.15); only used when the top is linked.
topOffset: float
# Whether the going lengths are locked.
treadDepthLocked: bool
# Whether the total height is locked.
totalHeightLocked: bool
# The Rules and Standards the stair is laid out by, as stored in the stair:
# every limit with whether it is applied.
rules: StairRules
# Whether the stair has an extra tread at its top, as CreateStairs and
# ModifyStairs take it.
extraTopTread: bool | None = None
# Whether the stair has an extra tread at its bottom, as CreateStairs and
# ModifyStairs take it.
extraBottomTread: bool | None = None
# Where the walking line runs on the flight, as CreateStairs and ModifyStairs
# take it.
walkingLinePosition: WalkingLinePosition | None = None
# The offset of the walking line from the side walkingLinePosition names, as
# CreateStairs and ModifyStairs take it.
walkingLineOffset: float | None = None
walkingLineSymbolPosition: StairWalkingLineSymbolPosition | None = None
# Whether the steps are numbered on their treads or on their risers, as
# CreateStairs and ModifyStairs take it.
numberingType: NumberingType | None = None
# Whether the flights and the landings share one finish setting.
uniformFinish: bool | None = None
# Whether the monolithic structures of the flights and the landings share one
# set of attributes.
uniformMonolithAttributes: bool | None = None
# Whether the flights and the landings share one draining setting.
uniformDrainings: bool | None = None
# The tread settings of the flights (Run) and of the landings (Landing), the
# stair's own per-part defaults its treads are built from
# (API_StairType::tread), as CreateStairs and ModifyStairs take them. The
# treads themselves are subelements (GetSubelementsOfHierarchicalElements).
treads: list[StairTreadPartSettings] | None = None
# The riser settings of the flights (Run) and of the landings (Landing), the
# stair's own per-part defaults its risers are built from
# (API_StairType::riser), as CreateStairs and ModifyStairs take them.
risers: list[StairRiserPartSettings] | None = None
# The headroom of the stair (Stair Settings > Headroom), as stored in the
# stair. Whether the headroom body is shown is a Model View Option, not part
# of the stair.
headroom: StairHeadroom | None = None
# Height of the stair base above the home story level.
level: float
# Absolute elevation of the stair base.
zCoordinate: float
# Whether the tread/riser finishes are modeled. If false only the stair
# structure (e.g. a monolith) is.
finishVisible: bool
# The baseline polyline the stair is placed along, in model coordinates, as
# given to CreateStairs.
baseLinePoints: list[Coordinate2D]
# The curved segments of the baseline, present only when it has any.
baseLineArcs: list[PolyArc] | None = None
# The segment type of each baseline edge, one item per edge (edge i runs from
# baseLinePoints[i] to baseLinePoints[i + 1]), as CreateStairs takes them.
baseLineEdges: list[StairBaselineEdgeDetails] | None = None
# The turn at each baseline point, one item per point, as CreateStairs takes
# them. A stair whose turns Archicad decided itself reports Landing at every
# point, also at the first and last.
baseLineVertices: list[StairBaselineVertexDetails] | None = None
# The stair's own coordinate system (API_StairType::basePlane), in model
# coordinates. Archicad keeps the baseline, the boundaries and the walking
# lines in it; the points reported here are already transformed by it (origin
# + x * xAxis + y * yAxis). A rotated stair has turned axes, a mirrored one
# axes of the other handedness (isMirrored).
basePlane: CoordinateSystem3D | None = None
# Whether the stair was mirrored, as its basePlane tells (xAxis and yAxis of
# the other handedness). Its left boundary is then on the right seen along the
# baseline, and its arcs bend the other way in its own coordinate system; the
# arcs reported are already turned back to model coordinates.
isMirrored: bool | None = None
baselinePosition: StairBaselinePositionOrUnknown | None = None
# The offset of the baseline from that edge (API_StairType::baselineOffset).
baselineOffset: float | None = None
# The walking direction along the baseline, as CreateStairs and ModifyStairs
# take it. Upward: baseLinePoints run from the bottom of the stair to its top.
# Inverse: they run from the top down. The walking lines and the boundaries
# run from the bottom up either way (seen on a stair drawn in Archicad 27);
# Archicad 29 creates and keeps stairs Upward even when Inverse is given.
inputDirection: InputDirection | None = None
# Read only. The left boundary line of the stair (the memo's
# stairBoundary[0]), seen along the baseline. Given when Archicad has
# calculated it. Archicad lays it out from the baseline and the flight width;
# the API cannot write it (see StairOutlineNotWritable).
leftBoundary: StairBoundary | None = None
# Read only. The right boundary line of the stair (the memo's
# stairBoundary[1]), seen along the baseline. Given when Archicad has
# calculated it. Archicad lays it out from the baseline and the flight width;
# the API cannot write it (see StairOutlineNotWritable).
rightBoundary: StairBoundary | None = None
# Read only. The walking line of the stair (the memo's stairWalkingLine), the
# one Archicad lays the goings out along. Given when Archicad has calculated
# it. Archicad lays it out from the baseline and the flight width; the API
# cannot write it (see StairOutlineNotWritable).
walkingLine: StairPolyline | None = None
# Read only. The custom walking line of the stair (the memo's
# stairCustomWalkLine). Archicad 29 fills it on every stair: on a stair whose
# walking line was not edited it is the same as walkingLine. The API cannot
# write it (see StairOutlineNotWritable).
customWalkingLine: StairPolyline | None = None
# Read only. The center walking line of the stair (the memo's
# stairCenterWalkLine). Archicad 29 fills it on every stair: on a stair with a
# centered walking line it is the same as walkingLine. Archicad lays it out
# from the baseline and the flight width; the API cannot write it (see
# StairOutlineNotWritable).
centerWalkingLine: StairPolyline | None = None
linkToSettings: LinkToSettings | None = None
uniformLeftRightSideSupports: StairUniformSideSupports | None = None
stairDisplayType: StairDisplayType | None = None
# The floor plan display of the stair's components (API_StairType::fpdLayout).
floorPlanLayout: StairLayout | None = None
# The reflected ceiling plan display of the stair's components
# (API_StairType::rcpdLayout).
reflectedCeilingPlanLayout: StairLayout | None = None
# Whether the structure of the stair is shown on the floor plan
# (API_StairType::structureVisibility).
structureVisibility: bool | None = None
# The symbol lines and fills of the stair's structure, one item per structure
# type and view (API_StairType::structSymbData).
structureSymbols: list[StructureSymbol] | None = None
# The symbol lines and fills of a monolithic structure, one item per view and
# visible or hidden part (API_StairType::monolithStructureSymbolData).
monolithStructureSymbols: list[MonolithStructureSymbol] | None = None
# Which structure symbols are shown on which of the stair's relevant stories,
# one item per view (API_StairType::structureVisibilityOnStories).
structureVisibilityOnStories: list[StructureVisibilityOnStory] | None = None
# The structure settings of the flights (Run) and of the landings (Landing),
# for each side (API_StairType::structure), in the order Run LeftSide,
# RightSide, UnderSide, then Landing LeftSide, RightSide, UnderSide. These are
# the settings Archicad builds the StairStructure subelements from.
structures: list[StairStructureDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
StairDisplayType ¶
Whether the floor plan display of the stair is set in the stair itself (Custom) or comes from the Model View Options (ByModelViewOptions) (API_StairType::stairDisplayType).
CUSTOM = 'Custom'
BY_MODEL_VIEW_OPTIONS = 'ByModelViewOptions'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairDisplayTypeInput ¶
Whether the floor plan display of the stair is set in the stair itself (Custom) or comes from the Model View Options (ByModelViewOptions). While it is ByModelViewOptions, Archicad may show the stair by the Model View Options instead of floorPlanLayout and reflectedCeilingPlanLayout; give Custom in the same call to use them.
CUSTOM = 'Custom'
BY_MODEL_VIEW_OPTIONS = 'ByModelViewOptions'
Import from multiconn_archicad.models.tapir.types.
StairDividedLandingWinderNumType ¶
The winder division method of a divided landing turn: Maximum (APIDWN_Max), Optimal (APIDWN_Optimal), Fixed number of goings (APIDWN_Fix) or Uniform (APIDWN_Uniform).
MAXIMUM = 'Maximum'
OPTIMAL = 'Optimal'
FIXED = 'Fixed'
UNIFORM = 'Uniform'
Import from multiconn_archicad.models.tapir.types.
StairDrainingSide ¶
LEFT = 'Left'
RIGHT = 'Right'
Import from multiconn_archicad.models.tapir.types.
StairDrainingSurfaceType ¶
Whether the draining is stepped or smooth.
STEPPED = 'Stepped'
SMOOTH = 'Smooth'
Import from multiconn_archicad.models.tapir.types.
StairGridType ¶
How a stair's symbol is drawn on a story (API_StairGridTypeID).
NOT_RELEVANT = 'NotRelevant'
WITH_SINGLE_BREAKLINE_FULL = 'WithSingleBreaklineFull'
NO_BREAKLINE_FULL = 'NoBreaklineFull'
BELOW_BREAKLINE = 'BelowBreakline'
ABOVE_BREAKLINE = 'AboveBreakline'
MIDDLE_BREAKLINE = 'MiddleBreakline'
MIDDLE_BREAKLINE_FULL = 'MiddleBreaklineFull'
NO_BREAK_MARK_HIDDEN = 'NoBreakMarkHidden'
ABOVE_BREAK_MARK_HIDDEN = 'AboveBreakMarkHidden'
BELOW_BREAK_MARK_HIDDEN = 'BelowBreakMarkHidden'
MULTISTORY2_D_ALL_VISIBLE = 'Multistory2DAllVisible'
MULTISTORY2_D_HIDDEN_VISIBLE = 'Multistory2DHiddenVisible'
MULTISTORY2_D_NONE_VISIBLE_HIDDEN = 'Multistory2DNoneVisibleHidden'
WITH_BREAK_MARK_ALL_VISIBLE = 'WithBreakMarkAllVisible'
WITH_BREAK_MARK_HIDDEN_VISIBLE = 'WithBreakMarkHiddenVisible'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairHeadroom ¶
The headroom of a Stair (API_StairHeadroomData, Stair Settings > Headroom): the clear space above the flights that Archicad checks against the elements above the stair. GetDetailsOfElements returns every field; CreateStairs and ModifyStairs write only the given ones.
method: StairHeadroomMethod | None = None
# The height of the headroom.
height: float | None = None
# The offset of the headroom from the left side of the stair.
leftOffset: float | None = None
# The offset of the headroom from the right side of the stair.
rightOffset: float | None = None
Import from multiconn_archicad.models.tapir.types.
StairHeadroomMethod ¶
How the headroom is generated: at right angle to the slope of the stair (APIHM_RightAngleToSlope) or vertically to it (APIHM_VerticallyToSlope). GetDetailsOfElements returns Unknown for a value it does not know; CreateStairs and ModifyStairs refuse Unknown.
RIGHT_ANGLE_TO_SLOPE = 'RightAngleToSlope'
VERTICALLY_TO_SLOPE = 'VerticallyToSlope'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairInnerWidthOffsetType ¶
The Riser Offsets from Corner of a winder turn: Minimum (APIIWO_Min) or Fixed (APIIWO_Fix).
MINIMUM = 'Minimum'
FIXED = 'Fixed'
Import from multiconn_archicad.models.tapir.types.
StairLayout ¶
The floor plan or reflected ceiling plan display of a Stair's components (API_StairLayoutData).
visibility: StoryVisibility
isAutoOnStoryVisibility: bool
storyVisibility: StairStoryVisibility
# The symbol shown on the stories above the stair's relevant stories.
gridTypeAbove: StairGridType
# The symbol shown on the top relevant story.
gridTypeTop: StairGridType
# The symbol shown on the middle relevant stories.
gridTypeMiddle: StairGridType
# The symbol shown on the bottom relevant story.
gridTypeBottom: StairGridType
# The symbol shown on the stories below the stair's relevant stories.
gridTypeBelow: StairGridType
showWalkingLine: bool
showNumbering: bool
showUpDownText: bool
showDescription: bool
showStructure: bool
breakLineAngleType: StairBreakLineAngleType
# The angle of the break line, used when breakLineAngleType is AngleToVertical
# or AngleToHorizontal.
breakLineAngle: float
# The number of goings the break line crosses, used when breakLineAngleType is
# NumberOfGoings.
breakLineAngleNumberOfGoings: int
# The gap of the break line.
breakLineDistance: float
breakLinePositionType: StairBreakLinePositionType
# The height of the upper break line, used when breakLinePositionType is
# CustomHeight.
upperBreakLineCustomPosition: float
# The height of the lower break line, used when breakLinePositionType is
# CustomHeight.
lowerBreakLineCustomPosition: float
# The riser of the upper break line, used when breakLinePositionType is
# AtNthRiser.
upperBreakLineNthRiserPosition: int
# The riser of the lower break line, used when breakLinePositionType is
# AtNthRiser.
lowerBreakLineNthRiserPosition: int
# Whether lineTypeId overrides the line types of the stair's components.
overrideLineType: bool
# The override line type; left out when not set.
lineTypeId: AttributeId | None = None
# Whether pen overrides the line pens of the stair's components.
overridePen: bool
pen: int
# Whether symbolFillId and its pens override the symbol fills of the stair's
# components.
overrideSymbolFill: bool
# The override symbol fill type; left out when not set.
symbolFillId: AttributeId | None = None
symbolFillPen: int
symbolFillBackgroundPen: int
Import from multiconn_archicad.models.tapir.types.
StairLayoutSettings ¶
The floor plan or reflected ceiling plan display settings of a Stair that CreateStairs and ModifyStairs write (API_StairLayoutData without its visibility and isAutoOnStoryVisibility, which storyVisibility sets): the shown stories and components, the symbol on each story, the break line and the line type, pen and fill overrides. Only the given fields are changed; GetDetailsOfElements reads them back in floorPlanLayout and reflectedCeilingPlanLayout, with the same keys.
storyVisibility: StairStoryVisibilityInput | None = None
# Whether the walking line is shown.
showWalkingLine: bool | None = None
# Whether the step numbering is shown.
showNumbering: bool | None = None
# Whether the up/down text (walking direction label) is shown.
showUpDownText: bool | None = None
# Whether the stair description is shown.
showDescription: bool | None = None
# Whether the stair structures are shown.
showStructure: bool | None = None
# The symbol shown on the stories above the stair's relevant stories (Unknown
# is refused).
gridTypeAbove: StairGridType | None = None
# The symbol shown on the top relevant story (Unknown is refused).
gridTypeTop: StairGridType | None = None
# The symbol shown on the middle relevant stories (Unknown is refused).
gridTypeMiddle: StairGridType | None = None
# The symbol shown on the bottom relevant story (Unknown is refused).
gridTypeBottom: StairGridType | None = None
# The symbol shown on the stories below the stair's relevant stories (Unknown
# is refused).
gridTypeBelow: StairGridType | None = None
breakLineAngleType: StairBreakLineAngleTypeInput | None = None
# The angle of the break line, used when breakLineAngleType is AngleToVertical
# or AngleToHorizontal.
breakLineAngle: float | None = None
# The number of goings the break line crosses, used when breakLineAngleType is
# NumberOfGoings.
breakLineAngleNumberOfGoings: int | None = None
# The gap of the break line.
breakLineDistance: float | None = None
breakLinePositionType: StairBreakLinePositionTypeInput | None = None
# The height of the upper break line, used when breakLinePositionType is
# CustomHeight.
upperBreakLineCustomPosition: float | None = None
# The height of the lower break line, used when breakLinePositionType is
# CustomHeight.
lowerBreakLineCustomPosition: float | None = None
# The riser of the upper break line, used when breakLinePositionType is
# AtNthRiser.
upperBreakLineNthRiserPosition: int | None = None
# The riser of the lower break line, used when breakLinePositionType is
# AtNthRiser.
lowerBreakLineNthRiserPosition: int | None = None
# Whether lineTypeId overrides the line types of the stair's components.
overrideLineType: bool | None = None
# The override line type: a line type of the project.
lineTypeId: AttributeId | None = None
# Whether pen overrides the line pens of the stair's components.
overridePen: bool | None = None
# The override line pen.
pen: int | None = None
# Whether symbolFillId and its pens override the symbol fills of the stair's
# components.
overrideSymbolFill: bool | None = None
# The override symbol fill: a fill type of the project.
symbolFillId: AttributeId | None = None
# The foreground pen of the override symbol fill.
symbolFillPen: int | None = None
# The background pen of the override symbol fill.
symbolFillBackgroundPen: int | None = None
Import from multiconn_archicad.models.tapir.types.
StairLineStructureType ¶
The structure: beam, cantilevered, stringer or monolithic.
BEAM = 'Beam'
CANTILEVERED = 'Cantilevered'
STRINGER = 'Stringer'
MONOLITH = 'Monolith'
Import from multiconn_archicad.models.tapir.types.
StairMonolithPartVisibility ¶
# The visible or the hidden part of the structure (Unknown is refused).
part: StairSymbolPart
# Whether the connection lines are shown.
connectionVisible: bool | None = None
# Whether the draining is shown.
drainingVisible: bool | None = None
# Whether the landing lines are shown.
landingLineVisible: bool | None = None
# Whether the going lines of the structure are shown.
structureGoingVisible: bool | None = None
# Whether the nosing lines of the structure are shown.
structureGoingNosingVisible: bool | None = None
Import from multiconn_archicad.models.tapir.types.
StairMonolithStructure ¶
The data of a monolithic stair structure (API_MonolithStairStructData). An attribute that is not set is left out.
# Whether the structure is thinned.
thinning: bool
# The thickness of the monolith.
monolithThickness: float
# The size of the horizontal bottom.
bottomOversize: float
# The building material of the structure.
buildingMaterialId: AttributeId | None = None
# The fill of the building material.
sideFillId: AttributeId | None = None
# Whether the surfaces of the structure are chained.
materialsChained: bool
# The top surface of the structure.
topMaterial: OverriddenMaterial
# The left side surface of the structure.
leftMaterial: OverriddenMaterial
# The right side surface of the structure.
rightMaterial: OverriddenMaterial
# The bottom surface of the structure.
bottomMaterial: OverriddenMaterial
# The surface material of the structure.
surfaceMaterialId: AttributeId | None = None
# The line type of the cut parts' 2D representation.
cutLineTypeId: AttributeId | None = None
# The pen of the cut parts' 2D representation.
cutLinePen: int
# The line type of the 2D representation.
lineTypeId: AttributeId | None = None
# The pen of the 2D representation.
pen: int
# The cut fill pen of the structure.
cutFillPen: OverriddenPen
# The cut fill background pen of the structure.
cutFillBackgroundPen: OverriddenPen
# Whether the drainings on the left and the right side are the same.
uniformDrainings: bool
# The drainings of the structure, on the left and on the right side.
drainings: list[StairStructureDraining]
Import from multiconn_archicad.models.tapir.types.
StairMonolithStructureSettings ¶
The data of a monolithic stair structure that CreateStairs and ModifyStairs write (API_MonolithStairStructData), with the keys GetDetailsOfElements reads in StairMonolithStructure. Only the given fields are changed. An attribute is given by the id of an existing attribute of its type; an unknown id is refused.
# Whether the structure is thinned.
thinning: bool | None = None
# The thickness of the monolith. Archicad 26 and 28 were seen to keep 0 here
# for a Smooth structure, whose thickness is the structure's thickness;
# ModifyStairs then reports it as not applied.
monolithThickness: float | None = None
# The size of the horizontal bottom. Archicad 26 and 28 were seen to keep 0
# here for a Smooth structure; ModifyStairs then reports it as not applied.
bottomOversize: float | None = None
# The building material of the structure.
buildingMaterialId: AttributeId | None = None
# The fill of the building material.
sideFillId: AttributeId | None = None
# Whether the surfaces of the structure are chained. While they are, Archicad
# was seen to give the top the surface of another side, so give false with a
# surface of one side.
materialsChained: bool | None = None
# The top surface of the structure.
topMaterial: OverriddenMaterial | None = None
# The left side surface of the structure.
leftMaterial: OverriddenMaterial | None = None
# The right side surface of the structure.
rightMaterial: OverriddenMaterial | None = None
# The bottom surface of the structure.
bottomMaterial: OverriddenMaterial | None = None
# The surface material of the structure.
surfaceMaterialId: AttributeId | None = None
# The line type of the cut parts' 2D representation.
cutLineTypeId: AttributeId | None = None
# The pen of the cut parts' 2D representation.
cutLinePen: int | None = None
# The line type of the 2D representation.
lineTypeId: AttributeId | None = None
# The pen of the 2D representation.
pen: int | None = None
# The cut fill pen of the structure.
cutFillPen: OverriddenPen | None = None
# The cut fill background pen of the structure.
cutFillBackgroundPen: OverriddenPen | None = None
# Whether the drainings on the left and the right side are the same.
uniformDrainings: bool | None = None
# The drainings of the structure to change, each named by its side. Only the
# given fields of the given sides are changed.
drainings: list[StairStructureDrainingSettings] | None = None
Import from multiconn_archicad.models.tapir.types.
StairMonolithStructureSymbolSettings ¶
The line types, pens and fills of one symbol of a Stair's monolithic structure that CreateStairs and ModifyStairs write (API_StairMonolithStructureSymbolData of API_StairType::monolithStructureSymbolData), for one view and visible or hidden part. Only the given fields are changed; GetDetailsOfElements reads them back in monolithStructureSymbols, with the same keys.
# The view the symbol is for (Unknown is refused).
view: StairSymbolView
# The visible or the hidden part of the structure (Unknown is refused).
part: StairSymbolPart
# Line type of the going lines: a line type of the project.
goingLineTypeId: AttributeId | None = None
# Pen of the going lines.
goingLinePen: int | None = None
# Line type of the nosing lines: a line type of the project.
goingNosingLineTypeId: AttributeId | None = None
# Pen of the nosing lines.
goingNosingLinePen: int | None = None
# Line type of the connection lines: a line type of the project.
connectionLineTypeId: AttributeId | None = None
# Pen of the connection lines. Archicad keeps it equal to
# connectionDetailLinePen: when the two are given different, both are read
# back as connectionDetailLinePen, and the difference is reported as an error,
# so give them the same pen.
connectionLinePen: int | None = None
# Line type of the connection lines on detail views: a line type of the
# project.
connectionDetailLineTypeId: AttributeId | None = None
# Pen of the connection lines on detail views. Archicad also uses it as
# connectionLinePen (see there).
connectionDetailLinePen: int | None = None
# Fill type of the draining: a fill type of the project.
drainingFillId: AttributeId | None = None
# Foreground pen of the draining fill.
drainingFillPen: int | None = None
# Background pen of the draining fill.
drainingFillBackgroundPen: int | None = None
# Line type of the contour lines: a line type of the project.
contourLineTypeId: AttributeId | None = None
# Pen of the contour lines.
contourLinePen: int | None = None
Import from multiconn_archicad.models.tapir.types.
StairOutlineNotWritable ¶
Not writable: a boundary or a walking line of a stair, as GetDetailsOfElements reads it (leftBoundary, rightBoundary, walkingLine, customWalkingLine, centerWalkingLine). Archicad lays them out itself from the baseline and the flight width, and the API keeps none given: ACAPI_Element_Change refuses a stair memo that holds them (APIERR_GENERAL, also when it is unchanged) or ignores them, ACAPI_Element_ChangeExt does not take stairs (APIERR_BADID), and ACAPI_Element_Create lays them out again, whatever the memo holds (checked on Archicad 29). The walking line stays in the middle of the flight: Archicad 29 keeps walkingLinePosition Center and walkingLineOffset half the flight width whatever is written. An item that gives one is refused with an error, before anything is changed. Change the baseline instead (CreateStairs, RecreateStairs), or flightWidth (ModifyStairs), which moves the boundaries and keeps the walking line in the middle.
Import from multiconn_archicad.models.tapir.types.
StairPolyline ¶
A polyline of a stair, such as its walking line, in model coordinates (the coordinates of baseLinePoints).
points: list[Coordinate2D]
# The curved segments of the polyline, with 0-based indices into points; empty
# when every segment is straight.
arcs: list[PolyArc]
Import from multiconn_archicad.models.tapir.types.
StairQuantities ¶
Quantities of a Stair element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# The front surface area of the stair, as Archicad calls it: on a straight
# flight its length times its width.
area: float
# Volume of the stair.
volume: float
# Height of the stair.
height: float
# Length of the walking line.
walkingLineLength: float
# Inclination angle of the stair, in radians.
gradient: float
# Number of risers.
numberOfRisers: int
# Number of treads.
numberOfTreads: int
Import from multiconn_archicad.models.tapir.types.
StairRecreationData ¶
# The stair to recreate.
elementId: ElementId
# The new baseline, as CreateStairs takes it and GetDetailsOfElements returns
# it. The old stair's baseline position and offset are kept.
baseLinePoints: list[Coordinate2D]
# Optional. The segment type of each edge of the new baseline
# (baseLinePoints.length - 1 items), as in CreateStairs. Give it, with
# baseLineVertices, to keep the landings of an L or U stair.
baseLineEdges: list[StairBaseLineEdge] | None = None
# Optional. The turn at each point of the new baseline (baseLinePoints.length
# items), as in CreateStairs.
baseLineVertices: list[StairBaseLineVertex] | None = None
# Optional. The curved edges of the new baseline, as in CreateStairs and as
# GetDetailsOfElements returns them (0-based indices, endIndex = begIndex +
# 1). Without it every edge of the new baseline is straight, also when the old
# stair was curved.
baseLineArcs: list[PolyArc] | None = None
# Not writable: the left boundary of the stair. An item with it is refused.
leftBoundary: StairOutlineNotWritable | None = None
# Not writable: the right boundary of the stair. An item with it is refused.
rightBoundary: StairOutlineNotWritable | None = None
# Not writable: the walking line of the stair. An item with it is refused.
walkingLine: StairOutlineNotWritable | None = None
# Not writable: the custom walking line of the stair. An item with it is
# refused.
customWalkingLine: StairOutlineNotWritable | None = None
# Not writable: the center walking line of the stair. An item with it is
# refused.
centerWalkingLine: StairOutlineNotWritable | None = None
Import from multiconn_archicad.models.tapir.types.
StairRiserData ¶
The riser settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::riser[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
role: Role
# Whether the risers are present.
visible: bool | None = None
# The thickness of the risers.
thickness: float | None = None
# The offset of the risers.
offset: float | None = None
crossSection: CrossSection | None = None
# The angle of a slanted riser in radians.
angle: float | None = None
position: Position | None = None
Import from multiconn_archicad.models.tapir.types.
StairRiserDetails ¶
A riser of a stair (API_StairRiserType), as GetSubelementsOfHierarchicalElements lists them in stairRisers. Its GDL parameters are read by GetGDLParametersOfElements.
# Whether the riser is on a flight (Run) or a landing.
role: Role
# Whether the riser is shown.
visible: bool
riserPosition: StairRiserPosition
# The cross section of the riser.
crossSection: CrossSection
# The slant angle of a slanted riser (API_StairRiserType::angle).
angle: float
# The offset of the riser (API_StairRiserType::offset).
offset: float
# The thickness of the riser.
thickness: float
# The stair the riser belongs to.
stairId: ElementId
Import from multiconn_archicad.models.tapir.types.
StairRiserPartSettings ¶
The riser settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::riser[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# Whether the risers are present.
visible: bool | None = None
# The thickness of the risers.
thickness: float | None = None
# The offset of the risers.
offset: float | None = None
# The cross section of the risers.
crossSection: CrossSection | None = None
# The angle of a slanted riser in radians.
angle: float | None = None
# Whether the risers stand on the treads or behind them.
position: Position | None = None
Import from multiconn_archicad.models.tapir.types.
StairRiserPosition ¶
Whether the riser stands on the tread below or behind it.
ON_TREAD = 'OnTread'
BEHIND_TREAD = 'BehindTread'
Import from multiconn_archicad.models.tapir.types.
StairRiserUpdate ¶
The riser settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::riser[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# Whether the risers are present.
visible: bool | None = None
# The thickness of the risers.
thickness: float | None = None
# The offset of the risers.
offset: float | None = None
# The cross section of the risers.
crossSection: CrossSection | None = None
# The angle of a slanted riser in radians.
angle: float | None = None
# Whether the risers stand on the treads or behind them.
position: Position | None = None
Import from multiconn_archicad.models.tapir.types.
StairRules ¶
The Rules and Standards of a Stair (API_StairRulesData): each limit as a value and whether it is applied (the check box of the rule). Archicad lays the steps out within the applied limits, so a stair can get another riser count and going than the ones given. GetDetailsOfElements and SolveStairBaseline return every field; CreateStairs and ModifyStairs write only the given ones.
# Minimum riser height.
riserHeightMinValue: float | None = None
# Whether the minimum riser height is applied.
riserHeightMinApplied: bool | None = None
# Maximum riser height.
riserHeightMaxValue: float | None = None
# Whether the maximum riser height is applied.
riserHeightMaxApplied: bool | None = None
# Minimum going length.
treadDepthMinValue: float | None = None
# Whether the minimum going length is applied.
treadDepthMinApplied: bool | None = None
# Maximum going length.
treadDepthMaxValue: float | None = None
# Whether the maximum going length is applied.
treadDepthMaxApplied: bool | None = None
# Minimum of 2 risers + going (2R+G).
ruleMinValue: float | None = None
# Whether the minimum 2R+G is applied.
ruleMinApplied: bool | None = None
# Maximum of 2 risers + going (2R+G).
ruleMaxValue: float | None = None
# Whether the maximum 2R+G is applied.
ruleMaxApplied: bool | None = None
# Minimum of riser height + going (R+G).
riserPlusGoingMinValue: float | None = None
# Whether the minimum R+G is applied.
riserPlusGoingMinApplied: bool | None = None
# Maximum of riser height + going (R+G).
riserPlusGoingMaxValue: float | None = None
# Whether the maximum R+G is applied.
riserPlusGoingMaxApplied: bool | None = None
# Minimum ratio of riser height to going (R/G).
riserGoingRatioMinValue: float | None = None
# Whether the minimum R/G is applied.
riserGoingRatioMinApplied: bool | None = None
# Maximum ratio of riser height to going (R/G).
riserGoingRatioMaxValue: float | None = None
# Whether the maximum R/G is applied.
riserGoingRatioMaxApplied: bool | None = None
# Minimum stair pitch, as Archicad stores it.
stairPitchMinValue: float | None = None
# Whether the minimum stair pitch is applied.
stairPitchMinApplied: bool | None = None
# Maximum stair pitch, as Archicad stores it.
stairPitchMaxValue: float | None = None
# Whether the maximum stair pitch is applied.
stairPitchMaxApplied: bool | None = None
# Minimum length of an automatic landing.
landingLengthMinValue: float | None = None
# Whether the minimum automatic landing length is applied.
landingLengthMinApplied: bool | None = None
# Minimum offset of an automatic landing
# (API_StairRulesData::walkingLineOffsetMinValue).
walkingLineOffsetMinValue: float | None = None
# Whether the minimum automatic landing offset is applied.
walkingLineOffsetMinApplied: bool | None = None
# Minimum winder width.
winderTurnOffsetMinValue: float | None = None
# Whether the minimum winder width is applied.
winderTurnOffsetMinApplied: bool | None = None
Import from multiconn_archicad.models.tapir.types.
StairSideStructure ¶
The data of a side (stringer) stair structure (API_SideStairStructData).
# The width of the stringer.
width: float
# The height of the stringer above its tread.
heightAboveTread: float
heightMeasure: StairSideStructureHeightMeasure
Import from multiconn_archicad.models.tapir.types.
StairSideStructureHeightMeasure ¶
How the height above the tread is measured: perpendicular to the stair or vertically.
PERPENDICULAR = 'Perpendicular'
VERTICAL = 'Vertical'
Import from multiconn_archicad.models.tapir.types.
StairSideStructureSettings ¶
The data of a side (stringer) stair structure that CreateStairs and ModifyStairs write (API_SideStairStructData), with the keys GetDetailsOfElements reads in StairSideStructure. Only the given fields are changed.
# The width of the stringer.
width: float | None = None
# The height of the stringer above its tread.
heightAboveTread: float | None = None
heightMeasure: StairSideStructureHeightMeasure | None = None
Import from multiconn_archicad.models.tapir.types.
StairStoryStructureType ¶
BEAM = 'Beam'
CANTILEVERED = 'Cantilevered'
STRINGER = 'Stringer'
MONOLITH = 'Monolith'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStoryStructureVisibility ¶
part: StairSymbolPart
structure: StairStoryStructureType
visible: bool
Import from multiconn_archicad.models.tapir.types.
StairStoryVisibility ¶
The stories the stair is shown on.
HOME_STORY_ONLY = 'HomeStoryOnly'
HOME_AND_ONE_STORY_UP = 'HomeAndOneStoryUp'
HOME_AND_ONE_STORY_DOWN = 'HomeAndOneStoryDown'
HOME_AND_ONE_STORY_UP_AND_DOWN = 'HomeAndOneStoryUpAndDown'
ONE_STORY_UP = 'OneStoryUp'
ONE_STORY_DOWN = 'OneStoryDown'
ALL_STORIES = 'AllStories'
ALL_RELEVANT_STORIES = 'AllRelevantStories'
ALL_RELEVANT_AND_ONE_STORY_UP = 'AllRelevantAndOneStoryUp'
ALL_RELEVANT_AND_ONE_STORY_DOWN = 'AllRelevantAndOneStoryDown'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStoryVisibilityInput ¶
The stories the stair is shown on. The AllRelevant... values let Archicad work out the relevant stories from the stair's height (isAutoOnStoryVisibility true); the others set the shown stories (visibility) to match and isAutoOnStoryVisibility false.
HOME_STORY_ONLY = 'HomeStoryOnly'
HOME_AND_ONE_STORY_UP = 'HomeAndOneStoryUp'
HOME_AND_ONE_STORY_DOWN = 'HomeAndOneStoryDown'
HOME_AND_ONE_STORY_UP_AND_DOWN = 'HomeAndOneStoryUpAndDown'
ONE_STORY_UP = 'OneStoryUp'
ONE_STORY_DOWN = 'OneStoryDown'
ALL_STORIES = 'AllStories'
ALL_RELEVANT_STORIES = 'AllRelevantStories'
ALL_RELEVANT_AND_ONE_STORY_UP = 'AllRelevantAndOneStoryUp'
ALL_RELEVANT_AND_ONE_STORY_DOWN = 'AllRelevantAndOneStoryDown'
Import from multiconn_archicad.models.tapir.types.
StairStoryVisibilitySettings ¶
relevantStories: StairVisibilityStoryRange
# Whether the lines of each structure are shown, per visible or hidden part.
# Only the given items are changed.
structures: list[StairStructureLineVisibility] | None = None
# Whether the fills of each structure type are shown, per visible or hidden
# part. Only the given items are changed.
fills: list[StairStructureFillVisibility] | None = None
# Which parts of a monolithic structure are shown, per visible or hidden part.
# Only the given fields are changed.
monolithParts: list[StairMonolithPartVisibility] | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureBottomTypeOrUnknown ¶
The bottom of the structure: stepped along with the steps, flat under the steps, or smooth.
STEPPED = 'Stepped'
FLAT = 'Flat'
SMOOTH = 'Smooth'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStructureData ¶
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
side: Side
# Whether the structure is present.
visible: bool | None = None
structureType: StairStructureType | None = None
bottomType: BottomType | None = None
# The thickness of the structure.
thickness: float | None = None
# The horizontal thickness of the structure.
horizontalThickness: float | None = None
# The monolith data of the structure: only for a Monolith structure (its
# structureType, given in the same item or already set), refused otherwise.
monolith: StairMonolithStructureSettings | None = None
# The stringer data of the structure: only for a Side structure (its
# structureType, given in the same item or already set), refused otherwise.
sideStair: StairSideStructureSettings | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureDetails ¶
The settings of one structure of a stair: of one part (Run or Landing) and side in the stair's structures, or of a StairStructure subelement, whose values are the ones Archicad solved for that part (API_StairStructureType). monolith is given for a Monolith structure and sideStair for a Side structure; beam supported and cantilevered structures have no extra data.
role: StairStructureRoleOrUnknown
side: StairStructureSideOrUnknown
# Whether the structure is modeled.
visible: bool
structureType: StairStructureTypeOrUnknown
bottomType: StairStructureBottomTypeOrUnknown
# The thickness of the structure.
thickness: float
# The horizontal thickness of the structure.
horizontalThickness: float
monolith: StairMonolithStructure | None = None
sideStair: StairSideStructure | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureDraining ¶
The draining of one side of a monolithic stair structure (API_StairStructureDrainingData).
side: StairDrainingSide
# Whether the draining is modeled.
enabled: bool
# The width of the draining.
width: float
# The offset of the draining from the boundary.
offset: float
# The horizontal depth of the draining.
horizontalDepth: float
# The vertical depth of the draining.
verticalDepth: float
# The surface of the draining.
material: OverriddenMaterial
surfaceType: StairDrainingSurfaceType
Import from multiconn_archicad.models.tapir.types.
StairStructureDrainingSettings ¶
The draining of one side of a monolithic stair structure that CreateStairs and ModifyStairs write (API_StairStructureDrainingData). Only the given fields are changed.
# The side of the draining.
side: StairDrainingSide
# Whether the draining is modeled.
enabled: bool | None = None
# The width of the draining.
width: float | None = None
# The offset of the draining from the boundary.
offset: float | None = None
# The horizontal depth of the draining.
horizontalDepth: float | None = None
# The vertical depth of the draining.
verticalDepth: float | None = None
# The surface of the draining.
material: OverriddenMaterial | None = None
surfaceType: StairDrainingSurfaceType | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureFillVisibility ¶
# The visible or the hidden part of the structure (Unknown is refused).
part: StairSymbolPart
structureType: StairSymbolStructureType
# Whether its fill is shown.
visible: bool
Import from multiconn_archicad.models.tapir.types.
StairStructureLineVisibility ¶
# The visible or the hidden part of the structure (Unknown is refused).
part: StairSymbolPart
structure: StairLineStructureType
# Whether its lines are shown.
visible: bool
Import from multiconn_archicad.models.tapir.types.
StairStructureRoleOrUnknown ¶
Whether the structure belongs to the flights (Run) or to the landings (Landing).
RUN = 'Run'
LANDING = 'Landing'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStructureSideOrUnknown ¶
Where the structure supports the steps: from the left, from the right or from under.
LEFT_SIDE = 'LeftSide'
RIGHT_SIDE = 'RightSide'
UNDER_SIDE = 'UnderSide'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStructureSymbolSettings ¶
The line types, pens and fills of one structure symbol of a Stair that CreateStairs and ModifyStairs write (API_StairStructureSymbolData of API_StairType::structSymbData), for one structure type and view. Only the given fields are changed; GetDetailsOfElements reads them back in structureSymbols, with the same keys.
structureType: StairSymbolStructureType
# The view the symbol is for (Unknown is refused).
view: StairSymbolView
# Line type of the visible structure lines: a line type of the project.
visibleLineTypeId: AttributeId | None = None
# Pen of the visible structure lines.
visibleLinePen: int | None = None
# Line type of the hidden structure lines: a line type of the project.
hiddenLineTypeId: AttributeId | None = None
# Pen of the hidden structure lines.
hiddenLinePen: int | None = None
# Fill type of the visible structure: a fill type of the project.
visibleFillId: AttributeId | None = None
# Foreground pen of the visible structure fill.
visibleFillPen: int | None = None
# Background pen of the visible structure fill.
visibleFillBackgroundPen: int | None = None
# Fill type of the hidden structure: a fill type of the project.
hiddenFillId: AttributeId | None = None
# Foreground pen of the hidden structure fill.
hiddenFillPen: int | None = None
# Background pen of the hidden structure fill.
hiddenFillBackgroundPen: int | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureSymbolType ¶
UNDER_STRUCTURE = 'UnderStructure'
STRINGER = 'Stringer'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStructureType ¶
The type of the structure: side stringers, monolithic, beam supported or cantilevered.
SIDE = 'Side'
MONOLITH = 'Monolith'
BEAM_SUPPORT = 'BeamSupport'
CANTILEVERED_SUPPORT = 'CantileveredSupport'
Import from multiconn_archicad.models.tapir.types.
StairStructureTypeOrUnknown ¶
The type of the structure: side stringers, monolithic, beam supported or cantilevered.
SIDE = 'Side'
MONOLITH = 'Monolith'
BEAM_SUPPORT = 'BeamSupport'
CANTILEVERED_SUPPORT = 'CantileveredSupport'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairStructureUpdate ¶
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# The side of the structure.
side: Side
# Whether the structure is present.
visible: bool | None = None
# The type of the structure: side stringers, monolithic, beam supported or
# cantilevered.
structureType: StairStructureType | None = None
# The shape of the underside of the structure.
bottomType: BottomType | None = None
# The thickness of the structure.
thickness: float | None = None
# The horizontal thickness of the structure.
horizontalThickness: float | None = None
# The monolith data of the structure: only for a Monolith structure (its
# structureType, given in the same item or already set), refused otherwise.
monolith: StairMonolithStructureSettings | None = None
# The stringer data of the structure: only for a Side structure (its
# structureType, given in the same item or already set), refused otherwise.
sideStair: StairSideStructureSettings | None = None
Import from multiconn_archicad.models.tapir.types.
StairStructureVisibilitySettings ¶
Which structure symbols of a Stair are shown on which of its relevant stories, for one view, that CreateStairs and ModifyStairs write (API_StairStructureComponentSettingsVisibility of API_StairType::structureVisibilityOnStories). Only the given fields of the given items are changed; GetDetailsOfElements reads them back in structureVisibilityOnStories, with the same keys.
# The view the visibility is for (Unknown is refused).
view: StairSymbolView
# Whether one structure symbol representation is used on every story
# (Archicad's uniform symbol representation) instead of the settings per story
# range.
uniformSymbolRepresentationEnabled: bool | None = None
# The visibility per story range relative to the stair's relevant stories
# (API_StairStructSymbRelevantStoriesID). Only the given story ranges are
# changed.
stories: list[StairStoryVisibilitySettings] | None = None
Import from multiconn_archicad.models.tapir.types.
StairSymbolPart ¶
Whether a stair structure symbol setting is for the visible or the hidden part of the structure (API_StairStructSymbPartID).
VISIBLE = 'Visible'
HIDDEN = 'Hidden'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairSymbolStructureType ¶
The structure the symbol is for: the structure under the stair or the stringers.
UNDER_STRUCTURE = 'UnderStructure'
STRINGER = 'Stringer'
Import from multiconn_archicad.models.tapir.types.
StairSymbolView ¶
The view a stair structure symbol setting belongs to (API_StairStructSymbViewID).
FLOOR_PLAN = 'FloorPlan'
CEILING_PLAN = 'CeilingPlan'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StairTreadData ¶
The tread settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::tread[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# Whether the treads are present.
visible: bool | None = None
# The thickness of the treads.
thickness: float | None = None
# The offset of the treads.
offset: float | None = None
nosingType: NosingType | None = None
# The length of the nosing.
nosingValue: float | None = None
# The slant of the nosing in radians.
nosingSlant: float | None = None
Import from multiconn_archicad.models.tapir.types.
StairTreadDetails ¶
A tread of a stair (API_StairTreadType), as GetSubelementsOfHierarchicalElements lists them in stairTreads. Its GDL parameters are read by GetGDLParametersOfElements.
# Whether the tread is on a flight (Run) or a landing.
role: Role
# Whether the tread is shown.
visible: bool
# Whether the tread has its own settings instead of those of the stair.
isCustom: bool
# How the nosing is defined: by a value (nosingValue) or by slanting the riser
# (nosingSlant).
nosingType: NosingType
# The nosing length.
nosingValue: float
# The slant of the nosing.
nosingSlant: float
# The offset of the tread (API_StairTreadType::offset).
offset: float
# The thickness of the tread.
thickness: float
# The vertical offset of the tread (API_StairTreadType::zOffset).
zOffset: float
# The stair the tread belongs to.
stairId: ElementId
Import from multiconn_archicad.models.tapir.types.
StairTreadPartSettings ¶
The tread settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::tread[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# Whether the treads are present.
visible: bool | None = None
# The thickness of the treads.
thickness: float | None = None
# The offset of the treads.
offset: float | None = None
# Whether the nosing is given by its length (nosingValue) or by the slant of
# the riser (nosingSlant).
nosingType: NosingType | None = None
# The length of the nosing.
nosingValue: float | None = None
# The slant of the nosing in radians.
nosingSlant: float | None = None
Import from multiconn_archicad.models.tapir.types.
StairTreadUpdate ¶
The tread settings of the flights (Run) or of the landings (Landing) of a stair (API_StairType::tread[role]). CreateStairs and ModifyStairs change only the given fields of the given part.
# The part of the stair: the flights (Run) or the landings (Landing).
role: Role
# Whether the treads are present.
visible: bool | None = None
# The thickness of the treads.
thickness: float | None = None
# The offset of the treads.
offset: float | None = None
# Whether the nosing is given by its length (nosingValue) or by the slant of
# the riser (nosingSlant).
nosingType: NosingType | None = None
# The length of the nosing.
nosingValue: float | None = None
# The slant of the nosing in radians.
nosingSlant: float | None = None
Import from multiconn_archicad.models.tapir.types.
StairUniformSideSupports ¶
Whether the left and right side supports of the flights (run) and of the landings (landing) share their settings (API_StairType::uniformLeftRightSideSupports).
run: bool
landing: bool
Import from multiconn_archicad.models.tapir.types.
StairVisibilityStoryRange ¶
The story range: every story, the stories below the relevant stories, the bottom, middle and top relevant story, or the stories above them.
ALL_STORIES = 'AllStories'
BELOW_RELEVANT = 'BelowRelevant'
BOTTOM_RELEVANT = 'BottomRelevant'
MIDDLE_RELEVANT = 'MiddleRelevant'
TOP_RELEVANT = 'TopRelevant'
ABOVE_RELEVANT = 'AboveRelevant'
Import from multiconn_archicad.models.tapir.types.
StairWalkingLineSymbolPosition ¶
Where the symbol of the walking line is placed (API_StairType::walkLineSymbPos), as CreateStairs and ModifyStairs take it.
AUTO = 'Auto'
CENTER = 'Center'
CUSTOM = 'Custom'
Import from multiconn_archicad.models.tapir.types.
StairWinderNumType ¶
The Number of Winders of a winder turn: Minimum (APIWN_Min) or Fixed (APIWN_Fix).
MINIMUM = 'Minimum'
FIXED = 'Fixed'
Import from multiconn_archicad.models.tapir.types.
StairWinderType ¶
The type of the winders of a winder turn: AuxiliaryWalkingLine (APIWT_DINTurn), TwoPoints (APIWT_NZETurn), SinglePoint (APIWT_SIPTurn) or PrincipalLines (APIWT_AGNTurn).
AUXILIARY_WALKING_LINE = 'AuxiliaryWalkingLine'
TWO_POINTS = 'TwoPoints'
SINGLE_POINT = 'SinglePoint'
PRINCIPAL_LINES = 'PrincipalLines'
Import from multiconn_archicad.models.tapir.types.
StairWithDetails ¶
elementId: ElementId
# The width of the flights.
flightWidth: float | None = None
# The height of the stair relative to its bottom.
totalHeight: float | None = None
# The number of steps (risers).
stepNum: int | None = None
# The height of each riser.
riserHeight: float | None = None
# The length of each going. Pinned as a fixed going in the stair rules, as
# CreateStairs pins it: the going's minimum and maximum are both set to it and
# applied, and the standard's combined riser/going rules (2R+G, R+G, R/G) are
# no longer applied to this stair, so Archicad lays the steps out with this
# going (#2525).
treadDepth: float | None = None
# Links the top of the stair to a story, relative to its home story (1 is the
# story above); 0 unlinks it. With a top link Archicad computes totalHeight
# from the story levels and topOffset, so a totalHeight given in the same call
# is not kept. Archicad does not return the link when the stair is read, so
# GetDetailsOfElements does not report it; read the resulting totalHeight back
# instead.
relativeTopStory: int | None = None
# The offset of the top of the stair from the level of the linked top story
# (for example -0.15 for 15 cm below it). Only used when the stair's top is
# linked (relativeTopStory not 0).
topOffset: float | None = None
# The Rules and Standards of the stair: only the given limits and applied
# flags are written, the others are kept. Archicad lays the steps out within
# the applied limits, so read the riser count and going back with
# GetDetailsOfElements. In CreateStairs and ModifyStairs a treadDepth pins the
# going limits and releases the 2R+G, R+G and R/G rules first; the rules given
# here are written after that. An unknown key is refused, and ModifyStairs
# reads the given rules back and reports one Archicad did not apply as an
# error.
rules: StairRules | None = None
# The headroom of the stair (Stair Settings > Headroom): only the given fields
# are written, the others are kept. An unknown key is refused, and
# ModifyStairs reads the given fields back and reports one Archicad did not
# apply as an error.
headroom: StairHeadroom | None = None
# Whether the going lengths are locked.
treadDepthLocked: bool | None = None
# Whether the total height is locked.
totalHeightLocked: bool | None = None
# Whether the tread and riser finishes of the stair are shown; false models
# only the structure (e.g. a monolith). The treads and risers of each part can
# also be switched on and off with treads and risers.
finishVisible: bool | None = None
# Whether the stair has an extra tread at its top.
extraTopTread: bool | None = None
# Whether the stair has an extra tread at its bottom.
extraBottomTread: bool | None = None
# Where the walking line runs on the flight: offset from the left or the right
# side (walkingLineOffset), centered, or placed by Archicad (Auto).
# CreateStairs and ModifyStairs read it back and fail the item when Archicad
# did not keep it (CreateStairs then deletes the new stair).
walkingLinePosition: WalkingLinePosition | None = None
# The offset of the walking line from the side walkingLinePosition names (Left
# or Right); not used with Center and Auto. While the stair's walking line is
# Left or Right, CreateStairs and ModifyStairs read it back and fail the item
# when Archicad did not keep it (CreateStairs then deletes the new stair).
walkingLineOffset: float | None = None
# Where the symbol of the walking line is placed
# (API_StairType::walkLineSymbPos): by Archicad (Auto), centered, or where it
# was placed by hand (Custom).
walkingLineSymbolPosition: StairWalkingLineSymbolPosition | None = None
# Whether the steps are numbered on their treads or on their risers.
numberingType: NumberingType | None = None
# The walking direction along the baseline: upward from its first point, or
# inverse (downward). CreateStairs and ModifyStairs read it back and fail the
# item when Archicad did not keep it (CreateStairs then deletes the new
# stair).
inputDirection: InputDirection | None = None
# Whether the flights and the landings share one finish setting.
uniformFinish: bool | None = None
# Whether the monolithic structures of the flights and the landings share one
# set of attributes.
uniformMonolithAttributes: bool | None = None
# Whether the flights and the landings share one draining setting.
uniformDrainings: bool | None = None
# Whether the structure of the stair is shown.
structureVisibility: bool | None = None
# Whether the floor plan display of the stair is set in the stair itself
# (Custom) or comes from the Model View Options (ByModelViewOptions). While it
# is ByModelViewOptions, Archicad may show the stair by the Model View Options
# instead of floorPlanLayout and reflectedCeilingPlanLayout; give Custom in
# the same call to use them.
stairDisplayType: StairDisplayTypeInput | None = None
# The floor plan display of the stair: the stories it is shown on, its visible
# components, the symbol on each story, the break line and the line type, pen
# and fill overrides. Independent of reflectedCeilingPlanLayout.
floorPlanLayout: StairLayoutSettings | None = None
# The reflected ceiling plan display of the stair: the stories it is shown on,
# its visible components, the symbol on each story, the break line and the
# line type, pen and fill overrides. Independent of floorPlanLayout.
reflectedCeilingPlanLayout: StairLayoutSettings | None = None
# The line types, pens and fills of the structure symbol, per structure type
# (UnderStructure, Stringer) and view (FloorPlan, CeilingPlan), with the keys
# GetDetailsOfElements returns. Only the given fields of the given items are
# changed; ModifyStairs reads them back and reports one Archicad did not apply
# as an error.
structureSymbols: list[StairStructureSymbolSettings] | None = None
# The line types, pens and fills of the monolithic structure's symbol, per
# view (FloorPlan, CeilingPlan) and part (Visible, Hidden), with the keys
# GetDetailsOfElements returns. Only the given fields of the given items are
# changed; ModifyStairs reads them back and reports one Archicad did not apply
# as an error.
monolithStructureSymbols: list[StairMonolithStructureSymbolSettings] | None = None
# Which structure symbols are shown on which of the stair's relevant stories,
# per view (FloorPlan, CeilingPlan), with the keys GetDetailsOfElements
# returns: whether one representation is used on every story, and per story
# range the visible structures, fills and monolithic parts. Only the given
# fields of the given items are changed; ModifyStairs reads them back and
# reports one Archicad did not apply as an error.
structureVisibilityOnStories: list[StairStructureVisibilitySettings] | None = None
# The tread settings of the flights (Run) and of the landings (Landing). Only
# the given fields of the given parts are changed. GetDetailsOfElements reads
# them back in treads.
treads: list[StairTreadUpdate] | None = None
# The riser settings of the flights (Run) and of the landings (Landing). Only
# the given fields of the given parts are changed. GetDetailsOfElements reads
# them back in risers.
risers: list[StairRiserUpdate] | None = None
# The structure settings of the flights (Run) and of the landings (Landing),
# for each side: the left and right side structures and the structure under
# the stair, with the keys GetDetailsOfElements reads in structures. Only the
# given fields of the given parts and sides are changed. ModifyStairs reads
# the given monolith and sideStair data back and reports a value Archicad did
# not apply as an error.
structures: list[StairStructureUpdate] | None = None
# Not writable: the left boundary of the stair. An item with it is refused.
leftBoundary: StairOutlineNotWritable | None = None
# Not writable: the right boundary of the stair. An item with it is refused.
rightBoundary: StairOutlineNotWritable | None = None
# Not writable: the walking line of the stair. An item with it is refused.
walkingLine: StairOutlineNotWritable | None = None
# Not writable: the custom walking line of the stair. An item with it is
# refused.
customWalkingLine: StairOutlineNotWritable | None = None
# Not writable: the center walking line of the stair. An item with it is
# refused.
centerWalkingLine: StairOutlineNotWritable | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
StandardLengthDimensionFormat ¶
unit: LengthType
# Number of decimals displayed.
decimals: int
# The extra accuracy (small 5) setting of the displayed values, 0 when off, as
# Archicad stores it.
showSmall5: int
# Rounding of fractional inches.
roundInch: int
# Whether a zero whole part is displayed.
showZeroWhole: bool
# Whether zero inches are displayed, as Archicad stores it.
showZeroInch: int
# Whether trailing zero decimals are hidden.
hideZeroDecimals: bool
Import from multiconn_archicad.models.tapir.types.
Status ¶
ACTUAL = 'Actual'
ISSUED = 'Issued'
Import from multiconn_archicad.models.tapir.types.
StoredGDLParameter ¶
A GDL parameter as it is stored with a marker or a Favorite, read without a parameter interface (so without isLocked and possibleValues).
# The name of the parameter.
name: str
# The display name of the parameter.
displayName: str
# The index of the parameter.
index: int
# The type of the parameter.
type: str
# The 1st dimension of array (in case of array value).
dimension1: int | None = None
# The 2nd dimension of array (in case of array value).
dimension2: int | None = None
# The value of the parameter.
value: Any | None = None
# The value description for numeric parameter.
valueDescription: str | None = None
# Per-item text labels for an array-type parameter, one per array element in
# dim1xdim2 order. Only present when the library part defines them.
itemDescriptions: list[str] | None = None
# The flags of the parameter.
flags: list[Flag]
Import from multiconn_archicad.models.tapir.commands.
StoreModulDataParameters ¶
# The module data to create or to overwrite. Prefix the names with the name of
# your tool (for example 'my-tool/settings') so different scripts do not
# overwrite each other's data.
modulData: list[ModuleDataEntry]
Import from multiconn_archicad.models.tapir.commands.
StoreModulDataResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
StoreViewSettingsResult ¶
StoreViewSettingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Story ¶
relevantStories: RelevantStories
# Whether the lines of each structure are shown, per visible or hidden part.
structures: list[StairStoryStructureVisibility]
# Whether the fills of each structure type are shown, per visible or hidden
# part.
fills: list[Fill]
# Which parts of a monolithic structure are shown, per visible or hidden part.
monolithParts: list[MonolithPart]
Import from multiconn_archicad.models.tapir.types.
StoryHandleAppearance ¶
Options for displaying story lines on the Section/Elevation.
NONE = 'None'
DISPLAY_ONLY = 'DisplayOnly'
ALL = 'All'
Import from multiconn_archicad.models.tapir.types.
StoryInsertionPosition ¶
Whether the new story is inserted directly above or directly below the story of storyIndex.
ABOVE = 'Above'
BELOW = 'Below'
Import from multiconn_archicad.models.tapir.types.
StoryParameters ¶
Represents all parameters of a single project story, including its unique identifiers. Used in API responses.
# The story index.
index: int
# Unique ID of the story.
floorId: int
# Story level lines should appear on sections and elevations.
dispOnSections: bool
# The story level.
level: float
# Story height, calculated as the level of the story above minus this story's
# level. The topmost story gets its height from the virtual story that
# Archicad keeps above it in the story settings; only an Archicad that did not
# report that virtual story would leave the top story without a height.
height: float | None = None
# The name of the story.
name: str
# The IFC GlobalId of the story, i.e. of the IfcBuildingStorey it is exported
# as (the same identifier the IFC Project Manager shows). Available from
# Archicad 28; older versions omit it.
ifcId: str | None = None
Import from multiconn_archicad.models.tapir.types.
StoryRangeType ¶
Optional. Which stories of the source are placed: all of them, or the single reference story. Ignored when a node for the same file already exists.
ALL_STORIES = 'AllStories'
SINGLE_STORY = 'SingleStory'
Import from multiconn_archicad.models.tapir.types.
StorySettings ¶
Contains the configurable settings for creating or modifying a story. Used as input in API requests.
# The story index. Optional. The stories are matched to the existing ones
# positionally, from the bottom up. Giving the index of any of them pins the
# numbering of the whole list, so stories below the existing structure -
# basements with negative indices - can be requested as well. When given for
# more than one story, the indices must be consecutive.
index: int | None = None
# Story level lines should appear on sections and elevations.
dispOnSections: bool
# The story level.
level: float
# The name of the story.
name: str
Import from multiconn_archicad.models.tapir.types.
StoryVisibility ¶
Per-story visibility settings (API_StoryVisibility): the home story, plus how many stories above/below also show this element.
# Show on the home story.
showOnHome: bool | None = None
# Show on all stories above the home story.
showAllAbove: bool | None = None
# Show on all stories below the home story.
showAllBelow: bool | None = None
# Show this many stories above the home story (ignored when showAllAbove is
# true).
showRelAbove: int | None = None
# Show this many stories below the home story (ignored when showAllBelow is
# true).
showRelBelow: int | None = None
Import from multiconn_archicad.models.tapir.types.
StructureDisplay ¶
Structure display mode. One of EntireStructure, CoreOnly, WithoutFinishes, StructureOnly.
ENTIRE_STRUCTURE = 'EntireStructure'
CORE_ONLY = 'CoreOnly'
WITHOUT_FINISHES = 'WithoutFinishes'
STRUCTURE_ONLY = 'StructureOnly'
Import from multiconn_archicad.models.tapir.types.
StructureSymbol ¶
structureType: StairStructureSymbolType
view: StairSymbolView
# Line type of the visible structure lines; left out when not set.
visibleLineTypeId: AttributeId | None = None
visibleLinePen: int
# Line type of the hidden structure lines; left out when not set.
hiddenLineTypeId: AttributeId | None = None
hiddenLinePen: int
# Fill type of the visible structure; left out when not set.
visibleFillId: AttributeId | None = None
visibleFillPen: int
visibleFillBackgroundPen: int
# Fill type of the hidden structure; left out when not set.
hiddenFillId: AttributeId | None = None
hiddenFillPen: int
hiddenFillBackgroundPen: int
Import from multiconn_archicad.models.tapir.types.
StructureType ¶
UNDER_STRUCTURE = 'UnderStructure'
STRINGER = 'Stringer'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
StructureVisibilityOnStory ¶
view: StairSymbolView
uniformSymbolRepresentationEnabled: bool
# One item per story range relative to the stair's relevant stories
# (API_StairStructSymbRelevantStoriesID).
stories: list[Story]
Import from multiconn_archicad.models.tapir.types.
Style3DDetails ¶
# The name of the 3D style, unique within the project.
name: str
# The id of the 3D rendering engine (API_3DStyle.engineId).
engineId: int | None = None
# The 3D model type: Block, Wireframe, Hidden Line or Shading, as the integer
# value of API_3DModelTypeID.
model3D: int | None = None
# Transparency in shading.
transparency: bool | None = None
# The model is shown in monochrome colors.
monochromeEnabled: bool | None = None
# The surface color of the monochrome model.
monochromeSurfaceColor: ColorRGB | None = None
# The contour color of the monochrome model.
monochromeContourColor: ColorRGB | None = None
# The background is the same as in the rendering settings.
backgroundAsInRendering: bool | None = None
# The sky and the ground background colors are chained.
chainBackgroundColors: bool | None = None
# The sky color of the background (API_3DStyle.bkgSkyColor).
backgroundSkyColor: ColorRGB | None = None
# The (ground) color of the background (API_3DStyle.backGroundRGB).
backgroundColor: ColorRGB | None = None
# The contours in shaded mode, as the integer value of API_ShadingContoursID.
shadingContours: int | None = None
# The vectorial sun shadow options, as the integer value of
# API_VectorShadowID.
vectorialSunShadow: int | None = None
# Vectorial 3D hatching is on.
vectorialHatching: bool | None = None
# The thickness of the contours, in pixels.
contourThickness: int | None = None
# The thickness of the silhouettes, in pixels.
silhouetteThickness: int | None = None
# The thickness of the vectorial hatching, in pixels.
vectorialHatchingThickness: int | None = None
# The thickness of the shadow contours, in pixels.
shadowContourThickness: int | None = None
# The intensity of the cast shadows, in percent.
castShadowPercent: int | None = None
# The intensity of the shading, in percent.
shadingPercent: int | None = None
# The elevation of the shadow plane, used by the one level vectorial sun
# shadow options.
shadowElevation: float | None = None
# Only the 3D hotspots are shown.
show3DHotSpotsOnly: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SubElement ¶
elementType: ElementType
# The library part of the sub-element. Absent when it has none or it could not
# be read.
libPart: LibPartDetails | None = None
# The GDL parameters of the sub-element.
parameters: list[StoredGDLParameter]
# The kinds of the sub-element: the API_SubElementType flags set on it,
# without their APISubElement_ prefix.
subTypes: list[SubType]
Import from multiconn_archicad.models.tapir.types.
Subelement ¶
Subelements grouped by type.
# A list of elements.
cWallSegments: list[ElementIdArrayItem] | None = None
# A list of elements.
cWallFrames: list[ElementIdArrayItem] | None = None
# A list of elements.
cWallPanels: list[ElementIdArrayItem] | None = None
# A list of elements.
cWallJunctions: list[ElementIdArrayItem] | None = None
# A list of elements.
cWallAccessories: list[ElementIdArrayItem] | None = None
# A list of elements.
stairRisers: list[ElementIdArrayItem] | None = None
# A list of elements.
stairTreads: list[ElementIdArrayItem] | None = None
# A list of elements.
stairStructures: list[ElementIdArrayItem] | None = None
# A list of elements.
railingNodes: list[ElementIdArrayItem] | None = None
# A list of elements.
railingSegments: list[ElementIdArrayItem] | None = None
# A list of elements.
railingPosts: list[ElementIdArrayItem] | None = None
# A list of elements.
railingRailEnds: list[ElementIdArrayItem] | None = None
# A list of elements.
railingRailConnections: list[ElementIdArrayItem] | None = None
# A list of elements.
railingHandrailEnds: list[ElementIdArrayItem] | None = None
# A list of elements.
railingHandrailConnections: list[ElementIdArrayItem] | None = None
# A list of elements.
railingToprailEnds: list[ElementIdArrayItem] | None = None
# A list of elements.
railingToprailConnections: list[ElementIdArrayItem] | None = None
# A list of elements.
railingRails: list[ElementIdArrayItem] | None = None
# A list of elements.
railingToprails: list[ElementIdArrayItem] | None = None
# A list of elements.
railingHandrails: list[ElementIdArrayItem] | None = None
# A list of elements.
railingPatterns: list[ElementIdArrayItem] | None = None
# A list of elements.
railingInnerPosts: list[ElementIdArrayItem] | None = None
# A list of elements.
railingPanels: list[ElementIdArrayItem] | None = None
# A list of elements.
railingBalusterSets: list[ElementIdArrayItem] | None = None
# A list of elements.
railingBalusters: list[ElementIdArrayItem] | None = None
# A list of elements.
beamSegments: list[ElementIdArrayItem] | None = None
# A list of elements.
columnSegments: list[ElementIdArrayItem] | None = None
# The subelements of an external hierarchical element (for example an MEP
# element or an element of another add-on). Available from Archicad 28.
externalSubelements: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.types.
SubsetData ¶
name: str
parentNavigatorItemId: NavigatorItemId | None = None
ownPrefix: str | None = None
customNumber: str | None = None
numberingStyle: NumberingStyle | None = None
startAt: int | None = None
continueNumbering: bool | None = None
useUpperPrefix: bool | None = None
includeToIDSequence: bool | None = None
customNumbering: bool | None = None
addOwnPrefix: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SubType ¶
MAIN_MARKER = 'MainMarker'
SH_MARKER = 'SHMarker'
COMMON_MARKER = 'CommonMarker'
CW_FRAME_CLASS = 'CWFrameClass'
CW_PANEL_CLASS = 'CWPanelClass'
CW_JUNCTION = 'CWJunction'
CW_ACCESSORY = 'CWAccessory'
STAIR_RISER = 'StairRiser'
STAIR_TREAD = 'StairTread'
STAIR_STRUCTURE = 'StairStructure'
STAIR_FPD_MARKER = 'StairFPDMarker'
STAIR_RCPD_MARKER = 'StairRCPDMarker'
RAILING_NODE = 'RailingNode'
RAILING_SEGMENT = 'RailingSegment'
RAILING_POST = 'RailingPost'
RAILING_INNER_POST = 'RailingInnerPost'
RAILING_RAIL = 'RailingRail'
RAILING_HANDRAIL = 'RailingHandrail'
RAILING_TOPRAIL = 'RailingToprail'
RAILING_PANEL = 'RailingPanel'
RAILING_BALUSTER = 'RailingBaluster'
RAILING_PATTERN = 'RailingPattern'
RAILING_BALUSTER_SET = 'RailingBalusterSet'
RAILING_RAIL_END = 'RailingRailEnd'
RAILING_HANDRAIL_END = 'RailingHandrailEnd'
RAILING_TOPRAIL_END = 'RailingToprailEnd'
RAILING_RAIL_CONNECTION = 'RailingRailConnection'
RAILING_HANDRAIL_CONNECTION = 'RailingHandrailConnection'
RAILING_TOPRAIL_CONNECTION = 'RailingToprailConnection'
RAILING_FINISH = 'RailingFinish'
CW_TAG = 'CWTag'
NO_ELEM = 'NoElem'
NO_PARAMS = 'NoParams'
Import from multiconn_archicad.models.tapir.types.
SuccessfulExecutionResult ¶
The result of a successful execution.
success: Literal[True] = True
Import from multiconn_archicad.models.tapir.types.
SuccessfulExecutionResultWithWarnings ¶
The result of a successful execution, with the given values Archicad did not apply.
success: Literal[True] = True
# Present only when a given value was read back unchanged or changed after the
# write: each item names the field, the value sent, the value read back and,
# where known, the condition the value needs. The other given values were
# applied.
warnings: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
SunDateTime ¶
The project's date and time (Options > Project Preferences > Location Settings), which Archicad calculates the sun position from.
year: int
month: int
day: int
hour: int
minute: int
second: int
# True when the time is daylight saving (summer) time.
daylightSaving: bool
Import from multiconn_archicad.models.tapir.types.
SunDateTimeUpdate ¶
The fields of the date and time to use instead of the project's; the fields left out keep the project's values.
year: int | None = None
month: int | None = None
day: int | None = None
hour: int | None = None
minute: int | None = None
second: int | None = None
# True when the time is daylight saving (summer) time.
daylightSaving: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SunPosition ¶
The position of the sun as Archicad calculates it from a date, time and location, in degrees.
# The sun azimuth in degrees: the direction of the sun in the project's XY
# plane, as the 3D Projection Settings show it.
azimuth: float
# The sun altitude in degrees: the elevation of the sun above the horizon, as
# the 3D Projection Settings show it.
altitude: float
Import from multiconn_archicad.models.tapir.types.
SunPositionOption ¶
Angles: the sun is at sunAzimuth and sunAltitude. DateAndTime: Archicad calculates the sun from the project location and the date and time given here.
ANGLES = 'Angles'
DATE_AND_TIME = 'DateAndTime'
Import from multiconn_archicad.models.tapir.types.
SupersetGuid ¶
The id of another option set that has all of the functionality of this one. When it is given, this set is filled but not shown in the Model View Options dialog.
# A Globally Unique Identifier (or Universally Unique Identifier) in its
# string representation as defined in RFC 4122.
guid: UUID
Import from multiconn_archicad.models.tapir.types.
SurfaceAttribute ¶
A surface attribute.
attributeId: AttributeId
index: int
name: str
materialType: SurfaceType | None = None
ambientReflection: float | None = None
diffuseReflection: float | None = None
specularReflection: float | None = None
transparency: float | None = None
shine: float | None = None
transparencyAttenuation: float | None = None
emissionAttenuation: float | None = None
surfaceColor: ColorRGB | None = None
specularColor: ColorRGB | None = None
emissionColor: ColorRGB | None = None
fillId: AttributeIdArrayItem | None = None
texture: Texture | None = None
Import from multiconn_archicad.models.tapir.types.
SurfaceAttributeField ¶
MATERIAL_TYPE = 'materialType'
AMBIENT_REFLECTION = 'ambientReflection'
DIFFUSE_REFLECTION = 'diffuseReflection'
SPECULAR_REFLECTION = 'specularReflection'
TRANSPARENCY = 'transparency'
SHINE = 'shine'
TRANSPARENCY_ATTENUATION = 'transparencyAttenuation'
EMISSION_ATTENUATION = 'emissionAttenuation'
SURFACE_COLOR = 'surfaceColor'
SPECULAR_COLOR = 'specularColor'
EMISSION_COLOR = 'emissionColor'
FILL_ID = 'fillId'
TEXTURE = 'texture'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
SurfaceData ¶
Data to create a surface.
# Indentifier of the existing Surface to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing surface to overwrite, ignored if overwriteExisting is
# false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing surface with the given
# name will be overwritten. It must not be empty.
name: str
materialType: SurfaceType | None = None
# Ambient percentage [0..100].
ambientReflection: float | None = None
# Diffuse percentage [0..100].
diffuseReflection: float | None = None
# Specular percentage [0..100].
specularReflection: float | None = None
# Transparency percentage [0..100].
transparency: float | None = None
# The shininess factor multiplied by 100 [0..10000].
shine: float | None = None
# Transparency attenuation multiplied by 100 [0..10000].
transparencyAttenuation: float | None = None
# Emission attenuation multiplied by 100 [0..10000].
emissionAttenuation: float | None = None
surfaceColor: ColorRGB | None = None
specularColor: ColorRGB | None = None
emissionColor: ColorRGB | None = None
fillId: AttributeIdArrayItem | None = None
texture: Texture | None = None
Import from multiconn_archicad.models.tapir.types.
SurfaceType ¶
The type of a surface material.
GENERAL = 'General'
SIMPLE = 'Simple'
MATTE = 'Matte'
METAL = 'Metal'
PLASTIC = 'Plastic'
GLASS = 'Glass'
GLOWING = 'Glowing'
CONSTANT = 'Constant'
Import from multiconn_archicad.models.tapir.types.
SurveyPoint ¶
position: SurveyPointPosition
# The survey point's position in the project's coordinate system (Options >
# Project Preferences > Location Settings > Survey Point > Position). The map
# coordinates of the same point are in 'position'.
positionInProject: Coordinate3D
geoReferencingParameters: GeoReferencingParameters
# Whether the survey point is shown in the project.
isVisible: bool | None = None
# Whether the survey point is locked, so it cannot be moved. Available from
# Archicad 26; left out on older versions.
isLocked: bool | None = None
Import from multiconn_archicad.models.tapir.types.
SurveyPointPosition ¶
# Location along the easting of the coordinate system of the target map
# coordinate reference system.
eastings: float
# Location along the northing of the coordinate system of the target map
# coordinate reference system.
northings: float
# Orthogonal height relative to the vertical datum specified.
elevation: float
Import from multiconn_archicad.models.tapir.types.
SurveyPointPositionUpdate ¶
# Location along the easting of the coordinate system of the target map
# coordinate reference system.
eastings: float | None = None
# Location along the northing of the coordinate system of the target map
# coordinate reference system.
northings: float | None = None
# Orthogonal height relative to the vertical datum specified.
elevation: float | None = None
Import from multiconn_archicad.models.tapir.types.
SurveyPointUpdate ¶
position: SurveyPointPositionUpdate | None = None
# The survey point's position in the project's coordinate system (Options >
# Project Preferences > Location Settings > Survey Point > Position). Moves
# the survey point in the project without changing its map coordinates in
# 'position'.
positionInProject: Coordinate3D | None = None
geoReferencingParameters: GeoReferencingParametersUpdate | None = None
# Shows (true) or hides (false) the survey point. Omitted means unchanged.
isVisible: bool | None = None
# Locks (true) or unlocks (false) the survey point, so it cannot or can be
# moved. Omitted means unchanged. Available from Archicad 26; the command
# fails on older versions when it is given.
isLocked: bool | None = None
Import from multiconn_archicad.models.tapir.types.
T¶
Import from multiconn_archicad.models.tapir.types.
TapirCommandDescription ¶
The description and schemas of a Tapir command.
# The name of the command.
name: str
# The name of the command group, e.g. "Application Commands".
group: str
# The Tapir version the command was introduced in, in the form of "1.1.1".
version: str
# The description of the command, as in the command reference.
description: str
Import from multiconn_archicad.models.tapir.commands.
TeamworkReceiveResult ¶
TeamworkReceiveResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
TeamworkSendResult ¶
TeamworkSendResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
TeamworkUser ¶
userId: float
# The login name of the user.
userName: str
fullName: str
# Whether the user has joined the project.
isConnected: bool
Import from multiconn_archicad.models.tapir.types.
TextAlignment ¶
Matches texts whose alignment equals this.
LEFT = 'Left'
CENTER = 'Center'
RIGHT = 'Right'
JUSTIFIED = 'Justified'
Import from multiconn_archicad.models.tapir.types.
TextBoxAnchor ¶
Anchor point of the text box.
LEFT_TOP = 'LeftTop'
MIDDLE_TOP = 'MiddleTop'
RIGHT_TOP = 'RightTop'
LEFT_MIDDLE = 'LeftMiddle'
MIDDLE_MIDDLE = 'MiddleMiddle'
RIGHT_MIDDLE = 'RightMiddle'
LEFT_BOTTOM = 'LeftBottom'
MIDDLE_BOTTOM = 'MiddleBottom'
RIGHT_BOTTOM = 'RightBottom'
Import from multiconn_archicad.models.tapir.types.
TextContentChange ¶
# A Text element or a Label of the Text class.
elementId: ElementId
# The position in the content where the replaced range starts.
from_: int
# The number of characters to replace; 0 inserts the content at 'from'. The
# range may not reach over a line end into another paragraph.
range: int
# The new content of the range; an empty string deletes the range. It must not
# contain line ends.
content: str
Import from multiconn_archicad.models.tapir.types.
TextData ¶
The parameters of the new Text element.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The placement position of the text. The z value is used to determine the
# floor when floorIndex is omitted.
coordinate: Coordinate3D
# The text content. Newlines create multiple lines; Windows-style CRLF (and
# bare CR) line endings are normalized to LF. Ignored if 'runs' is also given.
text: str | None = None
# Multi-style text content: an array of styled runs, concatenated in order.
# Takes precedence over 'text' if both are given.
runs: list[TextRunDetails] | None = None
# The character height in millimeters. Optional; defaults to the Text tool
# default. Equivalent to style.height.
height: float | None = None
# Optional pen attribute index. Equivalent to style.penIndex.
pen: int | None = None
# Optional rotation angle in radians. Equivalent to style.angle.
angle: float | None = None
# Optional; equivalent to style.justification.
justification: Justification | None = None
# height/pen/angle/justification above take precedence over the same fields
# here if both are given.
style: TextStyleSettableDetails | None = None
# Optional box width in mm (paper size, like height). Turns word wrap on: the
# text wraps within this width ('Wrap Text' in the Text settings, nonBreaking
# false). When omitted the text is auto-width (word wrap off) and grows with
# its content. Read back by GetDetailsOfElements with the same key (width),
# and as style.boxWidth with style.nonBreaking false.
width: float | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Optional layer attribute index. If omitted, the Text tool default layer is
# used.
layerIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
TextDataWithRuns ¶
Requires runs.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The placement position of the text. The z value is used to determine the
# floor when floorIndex is omitted.
coordinate: Coordinate3D
# The text content. Newlines create multiple lines; Windows-style CRLF (and
# bare CR) line endings are normalized to LF. Ignored if 'runs' is also given.
text: str | None = None
# The character height in millimeters. Optional; defaults to the Text tool
# default. Equivalent to style.height.
height: float | None = None
# Optional pen attribute index. Equivalent to style.penIndex.
pen: int | None = None
# Optional rotation angle in radians. Equivalent to style.angle.
angle: float | None = None
# Optional; equivalent to style.justification.
justification: Justification | None = None
# height/pen/angle/justification above take precedence over the same fields
# here if both are given.
style: TextStyleSettableDetails | None = None
# Optional box width in mm (paper size, like height). Turns word wrap on: the
# text wraps within this width ('Wrap Text' in the Text settings, nonBreaking
# false). When omitted the text is auto-width (word wrap off) and grows with
# its content. Read back by GetDetailsOfElements with the same key (width),
# and as style.boxWidth with style.nonBreaking false.
width: float | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Optional layer attribute index. If omitted, the Text tool default layer is
# used.
layerIndex: int | None = None
# Multi-style text content: an array of styled runs, concatenated in order.
# Takes precedence over 'text' if both are given.
runs: list[TextRunDetails]
Import from multiconn_archicad.models.tapir.types.
TextDataWithText ¶
Requires text.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# The placement position of the text. The z value is used to determine the
# floor when floorIndex is omitted.
coordinate: Coordinate3D
# Multi-style text content: an array of styled runs, concatenated in order.
# Takes precedence over 'text' if both are given.
runs: list[TextRunDetails] | None = None
# The character height in millimeters. Optional; defaults to the Text tool
# default. Equivalent to style.height.
height: float | None = None
# Optional pen attribute index. Equivalent to style.penIndex.
pen: int | None = None
# Optional rotation angle in radians. Equivalent to style.angle.
angle: float | None = None
# Optional; equivalent to style.justification.
justification: Justification | None = None
# height/pen/angle/justification above take precedence over the same fields
# here if both are given.
style: TextStyleSettableDetails | None = None
# Optional box width in mm (paper size, like height). Turns word wrap on: the
# text wraps within this width ('Wrap Text' in the Text settings, nonBreaking
# false). When omitted the text is auto-width (word wrap off) and grows with
# its content. Read back by GetDetailsOfElements with the same key (width),
# and as style.boxWidth with style.nonBreaking false.
width: float | None = None
# Optional floor index. If omitted, derived from the coordinate's z value.
floorIndex: int | None = None
# Optional layer attribute index. If omitted, the Text tool default layer is
# used.
layerIndex: int | None = None
# The text content. Newlines create multiple lines; Windows-style CRLF (and
# bare CR) line endings are normalized to LF. Ignored if 'runs' is also given.
text: str
Import from multiconn_archicad.models.tapir.types.
TextDetails ¶
# The text content. Newlines separate the lines.
text: str
# The text content as read with Archicad's autotext flag turned off, so an
# autotext shows its key (e.g. '<PROJECTNUMBER>') instead of its value.
# Present only when the flag could be switched for the read.
rawText: str | None = None
# The placement position of the text. ModifyTexts takes it back with the same
# key (and as coordinate with a z).
position: Coordinate2D
# The rotation angle in radians (same as style.angle).
angle: float
# The character height in millimeters (same as style.height).
height: float
# The pen attribute index (same as style.penIndex).
pen: int
# Same as style.justification.
justification: Justification
# The level of the text's floor.
zCoordinate: float
# The wrap width in mm, as CreateTexts and ModifyTexts write it with the same
# key: the box width (style.boxWidth) while word wrap is on (style.nonBreaking
# false), 0 for an auto-width text.
width: float | None = None
# The flat fields above are the subset SetDetailsOfElements takes back.
style: TextStyleDetails
# Read-only: number of paragraphs in the memo (Tapir's own Create/Modify
# commands write one paragraph per line of the content).
paragraphCount: int
# Read-only: the lines as Archicad lays the text out, the breaks of a wrapped
# text (style.nonBreaking false) included, each without the line-end
# characters that end it. Present when Archicad reports the line starts.
lines: list[str] | None = None
# Read-only: the offset in 'text' of the first character of each entry of
# 'lines'.
lineStarts: list[int] | None = None
# The styled runs of the content, present whenever the content has paragraphs
# (always for content Tapir created); one entry per run, a single run too, as
# a run may carry a pen, font, face or size of its own. Concatenating the
# runs' text in order gives the full content.
runs: list[TextRunDetails] | None = None
Import from multiconn_archicad.models.tapir.types.
TextFrameShape ¶
Text frame shape. Standalone Text elements only support Rectangle. Available from Archicad 28; earlier versions ignore it and read it back as Rectangle.
RECTANGLE = 'Rectangle'
CIRCLE = 'Circle'
ROUNDED_RECTANGLE = 'RoundedRectangle'
PILL = 'Pill'
Import from multiconn_archicad.models.tapir.types.
TextMeasurement ¶
# The length of the longest line.
length: float
# The zero-based index of the longest line (the first of them on a tie).
longestLineIndex: int
# The length of every line, in order. An empty line is 0.
lineLengths: list[float]
# The ratio of the font's capital size to its typographic size. Absent when
# Archicad does not return it for the font.
capitalSizeFactor: float | None = None
Import from multiconn_archicad.models.tapir.types.
TextMeasurementByFontIndex ¶
Requires fontIndex.
# The text to measure. Newlines separate lines, each measured on its own;
# Windows-style CRLF (and bare CR) line endings are treated as LF.
text: str
# Name of the font as Archicad's font list carries it (GetDetailsOfElements
# reports it in fontName), which is not always the operating system's font
# name; GetFontsByName tells whether a name is found. Resolved to the font's
# index (exact match first, then case-insensitive, then Archicad's font search
# as GetFontsByName does, so a family name such as 'Arial' finds 'Arial
# Western'); the text fails when no loaded font has the name. Takes precedence
# over fontIndex if both are given. One of fontName and fontIndex is required.
fontName: str | None = None
# The character height in millimetres, as a Text's height.
height: float
# Bold style. Optional, default false.
bold: bool | None = None
# Italic style. Optional, default false.
italic: bool | None = None
# Underline style. Optional, default false.
underline: bool | None = None
# The slant angle of the characters in radians; pi/2 (the default) is upright
# text.
slant: float | None = None
# When true, Archicad applies the drawing scale correction and the lengths are
# model distances at the current drawing scale; when false (the default), they
# are lengths on paper in millimetres.
inModelUnits: bool | None = None
# The index of the font, as GetDetailsOfElements and GetFontsByName report it
# in fontIndex. One of fontName and fontIndex is required.
fontIndex: int
Import from multiconn_archicad.models.tapir.types.
TextMeasurementByFontName ¶
Requires fontName.
# The text to measure. Newlines separate lines, each measured on its own;
# Windows-style CRLF (and bare CR) line endings are treated as LF.
text: str
# The index of the font, as GetDetailsOfElements and GetFontsByName report it
# in fontIndex. One of fontName and fontIndex is required.
fontIndex: int | None = None
# The character height in millimetres, as a Text's height.
height: float
# Bold style. Optional, default false.
bold: bool | None = None
# Italic style. Optional, default false.
italic: bool | None = None
# Underline style. Optional, default false.
underline: bool | None = None
# The slant angle of the characters in radians; pi/2 (the default) is upright
# text.
slant: float | None = None
# When true, Archicad applies the drawing scale correction and the lengths are
# model distances at the current drawing scale; when false (the default), they
# are lengths on paper in millimetres.
inModelUnits: bool | None = None
# Name of the font as Archicad's font list carries it (GetDetailsOfElements
# reports it in fontName), which is not always the operating system's font
# name; GetFontsByName tells whether a name is found. Resolved to the font's
# index (exact match first, then case-insensitive, then Archicad's font search
# as GetFontsByName does, so a family name such as 'Arial' finds 'Arial
# Western'); the text fails when no loaded font has the name. Takes precedence
# over fontIndex if both are given. One of fontName and fontIndex is required.
fontName: str
Import from multiconn_archicad.models.tapir.types.
TextMeasurementData ¶
# The text to measure. Newlines separate lines, each measured on its own;
# Windows-style CRLF (and bare CR) line endings are treated as LF.
text: str
# The index of the font, as GetDetailsOfElements and GetFontsByName report it
# in fontIndex. One of fontName and fontIndex is required.
fontIndex: int | None = None
# Name of the font as Archicad's font list carries it (GetDetailsOfElements
# reports it in fontName), which is not always the operating system's font
# name; GetFontsByName tells whether a name is found. Resolved to the font's
# index (exact match first, then case-insensitive, then Archicad's font search
# as GetFontsByName does, so a family name such as 'Arial' finds 'Arial
# Western'); the text fails when no loaded font has the name. Takes precedence
# over fontIndex if both are given. One of fontName and fontIndex is required.
fontName: str | None = None
# The character height in millimetres, as a Text's height.
height: float
# Bold style. Optional, default false.
bold: bool | None = None
# Italic style. Optional, default false.
italic: bool | None = None
# Underline style. Optional, default false.
underline: bool | None = None
# The slant angle of the characters in radians; pi/2 (the default) is upright
# text.
slant: float | None = None
# When true, Archicad applies the drawing scale correction and the lengths are
# model distances at the current drawing scale; when false (the default), they
# are lengths on paper in millimetres.
inModelUnits: bool | None = None
Import from multiconn_archicad.models.tapir.types.
TextRunDetails ¶
One monostyle run of text (API_RunType). Concatenating 'text' across all runs in order gives the full content; a newline character starts a new line.
# The run's text content. Windows-style CRLF (and bare CR) line endings are
# normalized to LF.
text: str
# Pen attribute index. Optional; defaults to the style's penIndex.
penIndex: int | None = None
# Font attribute index. Optional; defaults to the style's fontIndex.
fontIndex: int | None = None
# Name of the font for this run only, resolved like the style's fontName (and
# taking precedence over the run's fontIndex). Optional; defaults to the
# style's font. Read back as the name of the font the run's fontIndex refers
# to, absent when no loaded font has that index.
fontName: str | None = None
# Optional; defaults to the style's bold.
bold: bool | None = None
# Optional; defaults to the style's italic.
italic: bool | None = None
# Optional; defaults to the style's underline.
underline: bool | None = None
# Character height in mm for this run only. Optional; defaults to the style's
# height.
heightOverride: float | None = None
# Optional; defaults to the style's effectStrikeout.
effectStrikeout: bool | None = None
# Optional; defaults to the style's effectSuperscript.
effectSuperscript: bool | None = None
# Optional; defaults to the style's effectSubscript.
effectSubscript: bool | None = None
# Optional; defaults to the style's effectProtected.
effectProtected: bool | None = None
Import from multiconn_archicad.models.tapir.types.
TextSettings ¶
Settings for modifying a Text element or a text-type Label. For Labels only the text field is applied. Setting text replaces the whole content (any per-run formatting of the old content is dropped) and switches the element to automatic width, matching the behavior of CreateTexts/CreateLabels.
# The new text content. Newlines create multiple lines; Windows-style CRLF
# (and bare CR) line endings are normalized to LF.
text: str | None = None
# The placement position of the text. Only applied to Text elements.
position: Coordinate2D | None = None
# The rotation angle in radians. Only applied to Text elements.
angle: float | None = None
# The character height in millimeters. Only applied to Text elements. A
# multistyle Text takes its height from the per-run sizes of its content, so
# applying it rebuilds the content (one paragraph per line) with the new
# height on every run (the runs' own pens/fonts/faces are kept) and switches
# the element to automatic width, as setting text does. Refused when the
# content holds an autotext run; give the new content explicitly via text
# then, or use ModifyTexts.
height: float | None = None
# Only applied to Text elements.
justification: Justification | None = None
Import from multiconn_archicad.models.tapir.types.
TextStyleDetails ¶
Full readable style state of a Text or text-class Label: every field of TextStyleSettableDetails plus the read-only ones (lineCount, boxWidth, boxHeight, and nonBreaking for a standalone Text).
# Pen attribute index.
penIndex: int | None = None
# Font attribute index.
fontIndex: int | None = None
# The name of the font fontIndex refers to, as the Font attributes carry it.
# Absent when no loaded font has that index.
fontName: str | None = None
bold: bool | None = None
italic: bool | None = None
underline: bool | None = None
justification: Justification | None = None
# Character height in mm.
height: float | None = None
# Line spacing factor, between -10.0 and -1.0.
spacing: float | None = None
# Rotation angle in radians.
angle: float | None = None
effectStrikeout: bool | None = None
effectSuperscript: bool | None = None
effectSubscript: bool | None = None
# Protected text (autotext reference).
effectProtected: bool | None = None
# Width scale of the text, between 0.75 and 10.0.
widthFactor: float | None = None
# Character spacing scale, between 0.75 and 10.0.
charSpaceFactor: float | None = None
# Size does not depend on output scale.
fixedSize: bool | None = None
# Draw the frame of the text block.
usedContour: bool | None = None
# Draw a solid fill behind the text block.
usedFill: bool | None = None
# Pen index of the text block's frame.
contourPenIndex: int | None = None
# Pen index of the text block's background fill.
fillPenIndex: int | None = None
anchor: TextBoxAnchor | None = None
# The rotation angle does not change when the element is rotated.
fixedAngle: bool | None = None
# Offset of the frame/background fill from the text bounding box, in mm.
contourOffset: float | None = None
# The text should always be readable (flips when viewed upside down).
flipEnabled: bool | None = None
textFrameShape: TextFrameShape | None = None
# Use fixedWidth/fixedHeight instead of fitting the frame to the text box.
# Available from Archicad 28; earlier versions ignore it and read it back as
# false.
textFrameSizeFixed: bool | None = None
# Frame width in mm, when textFrameSizeFixed is true. Between 1 and 1000.
# Available from Archicad 28; earlier versions ignore it and read it back as
# 0.
textFrameFixedWidth: float | None = None
# Frame height in mm, when textFrameSizeFixed is true (ignored for Circle,
# which uses fixedWidth as diameter). Between 1 and 1000. Available from
# Archicad 28; earlier versions ignore it and read it back as 0.
textFrameFixedHeight: float | None = None
# Read-only: number of text lines (API_TextType::nLine).
lineCount: int | None = None
# Read-only here: horizontal size of the text box in mm. For a Text with word
# wrap on (nonBreaking false) the wrap width, as CreateTexts and ModifyTexts
# set it with width; otherwise auto-computed by Archicad from the content.
boxWidth: float | None = None
# Read-only: vertical size of the text box in mm, auto-computed by Archicad.
boxHeight: float | None = None
# Read-only here, standalone Texts only: true when word wrap is off ('Wrap
# Text' turned off), so the text box grows with the content; false when the
# text wraps within boxWidth. CreateTexts and ModifyTexts set it to false with
# their width.
nonBreaking: bool | None = None
Import from multiconn_archicad.models.tapir.types.
TextStyleEnum ¶
BOLD = 'Bold'
ITALIC = 'Italic'
UNDERLINE = 'Underline'
STRIKETHROUGH = 'Strikethrough'
SUPERSCRIPT = 'Superscript'
SUBSCRIPT = 'Subscript'
Import from multiconn_archicad.models.tapir.types.
TextStyleSettableDetails ¶
Every user-configurable style setting of a Text or a text-class Label (API_TextType). Shared by CreateTexts/CreateLabels ('style'), ModifyTexts/ModifyLabels ('style'), and the Get response.
# Pen attribute index.
penIndex: int | None = None
# Font attribute index.
fontIndex: int | None = None
# Name of the font, as the Font attributes carry it and GetDetailsOfElements
# reports it in fontName, e.g. 'Arial'. Resolved to the font's index (exact
# match first, then case-insensitive); the command fails when no loaded font
# has the name. Takes precedence over fontIndex if both are given.
fontName: str | None = None
bold: bool | None = None
italic: bool | None = None
underline: bool | None = None
justification: Justification | None = None
# Character height in mm.
height: float | None = None
# Line spacing factor, between -10.0 and -1.0.
spacing: float | None = None
# Rotation angle in radians.
angle: float | None = None
effectStrikeout: bool | None = None
effectSuperscript: bool | None = None
effectSubscript: bool | None = None
# Protected text (autotext reference).
effectProtected: bool | None = None
# Width scale of the text, between 0.75 and 10.0.
widthFactor: float | None = None
# Character spacing scale, between 0.75 and 10.0.
charSpaceFactor: float | None = None
# Size does not depend on output scale.
fixedSize: bool | None = None
# Draw the frame of the text block.
usedContour: bool | None = None
# Draw a solid fill behind the text block.
usedFill: bool | None = None
# Pen index of the text block's frame.
contourPenIndex: int | None = None
# Pen index of the text block's background fill.
fillPenIndex: int | None = None
anchor: TextBoxAnchor | None = None
# The rotation angle does not change when the element is rotated.
fixedAngle: bool | None = None
# Offset of the frame/background fill from the text bounding box, in mm.
contourOffset: float | None = None
# The text should always be readable (flips when viewed upside down).
flipEnabled: bool | None = None
# Text frame shape. Standalone Text elements only support Rectangle. Available
# from Archicad 28; earlier versions ignore it and read it back as Rectangle.
textFrameShape: TextFrameShape | None = None
# Use fixedWidth/fixedHeight instead of fitting the frame to the text box.
# Available from Archicad 28; earlier versions ignore it and read it back as
# false.
textFrameSizeFixed: bool | None = None
# Frame width in mm, when textFrameSizeFixed is true. Between 1 and 1000.
# Available from Archicad 28; earlier versions ignore it and read it back as
# 0.
textFrameFixedWidth: float | None = None
# Frame height in mm, when textFrameSizeFixed is true (ignored for Circle,
# which uses fixedWidth as diameter). Between 1 and 1000. Available from
# Archicad 28; earlier versions ignore it and read it back as 0.
textFrameFixedHeight: float | None = None
Import from multiconn_archicad.models.tapir.types.
TextsWithDetail ¶
elementId: ElementId
# The new placement position. As in CreateTexts, the z value selects the floor
# when floorIndex is omitted.
coordinate: Coordinate3D | None = None
# The new placement position as GetDetailsOfElements reads it (position), so a
# text read can be sent back: the same as coordinate without z, so the text
# stays on its floor (floorIndex still moves it). Ignored when coordinate is
# given.
position: Coordinate2D | None = None
# Optional. Moves the text to this floor; when omitted and a coordinate is
# given, the floor is derived from its z value.
floorIndex: int | None = None
# The new text content. Newlines create multiple lines; Windows-style CRLF
# (and bare CR) line endings are normalized to LF.
text: str | None = None
runs: list[TextRunDetails] | None = None
style: TextStyleSettableDetails | None = None
# Optional box width in mm (paper size, like height). Greater than 0 turns
# word wrap on: the text wraps within this width ('Wrap Text' in the Text
# settings, nonBreaking false). 0 turns word wrap off: the text is auto-width
# and grows with its content; on a wrapped text this rebuilds the content, so
# like a pen change it is refused for content with an autotext run. Given
# alone it leaves the content and its runs (and any autotext in them) as they
# are. When the content is rebuilt in the same item, the width is applied
# after the rebuild. When omitted, the current wrap setting is kept, also
# through a rebuild of the content. Read back by GetDetailsOfElements with the
# same key (width, 0 when word wrap is off), and as style.boxWidth with
# style.nonBreaking false.
width: float | None = None
Import from multiconn_archicad.models.tapir.types.
Texture ¶
Texture parameters
# The filename of the texture in the library (without extension).
name: str
# Rotation angle in radians.
rotationAngle: float | None = None
# X size of the picture in model space, by default 1.
xSize: float | None = None
# Y size of the picture in model space, by default 1.
ySize: float | None = None
# True, if fit the rectangle with the picture in a central position, using the
# natural aspect ratio of the picture.
FillRectangle: bool | None = None
# True, if fit the picture in the middle of the rectangle, using the natural
# aspect ratio of the picture.
FitPicture: bool | None = None
# True, if the texture is mirrored in X direction.
mirrorX: bool | None = None
# True, if the texture is mirrored in Y direction.
mirrorY: bool | None = None
# True, if the alpha channel of the texture is used.
useAlphaChannel: bool | None = None
# True, if the alpha channel of the texture changes the transparency.
alphaChannelChangesTransparency: bool | None = None
# True, if the alpha channel of the texture changes the surface color.
alphaChannelChangesSurfaceColor: bool | None = None
# True, if the alpha channel of the texture changes the ambient color.
alphaChannelChangesAmbientColor: bool | None = None
# True, if the alpha channel of the texture changes the specular color.
alphaChannelChangesSpecularColor: bool | None = None
# True, if the alpha channel of the texture changes the diffuse color.
alphaChannelChangesDiffuseColor: bool | None = None
Import from multiconn_archicad.models.tapir.types.
TextureCoordinate ¶
# The first vertex of the face, in world coordinates.
point: Coordinate3D
# The u texture coordinate at the point.
u: float
# The v texture coordinate at the point.
v: float
Import from multiconn_archicad.models.tapir.types.
TextureProjectionType ¶
Projection type of the 3D texture.
INVALID = 'Invalid'
PLANAR = 'Planar'
DEFAULT = 'Default'
CYLINDRIC = 'Cylindric'
SPHERIC = 'Spheric'
BOX = 'Box'
Import from multiconn_archicad.models.tapir.types.
ToolboxItem ¶
# The element type of the tool. Unknown for the tools of add-ons, which
# classId identifies.
elementType: ElementType
# The four-character subtype of the tool, e.g. DOOR, SKYL, CRWD, or the
# signature of a library part subtype registered by an add-on. Missing for the
# generic tool of the element type.
variation: str | None = None
# The class id (a guid) of the tool of an add-on, whose elementType is
# Unknown. Archicad 26 and later.
classId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
ToolDefaultClassifications ¶
# One item for each classification system in which the tool default is
# classified. Systems in which it is unclassified are left out.
classificationIds: list[ClassificationId]
Import from multiconn_archicad.models.tapir.types.
ToolDefaultFieldsUpdate ¶
Field changes for one element tool default.
elementType: ElementType
# The new value of each field, by its path (see GetElementFieldDefinitions),
# e.g. {"thickness": 0.25, "height": 2.7, "cutFillPen": {"hasValue": true,
# "value": 5}}. Only these fields change: they are written with
# ACAPI_Element_ChangeDefaults and a mask of exactly their bytes, then read
# back.
fields: dict[str, float | int | bool | str | ElementFieldOptionalValue]
Import from multiconn_archicad.models.tapir.types.
ToolDefaultFieldValues ¶
The field values returned for one element tool default.
elementType: ElementType
# The C++ struct of the element type in the Archicad API.
structName: str
# The value of each field of the tool defaults, by its path.
fields: dict[str, float | int | bool | str | ElementFieldOptionalValue]
# The asked paths this element type does not have.
missingFields: list[str] | None = None
# The asked paths in a member of a union the defaults do not use (see variant
# in GetElementFieldDefinitions). Without the fields input, these are simply
# left out.
inactiveFields: list[str] | None = None
Import from multiconn_archicad.models.tapir.types.
ToolDefaultProperties ¶
properties: list[ToolDefaultProperty]
Import from multiconn_archicad.models.tapir.types.
ToolDefaultProperty ¶
propertyId: PropertyId
propertyName: str
propertyGroupId: PropertyGroupId
# The value in the tool default, in the format of GetPropertyValuesOfElements.
# Only returned when includeValues is true.
propertyValue: PropertyValue | None = None
# Why the value could not be read. Only returned when includeValues is true.
error: Error | None = None
Import from multiconn_archicad.models.tapir.types.
ToolDefaultPropertyEditability ¶
# Whether the value of the property can be modified in the tool default of the
# element type.
editable: bool
Import from multiconn_archicad.models.tapir.types.
ToolDefaultPropertyEditabilityResult ¶
propertyEditabilities: list[ToolDefaultPropertyEditability | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
ToolDefaultPropertyFilter ¶
Which property definitions to return: the user defined (custom) ones, the fundamental built-in ones, the user level built-in ones, or all of them. The default is All. From Archicad 28 the API no longer separates the two kinds of built-in properties, so there FundamentalBuiltIn and UserLevelBuiltIn both return every built-in property.
USER_DEFINED = 'UserDefined'
FUNDAMENTAL_BUILT_IN = 'FundamentalBuiltIn'
USER_LEVEL_BUILT_IN = 'UserLevelBuiltIn'
ALL = 'All'
Import from multiconn_archicad.models.tapir.types.
TraceMethod ¶
How curves are traced: Linear traces them with straight segments as set above, BestMatch with the curves that match them best. Unknown for a method this version of Tapir does not know.
LINEAR = 'Linear'
BEST_MATCH = 'BestMatch'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.commands.
TransferMEPSettingsParameters ¶
# The MEP element to pick up the settings from: a routing element, terminal,
# accessory, equipment, fitting, flexible segment, branch, take-off, or (from
# Archicad 30) electrical panel or device.
sourceElementId: ElementId
# The MEP elements to inject the settings into. Each must be of the type and
# domain of the source element.
targetElements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
TransferMEPSettingsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
TransformationType ¶
GLOBAL = 'Global'
ROTATED = 'Rotated'
DISTORTED = 'Distorted'
Import from multiconn_archicad.models.tapir.types.
Transition ¶
The transition default.
angle: float | None = None
offsetY: float | None = None
offsetZ: float | None = None
# Available from Archicad 29.
preferenceTableId: UUID | None = None
Import from multiconn_archicad.models.tapir.types.
Translation ¶
SetViewSettings only: the translation part of the view transformation (indices 3 and 7 of transformationMatrix), so that view coordinates = rotation applied to model coordinates + translation. rotation leaves the translation as it is; without this field the translation is not changed. {x: 0, y: 0} clears it. Never returned by GetViewSettings (read it from transformationMatrix).
x: float
y: float
Import from multiconn_archicad.models.tapir.types.
Triangle ¶
# The 2D coordinates of the three vertices of the triangle.
vertices: list[Coordinate2D]
Import from multiconn_archicad.models.tapir.commands.
TriangulatePolygonsOfElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Optional. When true, the faces of the 3D model of each element (its own
# bodies, any element type) are decomposed into convex polygons instead, as
# Archicad does it, and returned as convexPolygons. Default value is false.
convex: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
TriangulatePolygonsOfElementsResult ¶
# The triangulation of the polygon of each element, aligned with the input:
# its triangles (or with convex: true its convex polygons), or an error (for
# example for an element type that has no polygon).
triangulations: list[ElementTriangulation | ElementConvexPolygons | ErrorItem]
Import from multiconn_archicad.models.tapir.commands.
TrimElementsParameters ¶
# The construction elements to trim. Without trimmingElement the roofs and
# shells among them do the trimming: Archicad decides which roof or shell
# trims which element and with which trim type, and may trim the roofs and
# shells with each other, so not every element is necessarily trimmed by every
# roof or shell. The call reports no result per pair; read them back with
# GetElementTrims. For a known result, use trimmingElement and call the
# command once per roof or shell.
elements: list[ElementIdArrayItem]
# Optional. The roof or shell that trims every element in the list, with
# trimType.
trimmingElement: ElementId | None = None
# Used with trimmingElement; defaults to KeepInside.
trimType: TrimType | None = None
Import from multiconn_archicad.models.tapir.commands.
TrimElementsResult ¶
TrimElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
TrimType ¶
Which side of the trimming element the elements keep.
KEEP_INSIDE = 'KeepInside'
KEEP_OUTSIDE = 'KeepOutside'
KEEP_ALL = 'KeepAll'
NO = 'No'
Import from multiconn_archicad.models.tapir.types.
TurnType ¶
The turn at this point. The first and last points take None.
NONE = 'None'
LANDING = 'Landing'
WINDER = 'Winder'
DIVIDED_LANDING = 'DividedLanding'
Import from multiconn_archicad.models.tapir.types.
Type ¶
LAYER = 'layer'
FILL = 'fill'
SURFACE = 'surface'
BUILDING_MATERIAL = 'buildingMaterial'
COMPOSITE = 'composite'
PROFILE = 'profile'
LINE_TYPE = 'lineType'
PEN_TABLE = 'penTable'
ZONE_CATEGORY = 'zoneCategory'
Import from multiconn_archicad.models.tapir.types.
TypedPropertyValue ¶
The value of a property for one element in JSON's own types, as GetTypedPropertyValuesOfElements returns it: a number, an integer, a string, a boolean, an array of them, or the identifiers of the chosen options of an option set, with the property's type and status next to it.
# The value with its type (number, length, area, volume, angle, integer,
# string, boolean, their lists, singleEnum or multiEnum) and its status:
# normal with a value, userUndefined (the user set it to Undefined, no value)
# or notAvailable (the property is not available for the element, no value).
# Measured values are in SI units: meters, square meters, cubic meters and
# radians, whatever the project's working units. An option is named by its
# nonLocalizedValue when it has one, else by its displayValue.
propertyValue: NotAvailablePropertyValue | NormalNumberPropertyValue | NormalIntegerPropertyValue | NormalStringPropertyValue | NormalBooleanPropertyValue | NormalLengthPropertyValue | NormalAreaPropertyValue | NormalVolumePropertyValue | NormalAnglePropertyValue | NormalNumberListPropertyValue | NormalIntegerListPropertyValue | NormalStringListPropertyValue | NormalBooleanListPropertyValue | NormalLengthListPropertyValue | NormalAreaListPropertyValue | NormalVolumeListPropertyValue | NormalAngleListPropertyValue | NormalSingleEnumPropertyValue | NormalMultiEnumPropertyValue | UserUndefinedPropertyValue
# Whether the value comes from the property's default value rather than one
# set for the element. Left out for a notAvailable value.
isDefault: bool | None = None
Import from multiconn_archicad.models.tapir.types.
TypedPropertyValuesForElement ¶
Typed property values returned for one element.
# One item per given property, in their order: the typed value, or an error
# for a property that was not found, could not be evaluated for the element or
# has no typed form.
propertyValues: list[TypedPropertyValue | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
TypeSpecificDetails ¶
TypeSpecificDetails: TypeAlias = (
HotlinkDetails
| WallDetails
| BeamDetails
| SlabDetails
| RoofDetails
| ShellDetails
| ColumnDetails
| ColumnSegmentDetails
| BeamSegmentDetails
| DetailWorksheetDetails
| WindowDoorDetails
| SkylightDetails
| LibPartBasedElementDetails
| ObjectDetails
| PolylineDetails
| ZoneDetails
| RailingDetails
| RailingPostDetails
| RailingInnerPostDetails
| RailingRailDetails
| RailingBalusterDetails
| RailingBalusterSetDetails
| RailingPanelDetails
| RailingPatternDetails
| RailingRailEndDetails
| RailingRailConnectionDetails
| RailingEndFinishDetails
| CurtainWallDetails
| CurtainWallSegmentDetails
| CurtainWallPanelDetails
| CurtainWallFrameDetails
| CurtainWallJunctionDetails
| CurtainWallAccessoryDetails
| MeshDetails
| MorphDetails
| DrawingDetails
| LabelDetails
| TextDetails
| LevelDimensionDetails
| AngleDimensionDetails
| DimensionDetails
| RadialDimensionDetails
| ChangeMarkerDetails
| StairDetails
| StairTreadDetails
| StairRiserDetails
| StairStructureDetails
| SectionDetails
| InteriorElevationDetails
| PictureDetails
| MEPRoutingElementDetails
| MEPRoutingSegmentDetails
| MEPRoutingNodeDetails
| MEPElementDetails
| NotYetSupportedElementTypeDetails
)
Import from multiconn_archicad.models.tapir.types.
TypeSpecificSettings ¶
TypeSpecificSettings: TypeAlias = (
WallSettings
| ZoneSettings
| LineSettings
| ArcSettings
| HotspotSettings
| SplineSettings
| PolylineSettings
| HatchSettings
| DrawingSettings
| TextSettings
)
U¶
Import from multiconn_archicad.models.tapir.commands.
UngroupElementsParameters ¶
# The groups to ungroup, as returned by CreateGroups or GetGroupsOfElements. A
# group nested in another group is reported as failed: ungroup the containing
# group first.
groups: list[GroupIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
UngroupElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
UnitValueConversionData ¶
# The value to convert, in meters, square meters, cubic meters or radians,
# matching the kind of the preference.
value: float
preference: UnitValuePreference
Import from multiconn_archicad.models.tapir.types.
UnitValuePreference ¶
The Project Preference whose unit and rounding are applied: WorkModel, WorkLayout and WorkAngle are the Working Units; the Dim ones are the Dimensions (DimDoorWindow the door, window and skylight dimensions, DimParapet the sill height, DimArea the area calculations); the Calc ones are the Calculation Units & Rules.
WORK_MODEL = 'WorkModel'
WORK_LAYOUT = 'WorkLayout'
WORK_ANGLE = 'WorkAngle'
DIM_LINEAR = 'DimLinear'
DIM_ANGLE = 'DimAngle'
DIM_RADIAL = 'DimRadial'
DIM_LEVEL = 'DimLevel'
DIM_ELEVATION = 'DimElevation'
DIM_DOOR_WINDOW = 'DimDoorWindow'
DIM_PARAPET = 'DimParapet'
DIM_AREA = 'DimArea'
CALC_LENGTH = 'CalcLength'
CALC_AREA = 'CalcArea'
CALC_VOLUME = 'CalcVolume'
CALC_ANGLE = 'CalcAngle'
Import from multiconn_archicad.models.tapir.commands.
UnlinkElementsParameters ¶
# The links to remove, each from one element to another.
links: list[ElementLinkReference]
Import from multiconn_archicad.models.tapir.commands.
UnlinkElementsResult ¶
# One result per link, aligned with the input.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UnlockElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
UnlockElementsResult ¶
UnlockElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
UnmergeElementsParameters ¶
# The pairs of merged elements to separate. The order within a pair does not
# matter.
elementPairs: list[ElementUnmergePair]
Import from multiconn_archicad.models.tapir.commands.
UnmergeElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
UnusedAttribute ¶
attributeId: AttributeId
index: int
name: str
Import from multiconn_archicad.models.tapir.types.
UnusedAttributeTypeSummary ¶
type: Type
# The attributes of this type that no reference found by the command points
# at.
unusedAttributes: list[UnusedAttribute]
# The number of attributes of this type in the project.
attributeCount: int
# attributeCount minus the unused ones.
usedCount: int
# The number of attributes of this type in use as Archicad itself counts them,
# from the usedAttributes JSON query (see GetUsedAttributes). When it differs
# from usedCount, Archicad counts references this command does not see, or the
# other way round, so check the list before deleting. Missing when Archicad's
# report does not name the type.
archicadUsedCount: int | None = None
Import from multiconn_archicad.models.tapir.types.
UnusedLibraryPart ¶
guid: str
index: int
documentName: str
fileName: str
typeId: LibraryPartType
isPlaceable: bool
Import from multiconn_archicad.models.tapir.commands.
Import from multiconn_archicad.models.tapir.commands.
UpdateAnalyticalModelResult ¶
UpdateAnalyticalModelResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
UpdateClassificationItemsParameters ¶
# The classification items to update. Only the fields given change; items keep
# their guid and their parent.
classificationItems: list[ClassificationItemUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdateClassificationItemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdateClassificationSystemsParameters ¶
# The classification systems to update. Only the fields given change.
classificationSystems: list[ClassificationSystemUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdateClassificationSystemsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdateDrawingsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
Import from multiconn_archicad.models.tapir.commands.
UpdateDrawingsResult ¶
UpdateDrawingsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
UpdateFavoritesFromElementsParameters ¶
favoritesFromElements: list[FavoritesFromElementUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdateFavoritesFromElementsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdateHotlinksParameters ¶
# The hotlink nodes to update, from GetHotlinks or CreateHotlinkNodes. Each
# node's cached content is re-read from its source file, as the Hotlink
# Manager's Update button does.
hotlinkNodes: list[HotlinkNodeReference]
Import from multiconn_archicad.models.tapir.commands.
UpdateHotlinksResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdateLibraryPartSectionsParameters ¶
# The name of the loaded library part, without the file extension (a trailing
# '.gsm' is accepted too).
name: str
# The sections to replace. Each section must already exist in the library
# part; this command does not add new sections.
sections: list[LibraryPartSectionUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdateLibraryPartSectionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdatePropertyDefinitionsParameters ¶
# The property definitions to update. Only the fields given change; the
# definition keeps its guid, so element values survive.
propertyDefinitions: list[PropertyDefinitionUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdatePropertyDefinitionsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdatePropertyGroupsParameters ¶
# The custom property groups to update. Only the fields given change.
propertyGroups: list[PropertyGroupUpdate]
Import from multiconn_archicad.models.tapir.commands.
UpdatePropertyGroupsResult ¶
# A list of execution results.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.commands.
UpdateZonesParameters ¶
# Keep the position of the Zone Stamps. The default is true.
keepStampPosition: bool | None = None
# Undo the trimming of the top of the Zones. The default is false.
undoTopTrim: bool | None = None
# Undo the trimming of the bottom of the Zones. The default is false.
undoBottomTrim: bool | None = None
# Optional list of the Zones to update, on any story. They are selected
# instead of the current selection and stay selected: Archicad updates the
# selected Zones right after the command has returned, not during it, and
# clears the selection when it is done. So do not change the selection until
# then, and read the new geometry with a later command. Every Zone is checked
# first; if one cannot be updated (not a Zone, listed twice, hidden or locked
# layer, not editable), nothing is selected or updated. An empty list updates
# nothing. Without the list the current selection is updated, or every Zone
# when nothing is selected.
zones: list[ElementIdArrayItem] | None = None
Import from multiconn_archicad.models.tapir.commands.
UpdateZonesResult ¶
UpdateZonesResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)
Import from multiconn_archicad.models.tapir.commands.
UploadLibrariesToBIMcloudParameters ¶
# The paths of the local library folders or container files (.lcf) to upload.
libraryPaths: list[LibraryPath]
# The URL of the BIMcloud or Teamwork server, e.g.
# 'https://bimcloud.example.com:22000'.
serverUrl: str
# The path of the folder on the server that holds the libraries, as shown in
# BIMcloud Manager.
parentPath: str
Import from multiconn_archicad.models.tapir.commands.
UploadLibrariesToBIMcloudResult ¶
# One result per library, in the order of the input.
executionResults: list[SuccessfulExecutionResult | FailedExecutionResult]
Import from multiconn_archicad.models.tapir.types.
User ¶
userId: float
userName: str
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
UserDataPair ¶
A string value stored under a key in user data.
# The key of the value. Scripts should prefix their keys (for example
# 'myscript.databaseId') so that different scripts do not overwrite each
# other's data.
key: str
# The stored value: any text, for example an id, a timestamp or a JSON
# document the script encodes itself.
value: str
Import from multiconn_archicad.models.tapir.types.
UserUndefinedPropertyValue ¶
A userUndefined value means that there is no actual number/string/etc. value, but the user deliberately set an Undefined value: this is a valid value, too.
type: PropertyDataType
status: Literal['userUndefined'] = 'userUndefined'
V¶
Import from multiconn_archicad.models.tapir.types.
ValueStatus ¶
Value (the default) sets propertyValue. Default removes the element's own value, so the property shows its default value (or its expression) again. UserUndefined sets the value to undefined. propertyValue is not needed and is ignored for Default and UserUndefined.
VALUE = 'Value'
DEFAULT = 'Default'
USER_UNDEFINED = 'UserUndefined'
Import from multiconn_archicad.models.tapir.types.
ValueType ¶
Optional filter by property value type.
INTEGER = 'Integer'
REAL = 'Real'
STRING = 'String'
BOOLEAN = 'Boolean'
GUID = 'Guid'
Import from multiconn_archicad.models.tapir.types.
VerticalRange ¶
Vertical range of the segment. FitToZoneRange is for interior elevations only.
INFINITE = 'Infinite'
LIMITED = 'Limited'
FIT_TO_ZONE_RANGE = 'FitToZoneRange'
Import from multiconn_archicad.models.tapir.types.
ViewCloneData ¶
# Navigator item ID of the Project Map viewpoint to clone.
navigatorItemId: NavigatorItemId
# Navigator item ID of the View Map folder to place the clone in. Required -
# Archicad's CloneProjectMapItemToViewMap API leaves a clone created directly
# at the View Map root in a broken state (it cannot be deleted or moved
# afterwards, by API or by hand), so Tapir refuses to fall back to the root on
# your behalf. Create a View Map folder (CreateViewMapFolder) first if you
# don't already have one to target.
parentNavigatorItemId: NavigatorItemId
Import from multiconn_archicad.models.tapir.types.
ViewData ¶
# Source navigator item whose database and settings are copied: a Project Map
# item, or a View Map view (e.g. a story view). A View Map view is created
# from its Project Map source (sourceNavigatorItemId in GetNavigatorItemTree),
# then gets the view's own view settings, name and ID.
navigatorItemId: NavigatorItemId
# View Map folder to place the new view in. Required - the underlying Archicad
# API used to create the item leaves it undeletable and unmovable afterwards
# when it is attached directly to the View Map root, so Tapir refuses to fall
# back to the root on your behalf. Create a View Map folder
# (CreateViewMapFolder) first if you don't already have one to target.
parentNavigatorItemId: NavigatorItemId
# Name for the new view. Optional; defaults to the source item name.
name: str | None = None
Import from multiconn_archicad.models.tapir.types.
ViewDepthLimitation ¶
Floor plan view depth limitation.
TO_FLOOR_PLAN_RANGE = 'ToFloorPlanRange'
TO_ABSOLUTE_LIMIT = 'ToAbsoluteLimit'
ENTIRE_ELEMENT = 'EntireElement'
Import from multiconn_archicad.models.tapir.types.
ViewDesignOptionCombination ¶
navigatorItemId: NavigatorItemId
status: ViewDesignOptionCombinationStatus
# The name of the design option combination settings of the view, as Archicad
# reports it.
name: str
# The design option combination the view shows. Given for the Standard status
# and, on Archicad 27 and 28, also for the Custom status (the combination the
# custom set was made from). On Archicad 29 and newer it is given only when
# exactly one combination has the name of the view's settings.
designOptionCombinationId: DesignOptionCombinationId | None = None
Import from multiconn_archicad.models.tapir.types.
ViewDesignOptionCombinationStatus ¶
MainModelOnly: the view shows only the main model, no design option. Standard: the view shows a design option combination. Custom: the view shows a set of design options modified by the user, without a name. Missing: the combination of the view was deleted.
MAIN_MODEL_ONLY = 'MainModelOnly'
STANDARD = 'Standard'
CUSTOM = 'Custom'
MISSING = 'Missing'
Import from multiconn_archicad.models.tapir.types.
ViewImageFormat ¶
The image format.
PNG = 'png'
JPG = 'jpg'
Import from multiconn_archicad.models.tapir.types.
ViewImageSource ¶
The window whose image is returned: the 3D window, or the PhotoRendering window.
FIELD_3_D_WINDOW = '3DWindow'
RENDERING_WINDOW = 'RenderingWindow'
Import from multiconn_archicad.models.tapir.types.
ViewLayerState ¶
The state of one layer in a view's own (custom) layer settings. GetViewSettings returns every field; SetViewSettings checks only the fields given.
# The identifier of the Layer attribute.
attributeId: AttributeId
# Whether the layer is hidden in the view.
isHidden: bool | None = None
# Whether the layer is locked in the view.
isLocked: bool | None = None
# Whether the layer's elements are forced to wireframe in the view's 3D.
isWireframe: bool | None = None
# Intersection group of the layer in the view. Elements on layers having the
# same group will be intersected.
intersectionGroupNr: int | None = None
Import from multiconn_archicad.models.tapir.types.
ViewOptions ¶
The model view options and the on-screen view options, every field by its API_ViewOptions name. Values are the numeric API constants; attribute indices are plain integers.
modelViewOptions: ModelViewOptions
# Fields of API_OnScreenViewOptions.
onScreenViewOptions: dict[str, Any]
Import from multiconn_archicad.models.tapir.types.
ViewOptionsUpdate ¶
The fields to change, named as in the response of GetViewOptions. Fields not given keep their current value. Without an index, the window then uses Custom model view options (index 0), also when only on-screen view options are given. To keep the combination, give its index as well. The options are read back, and a given field Archicad did not keep fails the call with the value it kept.
modelViewOptions: ModelViewOptions | None = None
onScreenViewOptions: dict[str, Any] | None = None
Import from multiconn_archicad.models.tapir.types.
ViewSettings ¶
The settings of a navigator view
# The name of the model view options. If empty, the view has custom model view
# options.
modelViewOptions: str | None = None
# The name of the layer combination. If empty, the view has custom layer
# combination. SetViewSettings reads the view back and fails the item when
# Archicad did not apply the name given: it keeps the old one when no layer
# combination of the project has the name, and its API can't switch a view
# from a layer combination to custom layers (an empty name).
layerCombination: str | None = None
# The view's own layer settings (Archicad 27 and later): the layer states the
# view stores when it stores its layers (saveFlags.layers) under no layer
# combination name, as the View Settings dialog's "Get Current Window's
# Settings" stores them. GetViewSettings returns every layer of the set,
# ordered by layer index, and omits the field when the view stores no custom
# layers. Archicad's API can't change them (nor switch a view from a layer
# combination to custom layers), so SetViewSettings accepts customLayers only
# when each field given is the state the view already stores (so
# GetViewSettings' answer can be given back), and otherwise fails the item and
# writes nothing. To change the layers a view shows, give it a
# layerCombination.
customLayers: list[ViewLayerState] | None = None
# The name of the dimension style (a dimension standard of Options > Project
# Preferences > Dimensions, as GetDimensionStandards lists them). If empty,
# the view has custom dimension style. GetViewSettings returns the name the
# view stores as it is: Archicad does not check it against the project's
# dimension standards, so it can name one that GetDimensionStandards does not
# list, e.g. a standard that was renamed or deleted after the view was saved.
# It is valid data only when saveFlags.dimensions is true; otherwise the view
# does not store dimension settings and the name may be a leftover. Use
# FindDimensionStandard to tell whether the name exists in the project (it
# fails when it does not).
dimensionStyle: str | None = None
# The name of the pen set. If empty, the view has custom pen set.
penSetName: str | None = None
# The name of the graphic override combination. If empty, the view has custom
# graphic override combination.
graphicOverrideCombination: str | None = None
# The drawing scale stored on the view, if enabled (see
# saveFlags.drawingScale). Giving it to SetViewSettings also turns
# saveFlags.drawingScale on, unless that flag is given explicitly.
drawingScale: int | None = None
# Whether the zoom box is stored in the view. The same flag as saveFlags.zoom,
# kept for compatibility; in SetViewSettings saveFlags.zoom wins when both are
# given.
saveZoom: bool | None = None
# Whether changing to the view should ignore its stored zoom.
ignoreSavedZoom: bool | None = None
# Stored zoom box. Used only when saveZoom is true. Giving it to
# SetViewSettings also turns saveFlags.zoom on, unless that flag is given
# explicitly.
zoom: Zoom | None = None
# Which settings the view stores: the "stored in this view" checkboxes of the
# View Settings dialog. A stored setting whose name field is empty is a custom
# (unnamed) one; a setting that is not stored is not part of the view at all,
# which the name fields alone cannot tell apart. Always complete in a
# GetViewSettings response. In SetViewSettings every flag is optional, a flag
# that is not given keeps its current value, and a flag given here overrides
# the one implied by drawingScale, zoom, structureDisplay or saveZoom.
saveFlags: SaveFlags | None = None
# View rotation angle in radians, derived from transformationMatrix. Read via
# GetViewSettings; use SetViewRotation to change it.
rotation: float | None = None
# The full 2D transformation of the view that rotation is derived from: the
# 3x4 matrix row by row (12 numbers), in the layout Get3DProjectionSettings
# uses. Its translation is at indices 3 and 7. Read via GetViewSettings;
# SetViewSettings ignores it, use rotation or SetViewRotation to change the
# rotation and translation to change the translation.
transformationMatrix: list[float] | None = None
# SetViewSettings only: the translation part of the view transformation
# (indices 3 and 7 of transformationMatrix), so that view coordinates =
# rotation applied to model coordinates + translation. rotation leaves the
# translation as it is; without this field the translation is not changed. {x:
# 0, y: 0} clears it. Never returned by GetViewSettings (read it from
# transformationMatrix).
translation: Translation | None = None
# Structure display mode. One of EntireStructure, CoreOnly, WithoutFinishes,
# StructureOnly.
structureDisplay: StructureDisplay | None = None
# Identifier of the renovation filter applied to the view.
renovationFilterGuid: GuidId | None = None
# Name of the renovation filter applied to the view (GetRenovationFilters
# lists them). GetViewSettings returns it together with renovationFilterGuid
# when the name could be resolved. SetViewSettings sets the filter by this
# name (an exact match first, else a case-insensitive one); a name the project
# has no filter for, or one that names another filter than a
# renovationFilterGuid given with it, fails the item and nothing of it is
# written.
renovationFilterName: str | None = None
# Name of the 3D style. Empty if not set.
d3styleName: str | None = None
# Name of the rendering scene. Empty if not set.
renderingSceneName: str | None = None
# Whether photo rendering is used for this view.
usePhotoRendering: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ViewTransformationsOrError ¶
ViewTransformationsOrError: TypeAlias = (
ViewTransformations | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
VisibleSkinStatus ¶
# True when the element has at least one skin shown in the given Partial
# Structure Display mode.
hasVisibleSkin: bool
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
VolumeType ¶
The type of the volume measurement unit.
CUBIC_METER = 'CubicMeter'
LITER = 'Liter'
CUBIC_CENTIMETER = 'CubicCentimeter'
CUBIC_MILLIMETER = 'CubicMillimeter'
CUBIC_FOOT = 'CubicFoot'
CUBIC_INCH = 'CubicInch'
CUBIC_YARD = 'CubicYard'
GALLON = 'Gallon'
W¶
Import from multiconn_archicad.models.tapir.types.
WalkingLinePosition ¶
Where the walking line runs on the flight: offset from the left or the right side (walkingLineOffset), centered, or placed by Archicad (Auto). CreateStairs and ModifyStairs read it back and fail the item when Archicad did not keep it (CreateStairs then deletes the new stair).
LEFT = 'Left'
RIGHT = 'Right'
CENTER = 'Center'
AUTO = 'Auto'
Import from multiconn_archicad.models.tapir.types.
WallData ¶
# Optional name of a Wall favorite to base the new element on. Its settings
# (structure, reference line location, top link, offsets, ...) are applied
# first, then the explicitly given fields override them. With a favorite only
# begCoordinate and endCoordinate are needed.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
# Story index (as returned by GetStories). When provided, zCoordinate is
# interpreted as bottomOffset relative to the floor. Takes priority over
# zCoordinate for floor assignment.
floorIndex: int | None = None
# Absolute Z when floorIndex is absent; bottomOffset relative to the floor
# when floorIndex is provided.
zCoordinate: float | None = None
# Optional explicit height. Sets relativeTopStory to 0, so it replaces the top
# link of the favorite or the tool default. When omitted, the height and top
# link of the favorite (or of the Wall tool defaults) are kept.
height: float | None = None
# Optional thickness. When omitted, the favorite's or the Wall tool default's
# thickness is kept. Only takes effect on a Basic (homogeneous) wall - a
# Composite or Profile wall takes its thickness from the composite or profile
# attribute. Without structureType the new wall keeps the structure of the
# favorite (or the wall tool default), which may be a composite; send
# structureType 'Basic' for the thickness to apply.
thickness: float | None = None
# Optional reference line offset. When omitted, the favorite's or the Wall
# tool default's offset is kept. Unavailable when the wall's
# referenceLineLocation is Center or CoreCenter (Archicad keeps 0 there): a
# non-zero value on such a wall fails it instead of being dropped.
offset: float | None = None
# Arc angle in radians; non-zero creates a curved wall
# (begCoordinate/endCoordinate are the chord endpoints).
arcAngle: float | None = None
# Optional. When omitted, the favorite's or the Wall tool default's reference
# line location is kept. The Core* values only have an effect on a Composite
# or Profile wall.
referenceLineLocation: WallReferenceLineLocation | None = None
# Optional. True mirrors the wall to its reference line (the side
# GetDetailsOfElements reports as flipped). When omitted, the favorite's or
# the Wall tool default's side is kept, which for a Profile wall mirrors its
# whole cross section.
flipped: bool | None = None
# Plan outline of the wall. Trapezoid makes begThickness and endThickness the
# wall's thickness at its begin and end point. Polygonal is not settable here;
# it is read-only via GetDetailsOfElements. CreateWalls makes a Straight wall
# when this is omitted. This is unrelated to slantAlpha/slantBeta - see
# profileType for the cross section shape those depend on.
geometryType: WallModificationGeometryType | None = None
# Thickness at begCoordinate, the same value as thickness (applied after it,
# so it wins when both are given). Together with endThickness it shapes a
# Trapezoid wall (geometryType). Like thickness, it only takes effect on a
# Basic wall.
begThickness: float | None = None
# Thickness at endCoordinate. Only takes effect on a Trapezoid wall
# (geometryType); a Straight wall has one thickness. Like thickness, it only
# takes effect on a Basic wall.
endThickness: float | None = None
# Cross section shape of the wall. slantAlpha needs Slanted or Trapez,
# slantBeta needs Trapez. When omitted, CreateWalls keeps the favorite's or
# the Wall tool default's and ModifyWalls the wall's own.
profileType: WallModificationProfileType | None = None
# Angle of the slanted face in radians (pi/2 is vertical). Only takes effect
# when the wall's profileType is Slanted or Trapez, after this item is
# applied: any other value than the wall's current one or pi/2 on another wall
# fails the item instead of being dropped.
slantAlpha: float | None = None
# Angle of the second slanted face of a double slanted wall, in radians (pi/2
# is vertical). Only takes effect when the wall's profileType is Trapez, after
# this item is applied: any other value than the wall's current one or pi/2 on
# another wall fails the item instead of being dropped.
slantBeta: float | None = None
# Only has an effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Non-zero links the wall's top to another story instead of an explicit height
# - do not set together with 'height' for the same wall: whichever is applied
# last wins, and Archicad recomputes the actual height from the story
# elevations once relativeTopStory is non-zero.
relativeTopStory: float | None = None
zoneRel: WallZoneRelation | None = None
# The stories the wall is shown on. Archicad 29 keeps any combination written
# here (showRelAbove and showRelBelow 1 read back), although its Wall Settings
# offer only 'Home story only' and 'All relevant stories', with no Custom
# option to show the others (#852). 'All relevant stories' is
# isAutoOnStoryVisibility true.
visibility: StoryVisibility | None = None
# When true (the default on a new wall), Archicad recomputes 'visibility'
# automatically from the wall's vertical extent and ignores any value set for
# it. Setting 'visibility' without also setting this field turns it off
# automatically. See the note on 'visibility' for which combinations a wall
# accepts.
isAutoOnStoryVisibility: bool | None = None
referenceMaterial: OverriddenMaterial | None = None
oppositeMaterial: OverriddenMaterial | None = None
sideMaterial: OverriddenMaterial | None = None
# Pen of the cut fill. Archicad 27 and later; ignored on older versions.
cutFillPen: OverriddenPen | None = None
# Background pen of the cut fill. Archicad 27 and later; ignored on older
# versions.
cutFillBackgroundPen: OverriddenPen | None = None
# Optional. When neither this nor one of the attribute ids below is given, the
# favorite's or the Wall tool default's structure is kept.
structureType: WallStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
profileId: AttributeId | None = None
# Pen of the wall's own contour/reference outline (API_WallType::contPen) -
# distinct from cutFillPen, which is the cut fill pattern's pen.
contourPen: int | None = None
# Pen of the wall's contour in 3D views (API_WallType::contPen3D).
contourPen3D: int | None = None
# Line type of the wall's own contour (API_WallType::contLtype) - pairs with
# contourPen, which only sets the pen, not the line type.
contourLineTypeId: AttributeId | None = None
# Line type used when "OutLines Only" is selected from the "Floor Plan
# Display" popup (API_WallType::belowViewLineType).
belowViewLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup - pairs with aboveViewLinePen.
aboveViewLineTypeId: AttributeId | None = None
displayOption: DisplayOption | None = None
# Only has an effect on a multi-story wall (relativeTopStory/topOffset making
# it span more than one story).
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, the Composite's own priority is used at junctions instead of
# connectionPriority.
useCompositePriority: bool | None = None
# When newCreationMode is true, homeStoryDifference overrides the home story
# selected by floorIndex or derived from zCoordinate.
linkToSettings: LinkToSettings | None = None
# The end surface of the wall is inherited from the adjoining wall.
inheritEndSurface: bool | None = None
# Align texture mapping to the wall's edges.
alignTexture: bool | None = None
# The polygonal wall's corners can be changed in case of L and T connections.
# Only meaningful for a Polygonal wall (geometryType).
polyCanChange: bool | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
# Height of the log for log walls. 0 means a normal (non-log) wall.
logHeight: float | None = None
logDetails: WallLogDetails | None = None
Import from multiconn_archicad.models.tapir.types.
WallDetails ¶
geometryType: WallGeometryType
begCoordinate: Coordinate2D
endCoordinate: Coordinate2D
zCoordinate: float
flipped: bool | None = None
# height relative to bottom
height: float
# base level of the wall relative to the floor level
bottomOffset: float
# wall's base line's offset from ref. line
offset: float
# The arc angle of the curved wall in radians.
arcAngle: float | None = None
# Thickness at the beginning of wall, it will return 0 for poly wall type
begThickness: float | None = None
# Thickness at the end of wall, it will return 0 for poly wall type
endThickness: float | None = None
# Polygon outline in case of polygonal wall
polygonOutline: list[Coordinate2D] | None = None
# Polygon arcs in case of polygonal wall
polygonArcs: list[PolyArc] | None = None
structureType: WallStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
profileId: AttributeId | None = None
referenceLineLocation: WallReferenceLineLocation | None = None
# Only Normal/Slanted/Trapez are settable via ModifyWalls - Poly needs a
# profile attribute wired through a separate mechanism. slantAlpha/slantBeta
# only have an effect once this is Slanted or Trapez.
profileType: WallProfileType | None = None
# Only has an effect once profileType is set to Slanted or Trapez.
slantAlpha: float | None = None
# Only has an effect once profileType is set to Slanted or Trapez.
slantBeta: float | None = None
# Only has an effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Non-zero links the wall's top to another story instead of an explicit height
# - do not set together with 'height' via ModifyWalls in the same call.
relativeTopStory: float | None = None
zoneRel: WallZoneRelation | None = None
# On Archicad 29 a wall knows only 'Home story only' and 'All relevant
# stories' (Wall Settings offers no Custom option), so a wall can read back a
# combination the dialog cannot show - a wall fresh from the Wall tool
# defaults may report showOnHome false with showRelAbove 1, which Wall
# Settings shows as an empty Show on Stories field (#852). See ModifyWalls for
# which combinations can be written.
visibility: StoryVisibility | None = None
# When true (the default on a new wall), Archicad recomputes 'visibility'
# automatically from the wall's vertical extent and ignores any value set for
# it.
isAutoOnStoryVisibility: bool | None = None
referenceMaterial: OverriddenMaterial | None = None
oppositeMaterial: OverriddenMaterial | None = None
sideMaterial: OverriddenMaterial | None = None
cutFillPen: OverriddenPen | None = None
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the wall's own contour/reference outline (API_WallType::contPen) -
# distinct from cutFillPen, which is the cut fill pattern's pen inherited from
# the building material/composite/profile. Unlike cutFillPen this is not
# inheritable/overridable, it is the wall's own pen index directly, the same
# field used regardless of structureType (Basic, Composite or Profile).
contourPen: int | None = None
# Pen of the wall's contour in 3D views (API_WallType::contPen3D).
contourPen3D: int | None = None
# Line type of the wall's own contour (API_WallType::contLtype) - pairs with
# contourPen, which only sets the pen, not the line type.
contourLineTypeId: AttributeId | None = None
# Line type used when "OutLines Only" is selected from the "Floor Plan
# Display" popup (API_WallType::belowViewLineType). Corresponds to the "Uncut
# Lines" value in the Wall Settings dialog.
belowViewLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup. Corresponds to the "Overhead Line Pens" value in the Wall Settings
# dialog.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup - pairs with aboveViewLinePen.
aboveViewLineTypeId: AttributeId | None = None
displayOption: DisplayOption | None = None
# Only has an effect on a multi-story wall (relativeTopStory/topOffset making
# it span more than one story).
viewDepthLimitation: ViewDepthLimitation | None = None
# Priority of the wall in a junction with other elements
# (API_WallType::wallConnPriority - higher wins the cut/cover at the
# junction). Archicad ignores writes to this field; read-only in practice.
connectionPriority: int | None = None
# When true, the Composite's own priority is used at junctions instead of
# connectionPriority.
useCompositePriority: bool | None = None
# Tie-breaker (0-999) used when two walls meet with the same
# connectionPriority, or when 3+ walls meet in a junction
# (API_WallType::sequence). Archicad ignores writes to this field; read-only
# in practice.
junctionSequence: int | None = None
# newCreationMode is expected to read back as false after creation; Archicad
# resolves the relative story selection to an absolute floor index.
linkToSettings: LinkToSettings | None = None
# The end surface of the wall is inherited from the adjoining wall.
inheritEndSurface: bool | None = None
# Align texture mapping to the wall's edges.
alignTexture: bool | None = None
# Distance between the reference line and the outside face of the wall. Output
# only - not settable via ModifyWalls.
offsetFromOutside: float | None = None
# The polygonal wall's corners can be changed in case of L and T connections.
# Only meaningful for a Polygonal wall (geometryType).
polyCanChange: bool | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
# Height of the log for log walls. 0 means a normal (non-log) wall.
logHeight: float | None = None
logDetails: WallLogDetails | None = None
# Whether the wall has at least one Window. Output only.
hasWindow: bool | None = None
# Whether the wall has at least one Door. Output only.
hasDoor: bool | None = None
Import from multiconn_archicad.models.tapir.types.
WallGeometryType ¶
STRAIGHT = 'Straight'
TRAPEZOID = 'Trapezoid'
POLYGONAL = 'Polygonal'
Import from multiconn_archicad.models.tapir.types.
WallLogDetails ¶
The settings of the Log Details dialog (Wall Settings > Model) other than the log height (logHeight), one boolean per flag of API_WallType::beamFlags. They only have an effect on a log wall (logHeight greater than 0). GetDetailsOfElements returns every field; CreateWalls and ModifyWalls change only the fields given and keep the others.
# The wall starts with a half log at the bottom (APIWBeam_HalfLog).
startWithHalfLog: bool | None = None
# The logs are square (rectangular) instead of rounded (APIWBeam_QuadricLog).
squareLogs: bool | None = None
# The logs are curved on the right side of the wall, looking from its start
# point to its end point (APIWBeam_RightLog). Together with roundedOnLeftSide
# this is the log shape's outside/inside/both choice; which side is the
# outside depends on the wall's direction and 'flipped'.
roundedOnRightSide: bool | None = None
# The logs are curved on the left side of the wall, looking from its start
# point to its end point (APIWBeam_LeftLog).
roundedOnLeftSide: bool | None = None
# The log radius is measured from the opposite side of the wall
# (APIWBeam_Stretched).
radiusFromOppositeSide: bool | None = None
# The horizontal edges of the logs get the reference side surface instead of
# the one of the Wall Settings (APIWBeam_RefMater). Set at most one of this
# and oppositeSideSurfaceOnHorizontalEdges; both false means the surface of
# the Wall Settings.
referenceSideSurfaceOnHorizontalEdges: bool | None = None
# The horizontal edges of the logs get the opposite side surface instead of
# the one of the Wall Settings (APIWBeam_OppMater).
oppositeSideSurfaceOnHorizontalEdges: bool | None = None
Import from multiconn_archicad.models.tapir.types.
WallModificationGeometryType ¶
The wall's plan outline shape, distinct from its cross section shape.
STRAIGHT = 'Straight'
TRAPEZOID = 'Trapezoid'
Import from multiconn_archicad.models.tapir.types.
WallModificationProfileType ¶
Cross section shape of the wall, distinct from geometryType (which is the plan outline).
NORMAL = 'Normal'
SLANTED = 'Slanted'
TRAPEZ = 'Trapez'
Import from multiconn_archicad.models.tapir.types.
WallProfileType ¶
Cross section shape of the wall, distinct from geometryType (which is the plan outline).
NORMAL = 'Normal'
SLANTED = 'Slanted'
TRAPEZ = 'Trapez'
POLY = 'Poly'
Import from multiconn_archicad.models.tapir.types.
WallQuantities ¶
Quantities of a Wall element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Net volume of the wall.
volume: float
# Conditional net volume of the wall (openings smaller than minOpeningSize are
# not subtracted).
volumeConditional: float
# Gross volume of the wall (openings not subtracted).
grossVolume: float
# Net surface on the reference line side.
referenceSideSurface: float
# Net surface on the side opposite to the reference line.
oppositeSideSurface: float
# Surface of the edges of the wall.
edgeSurface: float
# Conditional surface on the reference line side.
referenceSideSurfaceConditional: float
# Conditional surface on the side opposite to the reference line.
oppositeSideSurfaceConditional: float
# Gross surface on the reference line side.
grossReferenceSideSurface: float
# Gross surface on the side opposite to the reference line.
grossOppositeSideSurface: float
# Average of the lengths on the two sides of the wall.
length: float
# Length on the reference line side.
referenceSideLength: float
# Length on the side opposite to the reference line.
oppositeSideLength: float
# Length of the wall at its center.
centerLength: float
# Length of the reference line.
referenceLineLength: float
# Minimum height of the wall.
minHeight: float
# Maximum height of the wall.
maxHeight: float
# Floor plan area of the wall.
area: float
# Floor plan perimeter of the wall.
perimeter: float
# Surface of the windows in the wall.
windowsSurface: float
# Surface of the doors in the wall.
doorsSurface: float
# Surface of the empty openings in the wall.
emptyOpeningsSurface: float
# Volume of the empty openings in the wall.
emptyOpeningsVolume: float
Import from multiconn_archicad.models.tapir.types.
WallReferenceLineLocation ¶
The Core* values only have an effect on a Composite or Profile wall (structureType) - a Basic wall has no core skin, and Archicad falls back to the nearest non-core equivalent (e.g. CoreCenter becomes Center).
OUTSIDE = 'Outside'
CENTER = 'Center'
INSIDE = 'Inside'
CORE_OUTSIDE = 'CoreOutside'
CORE_CENTER = 'CoreCenter'
CORE_INSIDE = 'CoreInside'
Import from multiconn_archicad.models.tapir.types.
WallRelations ¶
Relations of a wall.
wallConnections: EndpointConnections
Import from multiconn_archicad.models.tapir.types.
WallSettings ¶
Settings for modifying a wall.
begCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
# height relative to bottom
height: float | None = None
# base level of the wall relative to the floor level
bottomOffset: float | None = None
# wall's base line's offset from ref. line
offset: float | None = None
# Thickness at the beginning in case of trapezoid wall
begThickness: float | None = None
# Thickness at the end in case of trapezoid wall
endThickness: float | None = None
Import from multiconn_archicad.models.tapir.types.
WallStructureType ¶
BASIC = 'Basic'
COMPOSITE = 'Composite'
PROFILE = 'Profile'
Import from multiconn_archicad.models.tapir.types.
WallThicknessDimensionData ¶
# Optional name of a Dimension favorite to base the new dimension on, e.g. for
# its layer, line pen and markers. Its settings are applied first, then the
# command sets the geometry and its usual text placement. The favorite's text
# size, text pen and text frame are not applied (tested in Archicad 28): use
# textHeight, textPen and textFrame for the texts. The Dimension tool defaults
# are left as they were.
favoriteName: str | None = None
# Optional layer attribute index to place the new dimension on. It must be an
# existing, unlocked layer. When omitted the dimension gets the layer of the
# favorite or of the Dimension tool defaults.
layerIndex: int | None = None
# Optional height of the dimension texts in millimeters (paper size), applied
# to every witness point (on creation after favoriteName).
textHeight: float | None = None
# Optional pen index of the dimension texts, applied to every witness point
# (on creation after favoriteName).
textPen: int | None = None
# Optional frame around the dimension texts (true: framed, false: not framed),
# applied to every witness point. Without it a new dimension gets the
# Dimension tool's setting.
textFrame: bool | None = None
# Optional font and style of the dimension texts (font, bold, italic,
# underline, width factor, spacing factor), applied to every witness point (on
# creation after favoriteName). Only the fields given are changed.
textStyle: DimensionTextStyle | None = None
# Optional dimension type, as in the Dimension Settings. A new dimension is
# Linear without it, whatever favoriteName or the Dimension tool defaults say.
# Elevation gives level marks, e.g. on a vertical chain in a section.
appearance: DimensionAppearance | None = None
# Optional level an Elevation dimension measures from. A new dimension gets
# the one of favoriteName or the Dimension tool defaults without it.
elevationOrigin: DimensionOrigin | None = None
# Optional marker of an Elevation dimension (Elevation dimension in the
# Dimension Settings); give any of its form, arrowAngle, arrowFilled, arrowUp
# and plusSign. The others stay as they are (on creation: as favoriteName or
# the Dimension tool defaults give them).
elevationMarker: DimensionElevationMarker | None = None
# Optional pen of the dimension and witness lines.
linePen: int | None = None
# Optional marker at the witness points; give any of its type, pen and size.
# The others stay as they are (on creation: as favoriteName or the Dimension
# tool defaults give them).
marker: DimensionMarker | None = None
# Optional text placement method of the dimension texts, as in the Dimension
# Settings; give any of its fields. The others stay as they are (on creation:
# as favoriteName or the Dimension tool defaults give them).
textPlacement: DimensionTextPlacement | None = None
# Optional witness line form, as in the Dimension Settings, applied to every
# witness point.
defaultWitnessForm: DefaultWitnessForm | None = None
# Optional value that goes with the witness line form, in meters (for Fix the
# length of the witness lines), applied to every witness point.
defaultWitnessVal: float | None = None
# Optional Static dimension checkbox of the Dimension Settings (API
# defStaticDim). A new dimension is not static without it, whatever
# favoriteName or the Dimension tool defaults say. The witness points are
# written as given either way (by elementId or by coordinate).
staticDimension: bool | None = None
# Optional: show only the dimension texts, without the dimension and witness
# lines (API onlyDimensionText). Without it a new dimension gets the setting
# of favoriteName or of the Dimension tool defaults.
onlyDimensionText: bool | None = None
# Optional opening heights in the dimension chain, from the Dimension Details
# panel of the Dimension Settings (API detailedHoleDim): the heights of the
# doors and windows dimensioned are shown with the chain. Without it a new
# dimension gets the setting of favoriteName or of the Dimension tool
# defaults.
openingHeightsInChain: bool | None = None
# Optional: the opening heights are the nominal heights, without the oversize
# (API nominalHoleDim; false: with the oversize). Without it a new dimension
# gets the setting of favoriteName or of the Dimension tool defaults.
openingHeightsNominal: bool | None = None
# Optional automatic dimensioning of layered (composite) elements. Give any of
# the three; the others stay as they are. Without it a new dimension gets the
# setting of favoriteName or of the Dimension tool defaults.
layeredElementDimensions: LayeredElementDimensions | None = None
# Optional text box of the dimension texts (API defNote): angle, background,
# frame, alignment and the leader line style, applied to every witness point
# (on creation after favoriteName). Only the fields given change.
# textBox.frame is the same setting as textFrame; giving both with different
# values is an error. The dimension is read back, and a field Archicad did not
# keep fails the item.
textBox: DimensionNote | None = None
# Optional drawing order of the texts' fill and contour: under or above the
# dimension line (API textFillOrder). Available from Archicad 27; older
# versions refuse it.
textFillOrder: DimensionTextFillOrder | None = None
# Optional: no dimension line part on the other side, opposite to the base
# point (API clipDimensionLine). Available from Archicad 30; older versions
# refuse it.
clipDimensionLine: bool | None = None
# Optional: no witness line part on the other side (API clipWitnessLine).
# Available from Archicad 30; older versions refuse it.
clipWitnessLine: bool | None = None
# Optional witness extension line, applied to every witness point (on creation
# after favoriteName). Give any of its fields; the others stay as they are.
# Available from Archicad 30; older versions refuse it.
witnessExtensionLine: DimensionWitnessExtensionLine | None = None
wallId: ElementId
referencePoint: Coordinate2D
direction: Coordinate2D
Import from multiconn_archicad.models.tapir.types.
WallWithDetails ¶
elementId: ElementId
begCoordinate: Coordinate2D | None = None
endCoordinate: Coordinate2D | None = None
# Arc angle in radians; non-zero makes the wall curved
# (begCoordinate/endCoordinate are the chord endpoints).
arcAngle: float | None = None
# Sets relativeTopStory to 0 (explicit height). Do not combine with
# relativeTopStory in the same call - whichever is applied last wins, and
# Archicad recomputes the actual height from the story elevations once
# relativeTopStory is non-zero.
height: float | None = None
# Only takes effect on a Basic (homogeneous) wall - a Composite or Profile
# wall takes its thickness from the composite or profile attribute. Send
# structureType 'Basic' in the same call to switch such a wall first.
thickness: float | None = None
# Base level of the wall relative to its home story level. Archicad keeps the
# wall's height when only the base moves, so on a wall whose top is linked to
# a story (relativeTopStory non-zero) the top moves with the base: the link
# stays, and topOffset changes by the same amount (bottomOffset -0.02 turns
# topOffset 0.78 into 0.76). To move only the base and keep the top where it
# is, send the wall's relativeTopStory and topOffset (as GetDetailsOfElements
# returns them) in the same item.
bottomOffset: float | None = None
# Reference line offset. Unavailable when the wall's referenceLineLocation is
# Center or CoreCenter after this item is applied (Archicad keeps 0 there): a
# non-zero value on such a wall fails the item instead of being dropped. 0 is
# accepted.
offset: float | None = None
structureType: WallStructureType | None = None
buildingMaterialId: AttributeId | None = None
compositeId: AttributeId | None = None
profileId: AttributeId | None = None
referenceLineLocation: WallReferenceLineLocation | None = None
# True mirrors the wall to its reference line (the side GetDetailsOfElements
# reports as flipped).
flipped: bool | None = None
# Plan outline of the wall. Trapezoid makes begThickness and endThickness the
# wall's thickness at its begin and end point. Polygonal is not settable here;
# it is read-only via GetDetailsOfElements. CreateWalls makes a Straight wall
# when this is omitted. This is unrelated to slantAlpha/slantBeta - see
# profileType for the cross section shape those depend on.
geometryType: WallModificationGeometryType | None = None
# Thickness at begCoordinate, the same value as thickness (applied after it,
# so it wins when both are given). Together with endThickness it shapes a
# Trapezoid wall (geometryType). Like thickness, it only takes effect on a
# Basic wall.
begThickness: float | None = None
# Thickness at endCoordinate. Only takes effect on a Trapezoid wall
# (geometryType); a Straight wall has one thickness. Like thickness, it only
# takes effect on a Basic wall.
endThickness: float | None = None
# Cross section shape of the wall. slantAlpha needs Slanted or Trapez,
# slantBeta needs Trapez. When omitted, CreateWalls keeps the favorite's or
# the Wall tool default's and ModifyWalls the wall's own.
profileType: WallModificationProfileType | None = None
# Angle of the slanted face in radians (pi/2 is vertical). Only takes effect
# when the wall's profileType is Slanted or Trapez, after this item is
# applied: any other value than the wall's current one or pi/2 on another wall
# fails the item instead of being dropped.
slantAlpha: float | None = None
# Angle of the second slanted face of a double slanted wall, in radians (pi/2
# is vertical). Only takes effect when the wall's profileType is Trapez, after
# this item is applied: any other value than the wall's current one or pi/2 on
# another wall fails the item instead of being dropped.
slantBeta: float | None = None
# Only has an effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Non-zero links the wall's top to another story instead of an explicit height
# - do not set together with 'height' for the same wall: whichever is applied
# last wins, and Archicad recomputes the actual height from the story
# elevations once relativeTopStory is non-zero.
relativeTopStory: float | None = None
zoneRel: WallZoneRelation | None = None
# The stories the wall is shown on. Archicad 29 keeps any combination written
# here (showRelAbove and showRelBelow 1 read back), although its Wall Settings
# offer only 'Home story only' and 'All relevant stories', with no Custom
# option to show the others (#852). 'All relevant stories' is
# isAutoOnStoryVisibility true.
visibility: StoryVisibility | None = None
# When true (the default on a new wall), Archicad recomputes 'visibility'
# automatically from the wall's vertical extent and ignores any value set for
# it. Setting 'visibility' without also setting this field turns it off
# automatically. See the note on 'visibility' for which combinations a wall
# accepts.
isAutoOnStoryVisibility: bool | None = None
referenceMaterial: OverriddenMaterial | None = None
oppositeMaterial: OverriddenMaterial | None = None
sideMaterial: OverriddenMaterial | None = None
# Pen of the cut fill. Archicad 27 and later; ignored on older versions.
cutFillPen: OverriddenPen | None = None
# Background pen of the cut fill. Archicad 27 and later; ignored on older
# versions.
cutFillBackgroundPen: OverriddenPen | None = None
# Pen of the wall's own contour/reference outline (API_WallType::contPen) -
# distinct from cutFillPen, which is the cut fill pattern's pen. Not
# inheritable/overridable like cutFillPen, it is the wall's own pen index
# directly, the same field regardless of structureType.
contourPen: int | None = None
# Pen of the wall's contour in 3D views (API_WallType::contPen3D).
contourPen3D: int | None = None
# Line type of the wall's own contour (API_WallType::contLtype) - pairs with
# contourPen, which only sets the pen, not the line type.
contourLineTypeId: AttributeId | None = None
# Line type used when "OutLines Only" is selected from the "Floor Plan
# Display" popup (API_WallType::belowViewLineType).
belowViewLineTypeId: AttributeId | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup - pairs with aboveViewLinePen.
aboveViewLineTypeId: AttributeId | None = None
displayOption: DisplayOption | None = None
# Only has an effect on a multi-story wall (relativeTopStory/topOffset making
# it span more than one story).
viewDepthLimitation: ViewDepthLimitation | None = None
# When true, the Composite's own priority is used at junctions instead of
# connectionPriority.
useCompositePriority: bool | None = None
linkToSettings: LinkToSettings | None = None
# The end surface of the wall is inherited from the adjoining wall.
inheritEndSurface: bool | None = None
# Align texture mapping to the wall's edges.
alignTexture: bool | None = None
# The polygonal wall's corners can be changed in case of L and T connections.
# Only meaningful for a Polygonal wall (geometryType).
polyCanChange: bool | None = None
# Whether the surface materials are chained.
materialsChained: bool | None = None
# Height of the log for log walls. 0 means a normal (non-log) wall.
logHeight: float | None = None
logDetails: WallLogDetails | None = None
Import from multiconn_archicad.models.tapir.types.
WallZoneRelation ¶
BOUNDARY = 'Boundary'
REDUCE_AREA = 'ReduceArea'
NONE = 'None'
SUBTRACT_FROM_ZONE = 'SubtractFromZone'
Import from multiconn_archicad.models.tapir.types.
Window3DInfo ¶
API_3DWindowInfo of the 3D Document.
setWindowSize: bool | None = None
hSize: int | None = None
vSize: int | None = None
setZoom: bool | None = None
zoomScaleX: float | None = None
zoomScaleY: float | None = None
zoomDispX: float | None = None
zoomDispY: float | None = None
Import from multiconn_archicad.models.tapir.types.
WindowData ¶
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
ownerWallId: ElementId
width: float | None = None
height: float | None = None
sillHeight: float | None = None
centerOffset: float
reflected: bool | None = None
refSide: bool | None = None
oSide: bool | None = None
# Turn the reveal on or off.
reveal: bool | None = None
# Distance the frame plane is moved across the wall thickness, along the wall
# normal.
revealDepthOffset: float | None = None
displayOption: DisplayOption | None = None
# Pen of the opening's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the opening's floor plan symbol; used unless useObjectLineTypes
# is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the opening.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the opening; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the opening.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the opening; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines ("Overhead Line Pens").
aboveViewLinePen: int | None = None
# Line type of the overhead lines ("Overhead Lines").
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the opening.
belowViewLinePen: int | None = None
# Line type of the uncut lines ("Uncut Lines").
belowViewLineTypeId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
verticalLink: WindowDoorVerticalLink | None = None
# The index of the story the opening is anchored to when verticalLink is
# 'SillToStory' or 'HeaderToStory' (API_VerticalLink::linkValue). When a story
# anchor is given without it, the opening keeps the story it is anchored to,
# or else its home story.
verticalLinkStoryIndex: int | None = None
# Sub-floor thickness: the floor build-up the sill height is given from
# (API_OpeningBaseType::subFloorThickness).
subFloorThickness: float | None = None
revealDepthLocation: WindowDoorRevealDepthLocation | None = None
# The one surface of the whole window or door (API_OpeningBaseType::mat); used
# unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
directionType: WindowDoorDirectionType | None = None
fixPoint: WindowDoorFixPoint | None = None
# Optional. Localized library part name (docu_UName) to place instead of the
# tool default/favorite, e.g. a shutter part that has no favorite. It has to
# be a window library part. Set on the created window only, with its A and B
# from `width` and `height` (or the tool default's width and height); the
# Window tool defaults are not changed.
libraryPartName: str | None = None
# Optional. Name of an existing Window favorite (as returned by
# `GetFavoritesByType`). Applied to the Window tool defaults before the
# create.
favoriteName: str | None = None
Import from multiconn_archicad.models.tapir.types.
WindowDoorDetails ¶
libPart: LibPartDetails
ownerElementId: ElementId | None = None
ownerElementType: ElementType | None = None
# Opening width.
width: float
# Opening height.
height: float
# Sill height (window) or threshold height (door).
sillHeight: float
# Center offset along the owner wall reference line.
centerOffset: float
reflected: bool
refSide: bool
oSide: bool
# Whether the reveal is turned on. The same value ModifyWindows and
# ModifyDoors take.
reveal: bool
# Distance the frame plane is moved across the wall thickness, along the wall
# normal. The same value ModifyWindows and ModifyDoors take.
revealDepthOffset: float
displayOption: DisplayOption | None = None
# Pen of the opening's floor plan symbol (API_OpeningBaseType::pen); used
# unless useObjectPens is true.
pen: int | None = None
# Line type of the opening's floor plan symbol
# (API_OpeningBaseType::ltypeInd); used unless useObjectLineTypes is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the opening
# (API_OpeningBaseType::cutLineType).
cutLineTypeId: AttributeId | None = None
# Fill of the section of the opening (API_OpeningBaseType::sectFill); used
# unless useObjectSectionAttributes is true.
sectionFillId: AttributeId | None = None
# Pen of the fill of the section of the opening
# (API_OpeningBaseType::sectFillPen).
sectionFillPen: int | None = None
# Background pen of the fill of the section of the opening
# (API_OpeningBaseType::sectBGPen).
sectionFillBackgroundPen: int | None = None
# Contour pen of the fill of the section of the opening
# (API_OpeningBaseType::sectContPen).
sectionContourPen: int | None = None
# Pen used when "Overhead All" is selected from the "Floor Plan Display"
# popup. Corresponds to the "Overhead Line Pens" value in the Door/Window
# Settings dialog.
aboveViewLinePen: int | None = None
# Line type used when "Overhead All" is selected from the "Floor Plan Display"
# popup. Corresponds to the "Overhead Lines" value in the Door/Window Settings
# dialog.
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the opening
# (API_OpeningBaseType::belowViewLinePen).
belowViewLinePen: int | None = None
# Line type used when "OutLines Only" is selected from the "Floor Plan
# Display" popup. Corresponds to the "Uncut Lines" value in the Door/Window
# Settings dialog.
belowViewLineTypeId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the section attributes defined in the library part instead of 'sectionFi
# llId'/'sectionFillPen'/'sectionFillBackgroundPen'/'sectionContourPen'.
useObjectSectionAttributes: bool | None = None
verticalLink: WindowDoorVerticalLink | None = None
# The index of the story the opening is anchored to
# (API_VerticalLink::linkValue); only returned when verticalLink is
# 'SillToStory' or 'HeaderToStory'.
verticalLinkStoryIndex: int | None = None
# Sub-floor thickness: the floor build-up the sill height is given from
# (API_OpeningBaseType::subFloorThickness).
subFloorThickness: float | None = None
revealDepthLocation: WindowDoorRevealDepthLocation | None = None
# The one surface of the whole window or door (API_OpeningBaseType::mat); used
# unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
directionType: WindowDoorDirectionType | None = None
fixPoint: WindowDoorFixPoint | None = None
# Read only. The reveal depth measured from the clicked side of the wall,
# computed by Archicad from revealDepthLocation and revealDepthOffset
# (API_WindowType::revealDepthFromSide).
revealDepthFromSide: float | None = None
# Read only. Inset on top (API_WindowType::jambDepthHead).
jambDepthHead: float | None = None
# Read only. Inset on bottom (API_WindowType::jambDepthSill).
jambDepthSill: float | None = None
# Read only. Inset on the left (API_WindowType::jambDepth).
jambDepthLeft: float | None = None
# Read only. Inset on the right (API_WindowType::jambDepth2).
jambDepthRight: float | None = None
# Read only. Whether the opening inherits the gables of its owner wall
# (API_OpeningBaseType::wallCutUsing).
wallCutUsing: bool | None = None
# Read only. The center point of the opening, measured from the beginning
# corner of the wall and rotated into the direction of the wall reference edge
# (API_WindowType::startPoint).
startPoint: Coordinate2D | None = None
# Read only. The direction vector of the opening in a polygonal wall, relative
# to the wall reference edge (API_WindowType::dirVector).
dirVector: Coordinate2D | None = None
Import from multiconn_archicad.models.tapir.types.
WindowDoorDirectionType ¶
The plane of a window or door in a slanted wall (API_WindowType::directionType): 'AssociativeToWall' follows the plane of the wall, 'Vertical' stays vertical.
ASSOCIATIVE_TO_WALL = 'AssociativeToWall'
VERTICAL = 'Vertical'
Import from multiconn_archicad.models.tapir.types.
WindowDoorFixPoint ¶
The fixed (placement) point of a window or door, relative to the owner wall's reference line (API_WindowType::fixPoint).
BEGINNING = 'Beginning'
CENTER = 'Center'
END = 'End'
Import from multiconn_archicad.models.tapir.types.
WindowDoorRevealDepthLocation ¶
What revealDepthOffset of a window or door is measured from (API_WindowType::revealDepthLocation): 'Side' the clicked face of the wall, 'Core' the core skin (clicked side) of a composite wall.
SIDE = 'Side'
CORE = 'Core'
Import from multiconn_archicad.models.tapir.types.
WindowDoorVerticalLink ¶
What the vertical position of a window or door is anchored to, as the anchor in "Preview and Positioning" (API_OpeningBaseType::verticalLink): its sill or its header, to the bottom or the top of the owner wall, or to a story (verticalLinkStoryIndex). The DevKit has no anchor to the project zero or to a reference level.
SILL_TO_WALL_BOTTOM = 'SillToWallBottom'
SILL_TO_STORY = 'SillToStory'
HEADER_TO_WALL_BOTTOM = 'HeaderToWallBottom'
HEADER_TO_STORY = 'HeaderToStory'
SILL_TO_WALL_TOP = 'SillToWallTop'
HEADER_TO_WALL_TOP = 'HeaderToWallTop'
Import from multiconn_archicad.models.tapir.types.
WindowRecreationData ¶
# The window to recreate.
elementId: ElementId
# The wall to place the new window in, as CreateWindows takes it: a wall that
# is not polygonal. It may also be the window's own wall.
ownerWallId: ElementId
# Optional position of the center of the new window along the wall, from the
# wall's beginning (API_WindowType::objLoc), as CreateWindows and
# ModifyWindows take it and GetDetailsOfElements returns it. When omitted, the
# old window's centerOffset is kept.
centerOffset: float | None = None
Import from multiconn_archicad.models.tapir.types.
WindowToClose ¶
# The database shown in the window, as GetDatabases, GetContainingDatabases or
# GetDatabaseIdFromNavigatorItemId return it.
databaseId: DatabaseId
# Optional. When given, the window is only closed when its database is of this
# type.
windowType: WindowType | None = None
Import from multiconn_archicad.models.tapir.types.
WindowType ¶
The type of a window.
FLOOR_PLAN = 'FloorPlan'
SECTION = 'Section'
DETAILS = 'Details'
FIELD_3_D_MODEL = '3DModel'
LAYOUT = 'Layout'
DRAWING = 'Drawing'
CUSTOM_TEXT = 'CustomText'
CUSTOM_DRAW = 'CustomDraw'
MASTER_LAYOUT = 'MasterLayout'
ELEVATION = 'Elevation'
INTERIOR_ELEVATION = 'InteriorElevation'
WORKSHEET = 'Worksheet'
REPORT = 'Report'
FIELD_3_D_DOCUMENT = '3DDocument'
EXTERNAL3_D = 'External3D'
MOVIE3_D = 'Movie3D'
MOVIE_RENDERING = 'MovieRendering'
RENDERING = 'Rendering'
MODEL_COMPARE = 'ModelCompare'
INTERACTIVE_SCHEDULE = 'Interactive Schedule'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
WindowWithDetails ¶
elementId: ElementId
width: float | None = None
height: float | None = None
sillHeight: float | None = None
centerOffset: float | None = None
reflected: bool | None = None
refSide: bool | None = None
oSide: bool | None = None
# Turn the reveal on or off.
reveal: bool | None = None
# Distance the frame plane is moved across the wall thickness, along the wall
# normal.
revealDepthOffset: float | None = None
displayOption: DisplayOption | None = None
# Pen of the opening's floor plan symbol; used unless useObjectPens is true.
pen: int | None = None
# Line type of the opening's floor plan symbol; used unless useObjectLineTypes
# is true.
lineTypeId: AttributeId | None = None
# Line type of the cut lines of the opening.
cutLineTypeId: AttributeId | None = None
# Fill of the section of the opening; used unless useObjectSectionAttributes
# is true.
sectionFillId: AttributeId | None = None
# Foreground pen of the fill of the section of the opening.
sectionFillPen: int | None = None
# Background pen of the fill of the section of the opening; 0 makes the
# background transparent and -1 gives it the window background color.
sectionFillBackgroundPen: int | None = None
sectionContourPen: int | None = None
# Pen of the overhead lines ("Overhead Line Pens").
aboveViewLinePen: int | None = None
# Line type of the overhead lines ("Overhead Lines").
aboveViewLineTypeId: AttributeId | None = None
# Pen of the uncut lines of the opening.
belowViewLinePen: int | None = None
# Line type of the uncut lines ("Uncut Lines").
belowViewLineTypeId: AttributeId | None = None
# Use the pens defined in the library part instead of 'pen'.
useObjectPens: bool | None = None
# Use the line types defined in the library part instead of 'lineTypeId'.
useObjectLineTypes: bool | None = None
# Use the section attributes defined in the library part instead of
# 'sectionFillId' and the section pens.
useObjectSectionAttributes: bool | None = None
verticalLink: WindowDoorVerticalLink | None = None
# The index of the story the opening is anchored to when verticalLink is
# 'SillToStory' or 'HeaderToStory' (API_VerticalLink::linkValue). When a story
# anchor is given without it, the opening keeps the story it is anchored to,
# or else its home story.
verticalLinkStoryIndex: int | None = None
# Sub-floor thickness: the floor build-up the sill height is given from
# (API_OpeningBaseType::subFloorThickness).
subFloorThickness: float | None = None
revealDepthLocation: WindowDoorRevealDepthLocation | None = None
# The one surface of the whole window or door (API_OpeningBaseType::mat); used
# unless useObjectMaterials is true.
surfaceId: AttributeId | None = None
# Use the surfaces defined in the library part instead of 'surfaceId'.
useObjectMaterials: bool | None = None
directionType: WindowDoorDirectionType | None = None
fixPoint: WindowDoorFixPoint | None = None
Import from multiconn_archicad.models.tapir.types.
WireEdge ¶
vertexIds: list[int]
Import from multiconn_archicad.models.tapir.types.
WitnessForm ¶
NONE = 'None'
SMALL = 'Small'
LARGE = 'Large'
FIX = 'Fix'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
WorkingUnitLengthFormat ¶
unit: LengthType
# Number of decimals to display for length values.
decimals: int
# Rounding of the fractional inch units, as the denominator of the smallest
# fraction shown: 1, 2, 4, 8, 16, 32 or 64.
roundInch: int
Import from multiconn_archicad.models.tapir.types.
WorkingUnitLengthFormatUpdate ¶
unit: LengthType | None = None
# Number of decimals to display for length values.
decimals: int | None = None
# Rounding of the fractional inch units, as the denominator of the smallest
# fraction shown: 1, 2, 4, 8, 16, 32 or 64.
roundInch: int | None = None
Import from multiconn_archicad.models.tapir.types.
WorkingUnitPreferences ¶
The Working Units page: the units and the number of decimals the model's lengths, areas, volumes and angles are shown with.
length: WorkingUnitLengthFormat
area: WorkingUnitAreaFormat
volume: WorkingUnitVolumeFormat
angle: AngleUnitFormat
Import from multiconn_archicad.models.tapir.types.
WorkingUnitPreferencesUpdate ¶
The Working Units page: the units and the number of decimals the model's lengths, areas, volumes and angles are shown with.
length: WorkingUnitLengthFormatUpdate | None = None
area: WorkingUnitAreaFormatUpdate | None = None
volume: WorkingUnitVolumeFormatUpdate | None = None
angle: AngleUnitFormatUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
WorkingUnitVolumeFormat ¶
unit: VolumeType
# Number of decimals to display for volume values.
decimals: int
Import from multiconn_archicad.models.tapir.types.
WorkingUnitVolumeFormatUpdate ¶
unit: VolumeType | None = None
# Number of decimals to display for volume values.
decimals: int | None = None
Import from multiconn_archicad.models.tapir.types.
WorksheetData ¶
name: str
referenceId: str
Import from multiconn_archicad.models.tapir.types.
WorksheetMarkerData ¶
# The boundary of the cut out area, at least 3 points, without repeating the
# first one.
clipPolygon: list[Coordinate2D]
# Optional arcs of the boundary, with indices into clipPolygon.
polygonArcs: list[PolyArc] | None = None
# Where the marker symbol is placed. Default is the first point of
# clipPolygon.
markerCoordinate: Coordinate2D | None = None
# Rotation of the marker symbol in radians. Default is that of the tool
# defaults.
angle: float | None = None
# Name of the new viewpoint. Default is that of the tool defaults.
name: str | None = None
# Reference ID shown in the marker and in the Project Map. A '/' splits it
# between the two lines of the marker. Default is that of the tool defaults.
id: str | None = None
# Story of the marker when it is placed on a floor plan. Default is the
# current story.
floorIndex: int | None = None
# Copy construction elements only: whether only the construction elements of
# the cut out area are copied into the new viewpoint
# (API_DetailType::constructionElementsOnly). Default is that of the tool
# defaults.
constructionElementsOnly: bool | None = None
Import from multiconn_archicad.models.tapir.types.
WouldChange ¶
What a real run would change on a target. Each command says what its oldValue and newValue are; either is left out when it cannot be told cheaply.
# The target's value now, before the change.
oldValue: Any | None = None
# The value a real run would write.
newValue: Any | None = None
Import from multiconn_archicad.models.tapir.types.
WouldChangeExecutionResult ¶
The result of a dry run for a target that passed every check: a real run would change it as wouldChange says.
success: Literal[True] = True
wouldChange: WouldChange
Import from multiconn_archicad.models.tapir.types.
WouldDeleteExecutionResult ¶
The result of a dry run for a target that passed every check: a real run would delete it.
success: Literal[True] = True
wouldDelete: Literal[True] = True
Import from multiconn_archicad.models.tapir.types.
WouldDeleteStory ¶
# The index of the story.
index: int
# The name of the story.
name: str
# The number of elements whose home story is the story (in the floor plan
# database): Archicad deletes them together with it.
elementCount: int
Z¶
Import from multiconn_archicad.models.tapir.types.
ZoneBoundariesOfZonesWrapper ¶
# The boundaries of each requested Zone, in the same order as the zones array
# of the input.
zoneBoundariesOfZones: list[ZoneBoundariesWrapper | ErrorItem]
Import from multiconn_archicad.models.tapir.types.
Import from multiconn_archicad.models.tapir.types.
ZoneBoundariesWrapper ¶
zoneBoundaries: list[ZoneBoundary]
Import from multiconn_archicad.models.tapir.types.
ZoneBoundary ¶
# The unique identifier of the connected element.
connectedElementId: ElementId
# True if the boundary is an external one.
isExternal: bool
# Returns the unique identifier of the other Zone the element connects to if
# the boundary is internal. Please note that this boundary does not represent
# the boundary of the element with the other Zone.
neighbouringZoneElementId: ElementId
# The area of the polygon of the boundary.
area: float
# The outline polygon of the boundary.
polygonOutline: list[Coordinate3D]
Import from multiconn_archicad.models.tapir.types.
ZoneBoundaryMethod ¶
How an automatic zone found its boundary: ReferenceLine when it is surrounded by the reference lines of the walls, InnerEdge when by their inner edges (side lines). A ReferenceLine zone's polygon is expected to differ from the inner faces of its walls, and only such a zone uses polygonDisplay. Read only; only present when isManual is false.
REFERENCE_LINE = 'ReferenceLine'
INNER_EDGE = 'InnerEdge'
Import from multiconn_archicad.models.tapir.types.
ZoneBoundaryPart ¶
Section of a wall, beam or curtain wall segment related to a zone.
elementId: ElementId
# Index of the zone polygon edge adjacent to the element (not present for
# beams).
roomEdgeIndex: int | None = None
# Beginning distance of the section from the beginning point of the element.
begDistance: float
# End distance of the section from the beginning point of the element.
endDistance: float
Import from multiconn_archicad.models.tapir.types.
ZoneCategoryAttribute ¶
A zone category attribute.
attributeId: AttributeId
index: int
name: str
categoryCode: str | None = None
color: ColorRGB | None = None
stampName: str | None = None
stampMainGuid: str | None = None
stampRevGuid: str | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneCategoryAttributeField ¶
CATEGORY_CODE = 'categoryCode'
COLOR = 'color'
STAMP_NAME = 'stampName'
STAMP_MAIN_GUID = 'stampMainGuid'
STAMP_REV_GUID = 'stampRevGuid'
Import from multiconn_archicad.models.tapir.types.
ZoneCategoryAttributeOrError ¶
ZoneCategoryAttributeOrError: TypeAlias = (
ZoneCategoryAttribute | ErrorItem
)
Import from multiconn_archicad.models.tapir.types.
ZoneCategoryData ¶
Data to create a Zone Category.
# Indentifier of the existing Zone Category to overwrite, ignored if
# overwriteExisting is false.
attributeId: AttributeId | None = None
# Index of the existing Zone Category to overwrite, ignored if
# overwriteExisting is false.
index: str | None = None
# Name. If overwriteExisting is true, then the existing Zone Category with the
# given name will be overwritten. It must not be empty.
name: str
# Code of the Zone Category.
categoryCode: str | None = None
color: ColorRGB | None = None
# Document name of the zone stamp library part (GSM) to use, e.g. the value
# returned by GetZoneCategories or shown as StampDocumentName in an Attribute
# Manager XML export. Only used together with stampMainGuid/stampRevGuid;
# ignored otherwise.
stampName: str | None = None
# Main GUID of the zone stamp library part to use, e.g. the value returned by
# GetZoneCategories for an existing Zone Category or shown as MainGuid in an
# Attribute Manager XML export. If omitted, the stamp is copied from the Zone
# Category being overwritten, or from an existing Zone Category of the project
# when creating a new one.
stampMainGuid: str | None = None
# Revision GUID of the zone stamp library part to use, e.g. the value shown as
# RevGuid in an Attribute Manager XML export. Required together with
# stampMainGuid.
stampRevGuid: str | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneContourLine ¶
The contour line of a zone on the floor plan. GetDetailsOfElements returns every field; when setting, only the given fields are changed.
# Whether the contour line is drawn.
use: bool | None = None
# The pen index of the contour line.
pen: int | None = None
# The line type attribute of the contour line.
lineTypeId: AttributeId | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneCoverFill ¶
The cover fill of a zone on the floor plan. GetDetailsOfElements returns every field; when setting, only the given fields are changed.
# Whether the cover fill is drawn.
use: bool | None = None
# The fill attribute of the cover fill.
fillId: AttributeId | None = None
# The pen index of the fill pattern.
foregroundPen: int | None = None
# The pen index of the fill background. 0 is a transparent background; -1 also
# occurs in projects and is accepted, so a value read with
# GetDetailsOfElements can always be written back.
backgroundPen: int | None = None
# "Use the fill of the surface": true draws the cover fill with the vectorial
# 3D hatch of the zone's top surface instead of fillId.
use3DHatching: bool | None = None
# The orientation of the cover fill. true: the fill is linked to the zone
# (rotated), starting at locOrigo in the direction of fillAngle. false: the
# fill is linked to the project origin and is not rotated.
useLocalOrigo: bool | None = None
# The origin of the cover fill when useLocalOrigo is true.
locOrigo: Coordinate2D | None = None
# The angle of the cover fill when useLocalOrigo is true, in radians.
fillAngle: float | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneCreationGeometry ¶
ZoneCreationGeometry: TypeAlias = (
AutomaticZoneGeometry | ManualZoneGeometry
)
Import from multiconn_archicad.models.tapir.types.
ZoneData ¶
The parameters of the new Zone.
# Optional name of a favorite to base the new element on. Its settings are
# applied first, then the explicitly given fields override them.
favoriteName: str | None = None
# Optional Element ID of the new element (the ID field of the Settings dialog,
# shown in schedules and labels; the same string GetDetailsOfElements returns
# as id). When omitted the element gets the next automatic ID of its tool.
id: str | None = None
# Optional story index of the new zone. An automatic zone
# (geometry.referencePosition) is found around its reference point on this
# story, which is made active in the floor plan while the zone is created; the
# previously active story is restored afterwards.
floorIndex: float | None = None
# Optional layer attribute index to place the new element on. It must be an
# existing, unlocked layer. When omitted the element gets the layer of the
# favorite or of the tool defaults.
layerIndex: int | None = None
# Name of the zone.
name: str
# Zone number.
numberStr: str
# The identifier of the zone category attribute.
categoryAttributeId: AttributeId | None = None
# Position of the origin of the zone stamp.
stampPosition: Coordinate2D | None = None
# Optional zone stamp rotation angle in radians.
stampAngle: float | None = None
# If true, the zone stamp angle remains fixed when the element is rotated.
fixedStampAngle: bool | None = None
# Optional contour line of the zone. Fields that are left out keep the value
# of the favorite or of the Zone tool defaults.
contourLine: ZoneContourLine | None = None
# Optional cover fill of the zone. Fields that are left out keep the value of
# the favorite or of the Zone tool defaults.
coverFill: ZoneCoverFill | None = None
# Optional 3D surface of the zone (the Model panel). Fields that are left out
# keep the value of the favorite or of the Zone tool defaults.
surface: ZoneSurface | None = None
# Optional zone polygon display: Gross uses the reference line of the bounding
# walls, Net their inner edges. Only has an effect for a zone whose boundary
# is the reference line of the walls. When omitted, the value of the favorite
# or of the Zone tool defaults is kept.
polygonDisplay: ZonePolygonDisplay | None = None
# Optional pen of the zone stamp. Fields that are left out keep the value of
# the favorite or of the Zone tool defaults.
stampPen: ZoneStampPen | None = None
# Optional percentage the calculated area of the zone is reduced by; 0 means
# no reduction. When omitted, the value of the favorite or of the Zone tool
# defaults is kept.
reducePercent: float | None = None
# Optional, defaults to false. Archicad answers a new zone whose area overlaps
# an existing zone on the same story with a modal warning dialog that blocks
# the API until it is dismissed, so by default such an item fails with an
# error naming the overlapping zone and no element is created for it. Set it
# to true to skip this check and create the zone anyway; the dialog may then
# appear. Zones that only touch (a shared edge or corner) do not overlap;
# curved edges are checked by their chords, and an automatic zone counts as
# overlapping when its referencePosition lies inside an existing zone.
allowOverlap: bool | None = None
# Optional height of the zone from its bottom. Sets relativeTopStory to 0
# (explicit height); when omitted, the height and top link of the favorite or
# of the Zone tool defaults are kept. Do not combine with relativeTopStory.
height: float | None = None
# Optional base level of the zone relative to its home story level.
bottomOffset: float | None = None
# Optional offset of the top of the zone from the linked top story level. Only
# has an effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Optional top link: non-zero links the top of the zone to another story,
# relative to its home story (1 is the story above), instead of an explicit
# height. Do not combine with height.
relativeTopStory: float | None = None
# Optional thickness of the floor finish (subfloor thickness) of the zone.
floorThickness: float | None = None
# Optional letter size of the zone (roomLSize of the Archicad API) in
# millimetres, not in metres like the other lengths. The zone stamps of the
# current Archicad libraries size their texts with their own parameters
# (GetGDLParametersOfElements, SetGDLParametersOfElements), so this value may
# not change how the stamp looks.
roomLSize: float | None = None
# Defines the geometry of a zone. Used as input for creating zones.
geometry: AutomaticZoneGeometry | ManualZoneGeometry
Import from multiconn_archicad.models.tapir.types.
ZoneDetails ¶
# Name of the zone.
name: str
# Zone number.
numberStr: str
# The identifier of the zone category attribute.
categoryAttributeId: AttributeId
# Position of the origin of the zone stamp.
stampPosition: Coordinate2D
# Rotation angle of the zone stamp in radians.
stampAngle: float | None = None
# If true, the zone stamp angle remains fixed when the element is rotated.
fixedStampAngle: bool | None = None
# Is the coordinates of the zone manually placed?
isManual: bool
# The reference point an automatic zone was placed from (the referencePosition
# of CreateZones); the zone is found around it when zones are updated. Only
# present when isManual is false.
referencePosition: Coordinate2D | None = None
boundaryMethod: ZoneBoundaryMethod | None = None
# The 2D coordinates of the edge of the zone.
polygonOutline: list[Coordinate2D]
# Polygon outline arcs of the zone.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D] | None = None
# Absolute elevation of the bottom of the zone (the home story level plus
# bottomOffset).
zCoordinate: float
# Height of the zone from its bottom. When relativeTopStory is non-zero,
# Archicad calculates it from the story levels and topOffset.
height: float
# Base level of the zone relative to its home story level.
bottomOffset: float
# Offset of the top of the zone from the linked top story level. Only has an
# effect when relativeTopStory is non-zero.
topOffset: float
# The story the top of the zone is linked to, relative to its home story (1 is
# the story above). 0 means not linked: the top is set by height.
relativeTopStory: float
# Thickness of the floor finish (subfloor thickness) of the zone.
floorThickness: float
# Letter size of the zone (roomLSize of the Archicad API) in millimetres, not
# in metres like the other lengths. The zone stamps of the current Archicad
# libraries size their texts with their own parameters
# (GetGDLParametersOfElements), so this value may not change how the stamp
# looks.
roomLSize: float
contourLine: ZoneContourLine
coverFill: ZoneCoverFill
surface: ZoneSurface
polygonDisplay: ZonePolygonDisplay
stampPen: ZoneStampPen
# Reduces the calculated area of the zone by this percentage ("reduce area by
# %" of the Zone settings). 0 means no reduction.
reducePercent: float
Import from multiconn_archicad.models.tapir.types.
ZoneHeightLimit ¶
# The ceiling height limit in meters.
height: float
# The reduction of the area under this limit, in percent.
reductionPercent: float
Import from multiconn_archicad.models.tapir.types.
ZoneHeightLimitUpdate ¶
# The ceiling height limit in meters.
height: float | None = None
# The reduction of the area under this limit, in percent.
reductionPercent: float | None = None
Import from multiconn_archicad.models.tapir.types.
ZonePolygonDisplay ¶
The zone polygon display of the Zone settings: Gross uses the reference line of the bounding walls, Net their inner edges. Archicad only uses it for a zone whose boundary is the reference line of the walls (boundaryMethod ReferenceLine in GetDetailsOfElements); for other zones it is stored but has no effect.
GROSS = 'Gross'
NET = 'Net'
Import from multiconn_archicad.models.tapir.types.
ZonePreferences ¶
The Zones page: the reduction of the calculated zone area under a low ceiling. The wall inset (niche) sizes of the page are not available through the API.
lowCeilingAreaReduction: LowCeilingAreaReduction
Import from multiconn_archicad.models.tapir.types.
ZonePreferencesUpdate ¶
The Zones page: the reduction of the calculated zone area under a low ceiling. The wall inset (niche) sizes of the page are not available through the API.
lowCeilingAreaReduction: LowCeilingAreaReductionUpdate | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneQuantities ¶
Quantities of a Zone element, as calculated by Archicad. Lengths in meters, areas in square meters, volumes in cubic meters.
# Measured area of the zone.
area: float
# Net area of the zone.
netArea: float
# Calculated area of the zone (after reductions).
calculatedArea: float
# Perimeter of the zone.
perimeter: float
# Net perimeter of the zone.
netPerimeter: float
# Volume of the zone.
volume: float
# Height of the zone.
height: float
# Length of the perimeter walls.
wallsPerimeter: float
# Surface of the perimeter walls.
wallsSurface: float
# Surface of the doors in the zone.
doorsSurface: float
# Surface of the windows in the zone.
windowsSurface: float
Import from multiconn_archicad.models.tapir.types.
ZoneRecreationData ¶
# The automatic zone to recreate.
elementId: ElementId
# Must be true: the new zone is a manual zone (isManual in
# GetDetailsOfElements) with the polygon the old zone has now (its
# polygonOutline, polygonArcs and holes), so it no longer follows its
# boundaries when the zones are updated. Archicad does not turn an automatic
# zone into a manual one through ACAPI_Element_Change (seen in Archicad 29). A
# zone that is manual already is refused, as there is nothing to change.
makeManual: bool
# Optional, defaults to false. As in CreateZones: a new zone that would
# overlap another zone of the same story (not the old zone, which is deleted
# first) fails with an error naming that zone, instead of risking Archicad's
# modal overlap warning, which blocks the API. Set it to true to create the
# zone anyway; the dialog may then appear.
allowOverlap: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneReduction ¶
type: ZoneReductionType
# The percentage by which the area of the polygon reduces the Zone area, as
# the DevKit reports it.
percent: float
# The area of the polygon in square meters.
area: float
# The 2D coordinates of the outline of the polygon in meters; the last
# coordinate repeats the first.
polygonOutline: list[Coordinate2D]
# The arcs of the outline, indices into polygonOutline. Absent when the
# outline has no arc.
polygonArcs: list[PolyArc] | None = None
# A list of 2D holes in an element defined by closed polylines
holes: list[Hole2D]
Import from multiconn_archicad.models.tapir.types.
ZoneReductions ¶
# The reduction polygons of the Zone, as its Zone Stamp's area calculation
# uses them: the parts of the Zone polygon covered by Walls, Columns and
# reducing Fills, and the parts under a low ceiling (for example under a
# sloping Roof), each with the percentage it is reduced by and its area. Empty
# when nothing reduces the Zone's area.
reductions: list[ZoneReduction]
Import from multiconn_archicad.models.tapir.types.
ZoneReductionType ¶
What reduces the area in the polygon, as the DevKit's APIRoomReduction type of the polygon: Wall, Column, Hatch (a Fill set to reduce the Zone area), Gable (a low ceiling, for example the part under a sloping Roof below the low ceiling height), or Rest (the remaining polygon of the Zone). Unknown for a value this version of Tapir does not name.
REST = 'Rest'
WALL = 'Wall'
COLUMN = 'Column'
HATCH = 'Hatch'
GABLE = 'Gable'
UNKNOWN = 'Unknown'
Import from multiconn_archicad.models.tapir.types.
ZoneRelations ¶
The relations of a zone: the related elements grouped by type and the boundary sections of walls, beams and curtain wall segments.
# The elements related to the zone, grouped by element type.
elementsGroupedByType: list[ElementsOfElementType]
# Sections of walls that border the zone.
wallParts: list[ZoneBoundaryPart]
# Sections of beams related to the zone.
beamParts: list[ZoneBoundaryPart]
# Sections of curtain wall segments that border the zone.
curtainWallSegmentParts: list[ZoneBoundaryPart]
Import from multiconn_archicad.models.tapir.types.
ZoneRelationsOfElement ¶
Relations of a zone.
zoneRelations: ZoneRelations
Import from multiconn_archicad.models.tapir.types.
ZoneSettings ¶
Settings for modifying a zone. Only the given fields are changed, the polygon is kept. Set height and bottomOffset with ModifyZones: in SetDetailsOfElements they would make a wall's settings ambiguous.
# Name of the zone.
name: str | None = None
# Zone number.
numberStr: str | None = None
# The identifier of the zone category attribute.
categoryAttributeId: AttributeId | None = None
# Position of the origin of the zone stamp.
stampPosition: Coordinate2D | None = None
# Rotation angle of the zone stamp in radians.
stampAngle: float | None = None
# If true, the zone stamp angle remains fixed when the element is rotated.
fixedStampAngle: bool | None = None
# Offset of the top of the zone from the linked top story level. Only has an
# effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Non-zero links the top of the zone to another story, relative to its home
# story (1 is the story above), instead of an explicit height. Do not set
# together with height (ModifyZones) in the same call: whichever is applied
# last wins.
relativeTopStory: float | None = None
# Thickness of the floor finish (subfloor thickness) of the zone.
floorThickness: float | None = None
# Letter size of the zone (roomLSize of the Archicad API) in millimetres, not
# in metres like the other lengths. The zone stamps of the current Archicad
# libraries size their texts with their own parameters
# (GetGDLParametersOfElements, SetGDLParametersOfElements), so this value may
# not change how the stamp looks.
roomLSize: float | None = None
# Moves the reference point of an automatic zone; the zone is found around the
# new point when zones are next updated. Ignored for a manual zone (isManual
# true).
referencePosition: Coordinate2D | None = None
contourLine: ZoneContourLine | None = None
coverFill: ZoneCoverFill | None = None
surface: ZoneSurface | None = None
polygonDisplay: ZonePolygonDisplay | None = None
stampPen: ZoneStampPen | None = None
# Reduces the calculated area of the zone by this percentage ("reduce area by
# %" of the Zone settings). 0 means no reduction.
reducePercent: float | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneStampCategory ¶
The Zone Category of the Zone tool defaults. Absent when the defaults refer to no existing Zone Category.
categoryAttributeId: AttributeId
# The name of the Zone Category.
name: str
# The code of the Zone Category.
categoryCode: str
# The name of the zone stamp of the Zone Category.
stampName: str
# The main guid of the zone stamp of the Zone Category.
stampMainGuid: str
# The index of the Zone Category's zone stamp in the loaded libraries. Absent
# when it is not loaded; then useStampOfCategory of SetZoneStampOfDefaults
# cannot be used with this category.
stampIndex: int | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneStampOfDefaults ¶
The zone stamp (library part) of the Zone tool defaults, which every new Zone starts from.
# The library part index of the zone stamp.
index: int
# True when the zone stamp is not in the loaded libraries (it cannot be read,
# or its definition is missing). Archicad then refuses to create Zones, so
# CreateZones fails until SetZoneStampOfDefaults gives the defaults a loaded
# zone stamp.
isMissing: bool
# The name of the zone stamp. Absent when the library part cannot be read.
name: str | None = None
# The main guid of the zone stamp. Absent when the library part cannot be
# read.
guid: str | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneStampPen ¶
The pen of the zone stamp. GetDetailsOfElements returns every field; when setting, only the given fields are changed.
# Uniform stamp pen: true draws the whole stamp with pen, false uses the pens
# defined in the zone stamp (category) library part.
uniform: bool | None = None
# The pen index of the zone stamp. Only used when uniform is true.
pen: int | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneSurface ¶
The 3D surface of a zone (the Model panel of the Zone Settings dialog). GetDetailsOfElements returns every field; when setting, only the given fields are changed.
# The surface attribute of the zone's 3D body: of all its sides when
# useOnAllSides is true, otherwise of the sides that do not inherit a surface
# from a bounding element.
surfaceId: AttributeId | None = None
# true: surfaceId is used on all sides of the zone. false: the sides inherit
# the surfaces of the bounding walls and trimming elements.
useOnAllSides: bool | None = None
Import from multiconn_archicad.models.tapir.types.
ZoneWithDetails ¶
elementId: ElementId
# Name of the zone.
name: str | None = None
# Zone number.
numberStr: str | None = None
# The identifier of the zone category attribute.
categoryAttributeId: AttributeId | None = None
# Position of the origin of the zone stamp.
stampPosition: Coordinate2D | None = None
# Rotation angle of the zone stamp in radians.
stampAngle: float | None = None
# If true, the zone stamp angle remains fixed when the element is rotated.
fixedStampAngle: bool | None = None
# Height of the zone from its bottom. Sets relativeTopStory to 0 (explicit
# height), so do not combine it with relativeTopStory in the same call:
# whichever is applied last wins.
height: float | None = None
# Base level of the zone relative to its home story level.
bottomOffset: float | None = None
# Offset of the top of the zone from the linked top story level. Only has an
# effect when relativeTopStory is non-zero.
topOffset: float | None = None
# Non-zero links the top of the zone to another story, relative to its home
# story (1 is the story above), instead of an explicit height. Do not set
# together with height in the same call, see the note on height.
relativeTopStory: float | None = None
# Thickness of the floor finish (subfloor thickness) of the zone.
floorThickness: float | None = None
# Letter size of the zone (roomLSize of the Archicad API) in millimetres, not
# in metres like the other lengths. The zone stamps of the current Archicad
# libraries size their texts with their own parameters
# (GetGDLParametersOfElements, SetGDLParametersOfElements), so this value may
# not change how the stamp looks.
roomLSize: float | None = None
# Contour line of the zone. Only the given fields are changed.
contourLine: ZoneContourLine | None = None
# Cover fill of the zone. Only the given fields are changed.
coverFill: ZoneCoverFill | None = None
# 3D surface of the zone (the Model panel). Only the given fields are changed.
surface: ZoneSurface | None = None
polygonDisplay: ZonePolygonDisplay | None = None
# Pen of the zone stamp. Only the given fields are changed.
stampPen: ZoneStampPen | None = None
# Reduces the calculated area of the zone by this percentage ("reduce area by
# %" of the Zone settings). 0 means no reduction.
reducePercent: float | None = None
# Optional new polygon of a manual zone (isManual true in
# GetDetailsOfElements): its outline, arcs and holes, the same geometry as a
# manual zone of CreateZones. The whole polygon is replaced and the zone keeps
# its GUID, properties and other settings; the stamp stays where it is unless
# stampPosition is given too. Refused for an automatic zone, whose polygon
# Archicad computes from its boundaries (see UpdateZones).
geometry: ManualZoneGeometry | None = None
# Optional, defaults to false, only used with geometry. As in CreateZones: a
# new polygon that would overlap another zone on the same story fails with an
# error naming that zone instead of risking Archicad's modal overlap warning,
# which blocks the API. Set it to true to change the polygon anyway.
allowOverlap: bool | None = None
Import from multiconn_archicad.models.tapir.types.
Zoom ¶
A rectangular zoom box in model coordinates.
# The minimum X value of the zoom box.
xMin: float
# The minimum Y value of the zoom box.
yMin: float
# The maximum X value of the zoom box.
xMax: float
# The maximum Y value of the zoom box.
yMax: float
Import from multiconn_archicad.models.tapir.commands.
ZoomToElementsParameters ¶
# A list of elements.
elements: list[ElementIdArrayItem]
# Restore the selection the window had before the command (default). With
# false the given elements stay selected.
keepSelection: bool | None = None
Import from multiconn_archicad.models.tapir.commands.
ZoomToElementsResult ¶
ZoomToElementsResult: TypeAlias = (
SuccessfulExecutionResult | FailedExecutionResult
)