LibrariesΒΆ
Library of all the useful methods which can be used during the development of a script or a workflow sequence.
Each of the method should Only perform one small single purpose. For example:
Add(x,y):
result = x + y
return result
Average(x,y):
result = Add(x,y) / 2
return result
Note
Average function reuses Add function to reduce data redundancy and help code management.
Access the method with the following:
import armacode
line = armacode.AddLine()
- AddBlock
- AddDimAlignedFromLine
- AddDimLinearFromLine
- AddLayer
- AddLineEX
- AddLinearDimension
- AddObjectsToBlock
- AddPlaneSurfaceCenter
- AnnotationProperties
- AnnotationText
- BlockInstanceBasePlane
- BlockModify
- BlockProperties
- BrepEdgeCreaseAngle
- BrepEdges
- BrepReorderFaces
- BrepSplitWithCurves
- CSVOpen
- CSVRead
- CSVWrite
- ClearUserText
- CommonEdge
- CreaseAngle
- CurveDuplicates
- CurveSplitOverlap
- DebugArray2D
- DebugCurveDeviation
- DebugLine
- DebugValues
- DebugVector
- DebugVector2
- DictionaryMerge
- DimensionValue
- DuplicateLayout
- EditBox_EX
- ExcelRead
- ExcelReload
- ExcelRun
- ExplodeBlockInstance
- FileIsModifiedWithin
- FileOpen
- GHLockAfterSolve
- GHParallel
- GeneratePlug
- GetObjectsWithOptions
- GetProjectFolder
- GetRelativeFolder
- GetUserText
- GetUserTextAll
- InspectObject
- IsGHPython
- IsLoaded
- IsObjectInsideCurve
- LayerIds
- LayerProperties
- LayerTruncate
- LayoutDetails
- LayoutProperties
- LinkToObject
- LinkedObject
- List2DToArray2D
- ListPurge
- LoadConfig
- Logger
- MatchLayerAttributes
- MatchObjectAttributes
- NumberPadding
- ObjectGroupList
- ObjectLayer
- ObjectLayerList
- ObjectNameList
- ObjectProperties
- ObjectPropertiesMerge
- ObjectReferencePoint
- ObjectsByAttributes
- ObjectsByLayout
- ObjectsByQuery
- ObjectsByUserString
- ObjectsInBrep
- ObjectsInClosedCurve
- ObjectsInView
- ObjectsSortByName
- OffsetCurve
- OrientObjects
- ParallelRun
- PlaneAlign
- PlaneFromObject
- PlaneFromPolyline
- PlaneFromSurface
- PlaneGetFromUserText
- PlaneSetToUserText
- PointClosestObject
- PointClosestObjects
- PrintAll
- PrintPDF
- PrintPDFSetup
- ProcessPerFile
- ProgressBar
- PullPolylineToObjects
- RandomColor
- RangeFormat
- SaveFileName
- ScreenShot
- SelectedObjects
- SetUserAttributeToObjects
- SetUserText
- SetUserTextFromDict
- SortByIndices
- SortObjectsAlongCurve
- SortObjectsAlongPolyline
- SortSynchronous
- StickyGet
- StickySet
- StringFieldNames
- StringFromAttributes
- TextObjectTextFormula
- TextObjectsByFont
- TextObjectsByProperties
- UnfoldBrep
- UnfoldBrepAuto
- UnfoldSurface
- ValueRemap
- VectorFromLine
- ViewRadius
- ViewSize