We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Construct Quantity

Add unit to a number to convert it into a quantity. When the unit is not supplied, document unit is used.
Use 'Parse String' component to create a feet & inch length quantity.

Inputs

NameIDDescriptionType
AmountAAmountNumber
UnitUIf optional or empty, current document unit will be used.String
PrecisionPOptional. By default 4.Integer

Outputs

NameIDDescriptionType
QuantityQConstructed QuantityPancake.GH.Params.GhQuantity

Site design © Robin Rodricks.   Site co-created by Andrew Heumann.   Pancake and associated data © 2024 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service