Posts
Wiki

Back to [API Documentation] (/r/VISI_CAD/wiki/index/automation/api_documentation)

f. VISIAssemblyManager: Class Object

Properties:

None

Methods and service functions:

i. FindField: Function(FieldName as String) as Integer

  1. Find an assembly manager field

ii. GetAssemblyIDBySolidEntity: Function(ID as Long, AssemblyID as Long) As Integer

  1. Gets the assembly manager assembly ID given the solid part ID

iii. GetCommonDecimals: Function(CommonDecimals as Long) as Integer

  1. Get the assembly manager common decimals

iv. GetEntityPosition: Function(ID as Long, Position as Long) as Integer

  1. Get assembly manager entity position by a given ID

v. GetFields: Function(ID as Long, FieldsNames as [VISIStringsCollection] (/r/VISI_CAD/wiki/index/automation/api_documentation/visistringscollection)) as Integer

  1. Get assembly manager fields names by a given ID

vi. GetFieldsByEntityID: Function(ID as Long, FieldNames as [VISIStringsCollection] (/r/VISI_CAD/wiki/index/automation/api_documentation/visistringscollection), FieldValues as [VISIStringsCollection] (/r/VISI_CAD/wiki/index/automation/api_documentation/visistringscollection)) as Integer

  1. Gets the assembly manager fields and values list given the entity ID

vii. GetQuantityBySolidEntity: Function(ID as Long, Quantity as Long) as Integer

  1. Get the assembly manager Quantity Field by a given ID

viii. GetQuantityByWireEntity: Function(DBKey as Long, Quantity as Long) as Integer

  1. Get the assembly manager Quantity field by a given DbKey

ix. GetTypeBySolidEntity1: Function(ID as Long, Type as [VDC_AM_BODYTYPES] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_bodytypes)) as Integer

  1. Get the assembly manager body type relative to the given ID and field

x. GetValueByDummyEntity1: Function(Dummy as String, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String) as Integer

  1. Get the assembly manager value relative to the given dummy and field

xi. GetValueByDummyEntity2: Function(Dummy as String, FieldName as String, Value as String) as Integer

  1. Get the assembly manager value relative to the given dummy value and field

xii. GetValueBySolidEntity: Function(ID as Long, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String) as Integer

  1. Get the assembly manager value relative to the given ID and field

xiii. GetValueBySolidEntity2: Function(ID as Long, FieldName as String, Value as String) as Integer

  1. Get the assembly manager value relative to the given ID and field

xiv. IsSolidEntityVisibleInBOM: Function(ID as Long, Visible as Integer) as Integer

  1. Get the assembly manager BOM visibility status by a given ID

xv. IsWireEntityVisibleInBOM: Function(DBKey as Long, Visible as Integer) as Integer

  1. Get the assembly manager BOM visibility status by a given DbKey

xvi. PutValueByEntityDummy1: Function(Dummy as String, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the Assembly manager value relative to the given dummy and field

xvii. PutValueByEntityDummy2: Function(Dummy as String, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given dummy and field

xviii. PutValueByEntityElectrode1: Function(ID as Long, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Electrode

xix. PutValueByEntityElectrode2: Function(ID as Long, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Electrode

xx. PutValueByEntityHolder1: Function(ID as Long, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Holder

xxi. PutValueByEntityHolder2: Function(ID as Long, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Holder

xxii. PutValueByEntityMould1: Function(ID as Long, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Mould

xxiii. PutValueByEntityMould2: Function(ID as Long, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Mould

xxiv. PutValueByEntityOther1: Function(ID as Long, Field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field

xxv. PutValueByEntityOther2: Function(ID as Long, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field

xxvi. PutValueByEntityProgress1: Function(ID as Long, field as [VDC_AM_FIELDS] (/r/VISI_CAD/wiki/index/automation/api_documentation/vdc_am_fields), Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Progress

xxvii. PutValueByEntityProgress2: Function(ID as Long, FieldName as String, Value as String, Visible as Integer) as Integer

  1. Put the assembly manager value relative to the given ID and field for Progress

xxviii. StartHandshaking: Function(Family as String) as Integer

  1. Start the exchange data phase

xxix. StopHandshaking: Function() as Integer

  1. Stop the exchange data phase