This is Doug Redmond's Typepad Profile.
Join Typepad and start following Doug Redmond's activity
Join Now!
Already a member? Sign In
Doug Redmond
Recent Activity
That does not sound like intended behavior. If you are an ADN member you should log the issue with them. Otherwise you can post the issue on the Vault API discussion group http://forums.autodesk.com/t5/vault-customization/bd-p/301 In the meantime, the workaround is to fix the file name after the download is complete.
Correct, that service pack is not for the R2 release.
Toggle Commented Nov 11, 2014 on Vault 2015 R2 at It's All Just Ones and Zeros
Many of you doing development on Vault 2015 R2 have noticed some issues with the SDK. For example, the What’s New page is for the 2015 release and there is no list of changes for 2015 R2. Those issues should now be fixed. Sorry for the inconvenience. Please un-install your current Vault 2015 R2 SDK and install the fixed SDK: Vault_2015_R2_SDK-Fixed.zip If you have questions about the Vault API, the best place to go is the Vault Customization discussion group. Continue reading
Posted Nov 7, 2014 at It's All Just Ones and Zeros
What are you asking? You want to remove your email address from your posts in the comments section?
If you know the Vault path, you can call FindFilesBySearchConditions and pass in the Folder Id. The search will only be applied to objects in that folder and any sub-folders. Going from a local folder on disk to a Vault folder is a bit tricky. I think most people start at the root Vault folder, get the working folder (Connection.WorkingFoldersManager.GetWorkingFolder()) and use that to map between local path and Vault path. This only works if the sub-folders don't define their own working folder in another location.
DocumentService.GetNumberingSchemesByType() returns an array of NumSchm objects. Each one of those objects has a full description of a numbering scheme, including the fields involved. Keep in mind that NumSchmField can be subclassed into objects that are specialized to each field type (FreeTxtField, AutogenField, and so on).
There is no easy way to read that data. The vcet.config is for the plug-in loader framework. If your app wants to store settings, I suggest doing it in another file.
I don't know, I never tried it. If it works, it's an unsupported feature. The preferred behavior is that you go to the object the link points to, and not go to the link itself.
Toggle Commented Oct 27, 2014 on GoToLocation at It's All Just Ones and Zeros
1. Technically, no. You don't need to use the VDF. But the upload/download workflows have changed. Overall, uploading and downloading is much easier through the VDF. Either way, you will have code to update, I believe it's easier to move over to the VDF. 2. You will need a Visual Studio edition that supports .NET 4.5. I'm not sure if VS 2010 does that. Both VS 2012 and VS 2013 should work fine.
I may be exaggerating slightly when I say that the Quick Change state on Items is the greatest invention mankind has ever or will ever achieve. The bad news is that it’s only available for Vault 2015 R2. But that’s also a good thing, because once you start using it, there is no going back. You are changed forever. Continue reading
Posted Oct 16, 2014 at It's All Just Ones and Zeros
2015 R2 has a "grouping" feature that lets you show multiple rows for different instances of the same part. If you can see that in the BOM view, then the BOM Report should be able to give you the same view. If you want a BOM Report that looks different than what you see in Vault Explorer, then this app will not do that. However, the source code is available, as usual. So you can program your own type of BOM view.
Toggle Commented Sep 29, 2014 on BOM Report Job at It's All Just Ones and Zeros
To celebrate the release of Vault 2015 R2, I wrote an app that lets you generate BOM reports automatically through the Vault job server. If you are not already aware, Vault 2015 R2 has a BOM Report feature. From any BOM view, you can run the Report command and it will generate a report of the BOM that you are viewing. This report uses the same engine as File and Folder reports, which has a good deal of customization options. There are also default templates to help you get started quickly. Continue reading
Posted Sep 26, 2014 at It's All Just Ones and Zeros
The first step is to find out what is locking the file. I don't think it's the Vault API. Could it be Inventor that is locking the file?
You can find some examples in postings on the Vault discussion group. For example: http://forums.autodesk.com/t5/vault-general-discussion/batch-file-for-vault-mirror/m-p/2530627
Toggle Commented Sep 18, 2014 on Vault Mirror at It's All Just Ones and Zeros
I've never done it myself, but my guess is that you set the value to an ImageInfo object. I have an article on reading the different property types. So that should be helpful in knowing how to write them. http://justonesandzeros.typepad.com/blog/2014/03/reading-values-through-the-propertymanager.html
Correct. The Package Service, which handles item import/export, is disabled in R2.
Toggle Commented Sep 12, 2014 on Vault 2015 R2 at It's All Just Ones and Zeros
Warning: A new version of Vault Professional has been released to Subscription Center. For the first time in many years, the Vault team put out a full release in between the standard yearly releases. R2 is not a service pack, which is why you need to be careful. Continue reading
Posted Sep 11, 2014 at It's All Just Ones and Zeros
Looking at the source code, yes Vault Mirror 2014 does consume a license when it runs. Offhand, I don't know why this behavior was changed.
Toggle Commented Sep 5, 2014 on Vault Mirror at It's All Just Ones and Zeros
There are several toolbars you can add your command to. When you set the Location property on your CommandSite, choose a value with the word "Toolbar" at then end. To display your command as an icon, set ToolbarPaintStyle to Glyph on your CommandItem you will also need to set the Image property too. A few more details on command icons can be found at http://justonesandzeros.typepad.com/blog/2010/03/command-icons.html
Here is the answer I got back from the Vault team... Since Vault no longer has a wizard, the assign-duplicate functionality is automated. In the new code, auto assign duplicates = true will attempt to find duplicate items for all bom components and will link them if possible. If a match is found, the component will be linked to the first candidate. There is no user/API interaction involved in this decision. Vault 2015 also auto links all subcomponents and standard components regardless of the flag. This behavior has been identified as a bug and may be changed in the near future.
I'm not familiar with that behavior. Is this with a custom job type or one of the default types? It custom job types are being unreserved, I would consider that a bug.
A while back I posted some code showing how to create Items from Files. This time I’ll post code code showing how to update those Items when you want to consume File changes. Continue reading
Posted Aug 8, 2014 at It's All Just Ones and Zeros
That option is for downloading related files. It does not apply to the FileIteration that you provide as the input. In that case, it download the version on that FileIteration. Call FileService.GetLatestFilesByIterationIds to get the latest version of the file and use that to start the download. If that's not the solution to your problem, then I suggest posting to the Vault Customization group. That way it's easier for you to post sample code, screen shots, etc. http://forums.autodesk.com/t5/Vault-Customization/bd-p/301
Try replacing "CE.Id.ToString()" with "CE.Num"
Toggle Commented Aug 7, 2014 on GoToLocation at It's All Just Ones and Zeros
From the Vault Explorer client, you can call other API's such as the Inventor Apprentice API. However, if you want the full Inventor API you have to be a plug-in running inside Inventor. Is that what you are asking?