Distinguished Contributor
Posts: 704
Registered: ‎01-24-2003
Message 1 of 2 (178 Views)
Accepted Solution

Problems with FileDependencyManager and FileDependencyInfo

178 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?
Distinguished Contributor
Posts: 704
Registered: ‎01-24-2003
Message 2 of 2 (141 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community