getting block info via objectDBX

getting block info via objectDBX

Anonymous
Not applicable
195 Views
2 Replies
Message 1 of 3

getting block info via objectDBX

Anonymous
Not applicable
hi

i am attempting to get some attribute infomation via objectDBX, but when i
try to access the Blocks collection in the ObjectDBX drawing, the only
blocks that are available are the 'model_space', 'paper_space' and a
'paper_space0' block...

is there a way to access the blocks collection via objectDBX or do i have to
open up each drawing to do this???

thanks in advance

cheers

mark
0 Likes
196 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Perhaps you can show some code?

I routinely access the blocks collection of drawings
opened via ObjectDBX and haven't seen this problem.

In cases where drawings have XREFs, the blocks that
represent them, and any blocks within any XRef'd
drawings will not appear in the blocks collection
when you access the host drawing via ObjectDBX.

"Mark Dubbelaar" wrote in message news:DED04B250053508DD13799856355BFF7@in.WebX.maYIadrTaRb...
> hi
>
> i am attempting to get some attribute infomation via objectDBX, but when i
> try to access the Blocks collection in the ObjectDBX drawing, the only
> blocks that are available are the 'model_space', 'paper_space' and a
> 'paper_space0' block...
>
> is there a way to access the blocks collection via objectDBX or do i have to
> open up each drawing to do this???
>
> thanks in advance
>
> cheers
>
> mark
>
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
thanks tony, apart from trying to access the blocks collection through the
xref via ObjectDBX (as you wrote) i was also trying to get attribute
information from an acadblock as opposed to an acadblockreference....

cheers


"Tony Tanzillo" wrote in message
news:671DBC92FFC0D127F4FB598D887CD42F@in.WebX.maYIadrTaRb...
> Perhaps you can show some code?
>
> I routinely access the blocks collection of drawings
> opened via ObjectDBX and haven't seen this problem.
>
> In cases where drawings have XREFs, the blocks that
> represent them, and any blocks within any XRef'd
> drawings will not appear in the blocks collection
> when you access the host drawing via ObjectDBX.
>
> "Mark Dubbelaar" wrote in message
news:DED04B250053508DD13799856355BFF7@in.WebX.maYIadrTaRb...
> > hi
> >
> > i am attempting to get some attribute infomation via objectDBX, but when
i
> > try to access the Blocks collection in the ObjectDBX drawing, the only
> > blocks that are available are the 'model_space', 'paper_space' and a
> > 'paper_space0' block...
> >
> > is there a way to access the blocks collection via objectDBX or do i
have to
> > open up each drawing to do this???
> >
> > thanks in advance
> >
> > cheers
> >
> > mark
> >
> >
>
>
0 Likes