🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.cad
Article #41157

Re: [ACAD VBA] Problem z identyfikacją IsXREF

#41157
From: Shogun
Date: Wed, 23 Mar 2005 17:10
19 lines
1263 bytes
Witam

Nie wierzę. Coś musiałeś skopać w kodzie. Zawsze na początku dawaj
Option Explicit. Wstaw do modułu i uruchom procedurkę:

Sub IsXRef()
Dim tempBlock As AcadBlock
For Each tempBlock In ThisDrawing.Blocks
If tempBlock.IsXRef Then MsgBox "true"
Next
End Sub

Jak w rysunku będzie jakiś xref to na bank wyświetli true

Pozdrawiam


-----
Wysłano za pośrednictwem WWW.CAD.PL (http://www.cad.pl)
Technical Details
Message-ID: <d1s7ue$cti$1@server.helion.com.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mail
References: <d1rj74$5gq$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mail
From: "Shogun" <shogun_2@tlen.pl>
Newsgroups: pl.comp.cad
Subject: Re: [ACAD VBA] Problem z identyfikacją IsXREF
Date: Wed, 23 Mar 2005 17:10:38 +0000 (UTC)
Organization: Netia Telekom S.A.
Lines: 19
Message-ID: <d1s7ue$cti$1@server.helion.com.pl>
References: <d1rj74$5gq$1@inews.gazeta.pl>
NNTP-Posting-Host: server.helion.com.pl
X-Trace: nefryt.internetia.pl 1111597838 13234 213.186.73.195 (23 Mar 2005 17:10:38 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Wed, 23 Mar 2005 17:10:38 +0000 (UTC)
X-Tech-Contact: usenet@internetia.pl
X-Forwarded-For: 212.69.73.120
X-Server-Info: http://www.internetia.pl/news/
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit