Message 1 of 3
IV2009 VBA - Does user have to work about leaks w/ Transient Geometry?

Not applicable
04-30-2008
11:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
IV2009 VBA
Does a user have to worry about memory leaks with Transient Geometry or does the TransientGeometry Object clean up any object that are unused? For example, will this cause a memory leak?
Dim oTG As TransientGeometry
Set oTG = ThisApplication.TransientGeometry
Dim oV0 As Vector
Set oV0 = oTG.CreateVector(0, 0, 0)
Set oV0 = oTG.CreateVector(0, 0, 1) ' does this call cause the first vector to be leaked?
Does a user have to worry about memory leaks with Transient Geometry or does the TransientGeometry Object clean up any object that are unused? For example, will this cause a memory leak?
Dim oTG As TransientGeometry
Set oTG = ThisApplication.TransientGeometry
Dim oV0 As Vector
Set oV0 = oTG.CreateVector(0, 0, 0)
Set oV0 = oTG.CreateVector(0, 0, 1) ' does this call cause the first vector to be leaked?