ScrImportCpmOrPloc

Imports a CPM or PLOC file.
UI Command:   Import > Ansys CPM/PLOC File.
Syntax:   obj.ScrImportCpmOrPloc(<plocFileName>, <partName>, <refName>, <controlFileName>)
Parameters:  

BSTR plocFileName (can also be CPM file name)

BSTR partName

BSTR refName (Reference Designator)

BSTR controlFileName (containing keywords listed below; for auto connection, use empty string)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrImportCpmOrPloc("C:/SAMPLEFILES/cpmfile.cpm","CSP_BGA","BGA","")

IPY Example:  

oDoc.ScrImportCpmOrPloc('C:/SAMPLEFILES/cpmfile.cpm','CSP_BGA','BGA','')

Option Keywords and Example Values

DieCenterX -149.997058

DieCenterY 484.129583

FlipDie TRUE

RotationAngle 0

ScalingFactor 0.9

Tolerance 0.0

CreatePorts TRUE

CreateSources FALSE