Skip to content
Discussion options

You must be logged in to vote

Hi, stenci,

I'm very glad my posts and the Code have been helpful. Feel free to reach out if you have any further questions.

I do not get the warning in my IDE (I'm using VS 2022).

Calling Dispose() is ignored here on purpuse, because the underlying object is an AutoCAD container object (eg. BlockTable) and it would have a negative effect if we dispose of the object here and then use it further down the call chain. Furthermore, there are only two AutoCAD classes I'm aware of whose objects have to be disposed of explicitly, ObjectIdCollection and IdMapping.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@stenci
Comment options

Comment options

You must be logged in to vote
1 reply
@stenci
Comment options

Answer selected by stenci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants