πŸ€– New in SPACE GASS 14.51 β€” the MCP server lets your AI agent build, analyse and design your models. Get started β†’
SpaceGass API
SPACE GASS API

Unit settings sub-resource of the job


Get Units

GET
/api/v1
/job/units

Gets the current unit settings for the job.

Get Units β€Ί Responses

Returns the current units

Unit settings for the current job.
length
​LengthUnitΒ Β·Β enum

Length unit.

Enum values:
ft
in
m
cm
mm
sectionProperties
​SectionPropertiesUnitΒ Β·Β enum

Unit for section properties (area, moment of inertia, etc.).

Enum values:
ft
in
m
cm
mm
materialStrength
​MaterialStrengthUnitΒ Β·Β enum

Material strength unit (yield stress, ultimate stress, etc.).

Enum values:
Ksf
Psf
Ksi
Psi
MPa
kPa
Pa
kgperm2
massDensity
​MassDensityUnitΒ Β·Β enum

Mass density unit.

Enum values:
Kperft3
Kperin3
lbperft3
lbperin3
Tperm3
Tpercm3
Tpermm3
kgperm3
temperature
​TemperatureUnitΒ Β·Β enum

Temperature unit.

Enum values:
degF
degC
force
​ForceUnitΒ Β·Β enum

Force unit.

Enum values:
K
lb
kN
N
kg
moment
​MomentUnitΒ Β·Β enum

Moment unit.

Enum values:
Kft
Kin
lbft
lbin
kNm
kNcm
kNmm
Nm
mass
​MassUnitΒ Β·Β enum

Mass unit.

Enum values:
K
lb
T
kg
acceleration
​AccelerationUnitΒ Β·Β enum

Acceleration unit.

Enum values:
gs
ftpersec2
inpersec2
mpersec2
cmpersec2
mmpersec2
kNperkg
translation
​TranslationUnitΒ Β·Β enum

Translation (displacement) unit. Inches are inch, not in.

Enum values:
ft
inch
m
cm
mm
stress
​StressUnitΒ Β·Β enum

Stress unit.

Enum values:
Ksf
Psf
Ksi
Psi
MPa
kPa
Pa
kgperm2

Get Units Metadata

GET
/api/v1
/job/units/metadata

Returns the schema for GET /job/units β€” one entry per unit property with the full list of allowedValues (SPACE GASS unit tokens + display labels). Use this to drive a units-picker UI without round-tripping to Swagger.

Get Units Metadata β€Ί Responses

Returns the units schema

Metadata describing an API resource β€” entity, sub-resource, or result set. Returned from `GET …/metadata` endpoints so clients can introspect the shape, units, and valid values of the data without hitting a live endpoint.
resourceType
​string | null

Resource type identifier β€” e.g. "Members", "NodeLoads", "StaticResults".

Example: Members
count
​integer | nullΒ Β·Β int32

Current count of items in this resource. Null for sub-resources whose count does not apply uniformly.

maxId
​integer | nullΒ Β·Β int32

Maximum Id currently in use (single-int Id entities only).

nextId
​integer | nullΒ Β·Β int32

Next available Id (single-int Id entities only).

​array | null

Field definitions describing the resource's wire shape. Each entry corresponds to a property on the read DTO; jsonName matches the JSON key clients see. On a results endpoint each field also says whether sort and distinctBy accept it and which value-filter parameters apply to it.