PDA

View Full Version : How To Move a Existing Component to a Defined Layer



Colby
04-03-2006, 09:39 AM
In the Compprop.ebs

Find the Following String
Function at_ComponentProperties_getLayer

Add a new Variable

Dim exFlag As Integer

At the Very Bottom of Function Put This in

status = at_Component_getInt(exFlag, compID, "Existing")
If (status = AT_SUCCESS) And (exFlag = 1) Then
tempLayer = "YOUR LAYER HERE"
Else
If (status = AT_SUCCESS) And (exFlag = 0) Then
tempLayer = tempLayer
End If
End If

This Worked for Version 2.0 - 2.01 and version 3.0 - 3.1 (Version 8.00)
I have not tested this out yet for newer releases of Version 8.

:D