Model.AE_ConvertBoltLinkToAttachment#

Model.AE_ConvertBoltLinkToAttachment(collection)#

Converts connector bolt component/part links to attachment links. New attachments are created as needed.

Parameters:

collection (Collection) – The collection containing the connector entities to convert.

Example#

Convert all bolt connectors to bolt connectors with attachments as links#
import hm
import hm.entities as ent

model = hm.Model()

connector_collection = hm.Collection(model, ent.Connector)

model.AE_ConvertBoltLinkToAttachment(collection=connector_collection)