The following are the various options for reading and/or writing ITM properties in Autodesk Fabrication. In most cases, the syntax can be copied/pasted directly into a file and function properly. They should be edited for your particular use. This allows you to short cut your time by not having to experiment to figure out code syntax.
Please take notice of the following notes…
(a) – Undocumented in prior Autodesk documentation
(b) – Available only in 2019.1 and later versions of Autodesk Fabrication
(c) – {index} is a numerical based index (starting at 1) referring to a particular item in a collection. e.g. “item.connector[2].value” refers to the
second connector in the Connector object.
(d) – {index} / {name} can use either a numerical based index (starting at 1) or a string “text” name to refer to the item in a collection. e.g. “item.dim[2].value” would refer to the second dimension in the Dim object. Likewise, “item.dim[“radius“].value” would refer to the dimension field named Radius in the Dim object (provided there is one with that name).
(e) – When accessing a “SubItem” object, all the object properties still apple. e.g. “item.subitem[1].connector[2].value” will get you to the second connector of the first subitem in an assembly ITM.
(f) – Only available on Patterns 522, 1522, 2522. When set to “None”, COD Scripts return “Error” however the property can be set by specifying “None”. Thanks to Liz Fong at MacDonald Miller Facility Solutions for discovering this property.
(g) – Only available in 2022.0 and later versions of Autodesk Fabrication.
(h) – Works in 2016 and prior versions. Stopped working in 2017 and later.
(i) – Write Only in versions 2021 and earlier. Became Read/Write in 2022.
(j) – Only available in 2017.0 and later versions of Autodesk Fabrication.
(z1) – Thanks to Steven Schmitt at MTech Mechanical for providing info on this property.
Scope | Notes | Syntax |
---|---|---|
Read | item.airturns | |
Read | (c)(g) | item.airturn[{index}].group |
Read/Write | (c) | item.airturn[{index}].value |
Read/Write | (c) | item.airturn[{index}].locked |
Read/Write | item.alias | |
Read/Write | item.alternate | |
Read/Write | item.bitmap | |
Read/Write | item.boughtout | |
Read/Write | (a) | item.box |
Read/Write | item.buttonalias | |
Read/Write | item.buttoncode | |
Read/Write | item.cadblock | |
Read | (a) | item.catalogue |
Read/Write | item.cid | |
Read/Write | item.comment | |
Read | item.connectors | |
Read/Write | (c) | item.connector[{index}].alt |
Read | (c) | item.connector[{index}].group |
Read/Write | (c) | item.connector[{index}].locked |
Read/Write | (f) | item.connector[{index}].material |
Read | (c) | item.connector[{index}].type |
Read/Write | (c) | item.connector[{index}].value |
Read/Write | item.costbylength | |
Read/Write | item.costtype | |
Read | (d) | item.customdata[{name}/{index}].id |
Read/Write | (d) | item.customdata[{name}/{index}].value |
Read/Write | item.cuttype | |
Read | item.dampers | |
Read/Write | (c) | item.damper[{index}].locked |
Read/Write | (c)(j) | item.damper[{index}].rotation |
Read/Write | (c) | item.damper[{index}].value |
Read/Write | item.databaseid | |
Read | item.dblock | |
Read | item.dblock.history | |
Read | item.dblock.history.changed | |
Read | item.dblock.history.history | |
Read | item.dblock.history.info | |
Read | item.dblock.history.owner | |
Read | item.dblock.history.version | |
Read | item.dblock.owner | |
Read | item.dblock.version | |
Read | item.decoiler.beading | |
Read | item.decoiler.coilwidth | |
Read | item.decoiler.smalllength | |
Read | item.decoiler.stdlength | |
Read | item.decoiler.stdqty | |
Read/Write | item.description | |
Read | item.dims | |
Read | (d) | item.dim[{name}/{index}].annotation |
Read/Write | (d) | item.dim[{name}/{index}].locked |
Read | (d) | item.dim[{name}/{index}].name |
Read | (d) | item.dim[{name}/{index}].numvalue |
Read | (d) | item.dim[{name}/{index}].status |
Read/Write | (d) | item.dim[{name}/{index}].value |
Read/Write | item.dimside | |
Read/Write | item.dimsidelock | |
Read/Write | item.doublewall | |
Read/Write | item.drawing | |
Read/Write | item.dwlock | |
Read/Write | (a) | item.etag |
Read/Write | item.extraetime | |
Read/Write | item.extraetimerate | |
Read/Write | item.extraetimeunits | |
Read/Write | item.extraftime | |
Read/Write | item.extraftimerate | |
Read/Write | item.extraftimeunits | |
Read/Write | item.fabtable | |
Read/Write | item.fabtablelock | |
Read/Write | item.facing | |
Read/Write | (a) | item.facinglock |
Read/Write | item.filename | |
Read/Write | item.fixrelative | |
Read/Write | item.gauge | |
Read/Write | item.gaugelock | |
Read | (a) | item.guid |
Read | (a) | item.guid64 |
Read | (a) | item.handle |
Read | item.hasproduct | |
Read/Write | item.insspec | |
Read/Write | item.installtable | |
Read/Write | item.installtablelock | |
Read/Write | item.insulation | |
Read/Write | item.insulation.facing | |
Read/Write | item.insulation.facinglock | |
Read/Write | item.insulation.gauge | |
Read/Write | item.insulation.material | |
Read/Write | item.insulation.materiallock | |
Read/Write | item.insulation.status | |
Read/Write | (h) | item.insulation.statuslock |
Read/Write | item.ispeclock | |
Read | item.library | |
Read/Write | (a) | item.lifespan |
Read | item.links | |
Read/Write | (d) | item.link[{name}/{index}].name |
Read/Write | (d) | item.link[{name}/{index}].param |
Read/Write | (d) | item.link[{name}/{index}].target |
Read | item.manyoldstatus | |
Read | (a) | item.matabrv |
Read/Write | item.material | |
Read/Write | item.nestpriority | |
Read/Write | item.notes | |
Read/Write | item.number | |
Read | (d) | item.oldstatus[{name}/{index}] |
Read | (d) | item.oldstatus[{name}/{index}].datetime |
Read | (d) | item.oldstatus[{name}/{index}].id |
Read | (d) | item.oldstatus[{name}/{index}].userid |
Read | (d) | item.oldstatus[{name}/{index}].value |
Read/Write | (a) | item.operatingcost |
Read | item.options | |
Read/Write | (d) | item.option[{name}/{index}].locked |
Read | (d) | item.option[{name}/{index}].name |
Read | (d) | item.option[{name}/{index}].status |
Read/Write | (d) | item.option[{name}/{index}].value |
Read/Write | item.order | |
Read/Write | item.pallet | |
Read | (a) | item.partscut |
Read | (a)(c) | item.partcut[{index}] |
Read/Write | item.path | |
Read | (b) | item.patno |
Read/Write | (j)(z1) | item.pcfskey |
Read/Write | item.pricelist | |
Read/Write | item.pricetablelock | |
Read/Write | item.product.enterdim[{index}] | |
Read/Write | item.product.enteroption[{index}] | |
Read | item.product.entries | |
Read/Write | (c) | item.product.entry[{index}].alias |
Read/Write | (c) | item.product.entry[{index}].area |
Read/Write | (c) | item.product.entry[{index}].boughtout |
Read/Write | (c) | item.product.entry[{index}].cadblock |
Read/Write | (c) | item.product.entry[{index}].customdata[{name}/{index}] |
Read/Write | (c) | item.product.entry[{index}].databaseid |
Read/Write | (c) | item.product.entry[{index}].dim[{index}] |
Read/Write | (a)(c) | item.product.entry[{index}].flowmax |
Read/Write | (a)(c) | item.product.entry[{index}].flowmin |
Read/Write | (c) | item.product.entry[{index}].model |
Read/Write | (c) | item.product.entry[{index}].name |
Read/Write | (c) | item.product.entry[{index}].option[{index}] |
Read/Write | (c) | item.product.entry[{index}].order |
Read/Write | (a)(c) | item.product.entry[{index}].skey |
Read/Write | (c) | item.product.entry[{index}].weight |
Read | item.product.hasalias | |
Read | item.product.hasarea | |
Read | item.product.hasboughtout | |
Read | item.product.hascadblock | |
Read | item.product.hascustomdata | |
Read | item.product.hascustomdatas | |
Read | item.product.hasdatabaseid | |
Read | item.product.hasdims | |
Read | (a) | item.product.hasflow |
Read | item.product.hasoptions | |
Read | item.product.hasorder | |
Read | (a) | item.product.hasskey |
Read | item.product.hasweight | |
Read | item.product.revision | |
Read/Write | item.qty | |
Read/Write | item.scale | |
Read/Write | (a) | item.sealant.locked |
Read/Write | (a) | item.sealant.value |
Read | item.seams | |
Read/Write | (c) | item.seam[{index}].alt |
Read | (g) | item.seam[{index}].group |
Read/Write | (c) | item.seam[{index}].locked |
Read/Write | (c) | item.seam[{index}].value |
Read/Write | item.section | |
Read/Write | item.service | |
Read/Write | item.servicetype | |
Read/Write | (c) | item.skinconnector[{index}].alt |
Read | (c) | item.skinconnector[{index}].group |
Read/Write | (c) | item.skinconnector[{index}].locked |
Read/Write | (f) | item.skinconnector[{index}].material |
Read | (c) | item.skinconnector[{index}].type |
Read/Write | (c) | item.skinconnector[{index}].value |
Read | item.skindecoiler.beading | |
Read | item.skindecoiler.coilwidth | |
Read | item.skindecoiler.smalllength | |
Read | item.skindecoiler.stdlength | |
Read | item.skindecoiler.stdqty | |
Read/Write | item.skingauge | |
Read/Write | item.skinmaterial | |
Read/Write | item.skinmateriallock | |
Read/Write | (c) | item.skinseam[{index}].alt |
Read | (g) | item.skinseam[{index}].group |
Read/Write | (c) | item.skinseam[{index}].locked |
Read/Write | (c) | item.skinseam[{index}].value |
Read/Write | item.skinside | |
Read/Write | item.specification | |
Read/Write | item.speclock | |
Read | item.splitters | |
Read | (c)(g) | item.splitter[{index}].group |
Read/Write | (c) | item.splitter[{index}].locked |
Read/Write | (c) | item.splitter[{index}].value |
Read/Write | item.spool | |
Read/Write | item.spoolcolour | |
Read/Write | item.status | |
Read | item.stiffeners | |
Read | (c)(g) | item.stiffener[{index}].group |
Read/Write | (c) | item.stiffener[{index}].locked |
Read/Write | (c) | item.stiffener[{index}].qty |
Read/Write | (c) | item.stiffener[{index}].spacing |
Read/Write | (c) | item.stiffener[{index}].value |
Read/Write | (i) | item.structuretype |
Read | item.subitems | |
{varies} | (c)(e) | item.subtem[{index}].{Same Properties as Item Objects} |
Read | (g) | item.support.group |
Read/Write | item.support.locked | |
Read/Write | item.support.qty | |
Read/Write | item.support.spacing | |
Read/Write | item.support.value | |
Read | item.type | |
Read/Write | item.weight | |
Read/Write | item.weightlock | |
Read/Write | item.wiregauge | |
Read/Write | item.zone |