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
So, you want to make custom Vault reports. Good for you. All you need is a Vault and Visual Studio 2008 *record scratch* Wait, you do have Visual Studio 2008, don’t you? If not, then you can just download it from Microsoft.com *record scratch* Oh, it’s not up there anymore. Well, lets go over our options then. Before my record gets scratched up too much, I’m going to rule out time travel and breaking into ancient history museums. Here are some helpful ways to edit your RDLC file. Continue reading
Posted yesterday at It's All Just Ones and Zeros
If a user has edit permission on a file, then they can edit the UDP. There is no way to grant checkin/checkout permissions while restricting property editing.
For Vault 2013 and earlier... Instead of creating a new UserPasswordCredentials object, you create a new WinAuthCredentials object. After that,everything is the same. You pass the credentials object into the constructor for WebServiceManager. The code would look something like this... UserPasswordCredentials cred = new UserPasswordCredentials("theServer", "theVault"); WebServiceManager mgr = new WebServiceManager(cred); For Vault 2014 and later... For a non UI login, use Autodesk.DataManagement.Client.Framework.Vault.Library.ConnectionManager.LogIn(..) To prompt the user to login, use Autodesk.DataManagement.Client.Framework.Vault.Forms.LogIn(..)
One very big feature in Vault 2015 is the ability to turn a BOM row “on” or “off”. I’m going to quickly go over the workflow for disabling a BOM row through the API and how to view that disabled row. Continue reading
Posted 7 days ago at It's All Just Ones and Zeros
In Vault 2015, PromoteFiles has been removed from the ItemService. Previously, the quickest way was to call PromoteFiles followed by UpdateAndCommitItems. Of course, more complex cases would require more API calls and data checks. Anyway, the simple workflow just got more complex in 2015. That’s sometimes the price you pay for better functionality. Before I dive into the new code, let me explain the reason for the change. First, PromoteFiles was not very efficient. It tried to do the entire BOM at once, which is bad for server performance and scalability. Next, it favored a file-first workflow (the files need... Continue reading
Posted Apr 4, 2014 at It's All Just Ones and Zeros
There are similarities between DECO and Data Standard. If it turns out that Data Standard can do the same thing as DECO, then I will retire DECO. But if Data Standard can't provide the same functionality, then I'll put out a DECO 2015.
Toggle Commented Mar 31, 2014 on DECO 2014 at It's All Just Ones and Zeros
Vault 2015 has just been released. Here is a quick breakdown of what’s new and what’s changed in the API. Overall, these changes are reactions to changes in the Vault product itself. There’s nothing new here specific to API developers. Continue reading
Posted Mar 28, 2014 at It's All Just Ones and Zeros
Personally, I don’t like using Object, especially in an API. You don’t get type safety, it’s hard to know what classes are supported, and it’s easy for code to break in future releases. Unfortunately, Object is the type for property values. So I’ll be taking a look at Connection.PropertyManager.GetPropertyValue() and describing what you can expect for the return types. Continue reading
Posted Mar 21, 2014 at It's All Just Ones and Zeros
Yes I'm aware of the issue. In fact, I'm the one who logged the defect. There is no workaround for this issue. I've recommended that Vault put out a hotfix to address the issue. I have no ETA on when the fix will be available.
Toggle Commented Mar 14, 2014 on Persistent IDs at It's All Just Ones and Zeros
Here is the first major update to The TTP Project. The initial release was focused on proving out a prototype SDK for the PLM 360 API. This time around I focused on making the app itself more useful. There are some nice new features here, including things you can’t do through the web UI. Continue reading
Posted Mar 14, 2014 at It's All Just Ones and Zeros
A nice new feature in the PLM REST API is that it will show more detailed error information for when a add/update operation fails because of bad field data. For example, if you try to update an item with a value of “x” for a numeric field, you will now get an error specifying which field(s) failed and why. Continue reading
Posted Mar 7, 2014 at It's All Just Ones and Zeros
Offhand, I don't have an answer for you. Each CAD plug-in is different. So P&ID might not have a way for you to get that connection. Officially, the API does not support getting the active connection in a CAD plug-in. I suggest posting this question to the Vault Customization group to see if somebody else knows more about Vault on P&ID.
No, there is no way to hook your VDF grid to existing Vault Explorer commands. It's a good idea, and you should post it in the Vault Idea Exchange. http://forums.autodesk.com/t5/Vault-IdeaStation/idb-p/2
If you are download an assembly, I would expect the standard parts automatically come down. If you just want to grab all the standard parts on their own, I think you have to interrogate the IPJ to look-up the Vault paths to the library folders.
Toggle Commented Feb 24, 2014 on How to Acquire Files at It's All Just Ones and Zeros
A while back, I showed you how to write a custom column for your VDF grid. But what about a custom row? Can it be done? If the answer was No, this would be a pretty short blog article, so the answer is Yes! Continue reading
Posted Feb 24, 2014 at It's All Just Ones and Zeros
Thanks again to everybody who took the time to fill out the survey. Here are the results (out of 42 responses). Although I threw out the idea of a separate blog for PLM 360, I have no immediate plans to create a new blog. That would require double the work, so I would need to find another blogger. Continue reading
Posted Feb 21, 2014 at It's All Just Ones and Zeros
PLM 360 was updated last weekend. The Read Me First page has a listing of new REST API pages, but I’d like to also point some things out. Continue reading
Posted Feb 19, 2014 at It's All Just Ones and Zeros
I haven’t done a survey for a while. I want to make sure I'm providing the right content, and I’m also curious to know how things are going with the addition of PLM 360 content. So please take a moment to fill out some questions. Thanks. Update: The survey is closed. Thanks to all who participated. Continue reading
Posted Feb 14, 2014 at It's All Just Ones and Zeros
Jan Liska has given me a new app to post. It’s called Property Review and it lets you compare properties across multiple file versions. Jan also wrote Drawing Compare, so I’m starting to see a pattern here. Continue reading
Posted Feb 12, 2014 at It's All Just Ones and Zeros
Let’s say you have a service that synchronizes data to PLM 360 in the background. It’s a headless system, so there is no UI. The problem is that PLM uses 3-legged OAuth 1.0, and “human” is one of the 3 legs. There are lots of blockers to prevent a non-human from authenticating. For example, there is no API to pass in the username and password. Continue reading
Posted Feb 6, 2014 at It's All Just Ones and Zeros
Offhand, I don't have any sample code for you. In general, I suggest not making any updates within an event. The reason is that your actions may affect the operation in progress. It's like trying to fix a table while standing on the table. Here is the order of operations that I suggest: 1. Run AcquireFiles in noAction mode 2. In your event handler, read all the files being updated and store them in a list. 3. AcquireFiles exists 4. Go through your list and perform the needed operations. 5. Run AcquireFiles again to check out the files. No event handlers are needed this time.
Nice! I'm not aware of any other Vault or PLM related games.
That's a pretty good idea. I'm just getting up-to-speed on Data Standard myself. But Thunderdome is a good candidate for transferring the custom dialogs and scripts.
I love computer games, and for years I’ve been looking for a way to make a game out of the product I was working on. Vault didn’t really give me many options. But writing a game in PLM 360... that’s just crazy enough to work. Continue reading
Posted Jan 31, 2014 at It's All Just Ones and Zeros
If you are doing a mass import of Items, you don’t need to do them one at a time. The same is true for update. You can do multiple edits at once through the REST API. In general, it's much more efficient to do things in batch because it cuts down on network latency. Continue reading
Posted Jan 23, 2014 at It's All Just Ones and Zeros