Oh, so you want to determine BTRs that are part of an xref rather than the
actual xref BTR itself. Sorry, I didn't catch that before. You can use the
isDependent() method (which is at the AcDbSymbolTableRecord level) to tell
if any symbolTableRecord is part of an xref or not.
"Martin Schmid"
wrote in message
news:DE605D45973B0BE708DEBA1604F1CEA8@in.WebX.maYIadrTaRb...
> the descriptions (and results) of isFromOverlayReference() and
> isFromExternalReference() indicate to me that this just tests the 'parent'
> of the blocks, namely the xrefs themselves... they aren't checking if the
> blockTR is inside the xref's BTR.
>
> Thanks,
> MS
>
>
> "Art Cooney" wrote in message
> news:B4ABE37EF012C7769AA299AC246040CE@in.WebX.maYIadrTaRb...
> > Are these, by any chance, overlays rather than xrefs? If so, then
you'll
> > also need to check
> >
> > !pBTR->isFromOverlayReference()
> >
> > "Martin Schmid" wrote in message
> > news:BA5AA8D806F0F6B65A93DC42F05E66D3@in.WebX.maYIadrTaRb...
> > > In a BlockTableRecord iterator, I want to identify only blocks LOCAL
> (not
> > > xref'd in)
> > >
> > > if(!pBTR->isLayout() && !pBTR->isFromExternalReference())
> > >
> > > I am getting all blocks, i.e.:
> > >
> > > blk1
> > > blk2
> > > blk3
> > > xref1|blk1
> > > xref1|blk2
> > > xref2|blk1
> > > xref2|blk2
> > >
> > > I need to ignore the xref'd | blocks... do I have to resort to string
> > > checking, or is there a function I am ignoring?
> > >
> > > Thanks,
> > > MS
> > >
> > >
> >
> >
>
>