AnsweredAssumed Answered

How to get Points array from User Draft Layers ? (Expedition)

Question asked by ashkolnik on Apr 10, 2013
Latest reply on Apr 10, 2013 by ashkolnik

Hi All ,

I am a noob in VBS .

I can get point array "Geometry" from poligons like in layers like "Board Outline" , "TestFixtureOutline" , "Panel Outline" ... (Objects) .

Example Code (Working good) :

 

     Dim pcbAppObj

     Set pcbAppObj = Application

     Dim pcbDocObj

     Set pcbDocObj = pcbAppObj.ActiveDocument

     Dim pnts

     pnts = pcbDocObj.TestFixtureOutline.Geometry.PointsArray

 

But how to get Points array (Polygon) from User Draft Layers with custom names ? and that difference between Objects to Child Object ?

Thanks.

Outcomes