.NET

.NET

Reply
Distinguished Contributor
eljobe
Posts: 706
Registered: ‎01-24-2003
Message 1 of 2 (198 Views)
Accepted Solution

Problems with FileDependencyManager and FileDependencyInfo

198 Views, 1 Replies
06-20-2012 07:57 AM
I was researching the FileDependencyManager object. There is no information online about it and the arx sdk is pretty silent on it. The arxref.chm tells how to initialize the iterator, but the iteratorNext method only returns an int, not an objectID. I see that there is also a FileDependencyInfo object, but there are no instructions on how to initialize one. The manager doesn't inherit from IEnumerable so I don't think I can use foreach, especially when there already is an iterator.
 
The arx AcFileDependencyManagerclass has a getEntry method, but the mgd wrapper class does not.
 
I looked at MgdDbg and it shows a FileDependencyManager object, but no FileDepenencyInfo objects. The viewer only displays the Count and Index properties. I was expecting something like the References to line for other objects that points to an ObjectIdCollection. I looked at the code for that project and it contains some lines to gather info on a FileDependencyInfo object, but they never get executed.
 
Also, help makes this statement for the IteratorInitialize method: "Calling this function with no arguments initializes an iterator that returns every entry in the list". However, when I try it, I get a compile error. Arguments are required. I'm using 2010 and 2010 sdk, so maybe its fixe in later versions. Can anyone shed some light?

FYI, Stephen Preston logged this as a bug.

Distinguished Contributor
eljobe
Posts: 706
Registered: ‎01-24-2003
Message 2 of 2 (161 Views)

Re: Problems with FileDependencyManager and FileDependencyInfo

06-29-2012 07:24 AM in reply to: eljobe

FYI, Stephen Preston logged this as a bug.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.