Setting the default Pipe Spec and Size in the Plant3d Ribbon for the PLANTPIPEADD command using C#.NET

by Fenton Webb

In my previous post How to obtain a list of all Pipe Specs and Sizes in Plant3d using .NET C# I spoke about the Autodesk.ProcessPower.P3dUI.UISettings object.

If you want to control the default settings for the PLANTPIPEADD command as shown here:

clip_image002

Simply use the UISettings.CurrentSpec and UISettings.CurrentSize, easy Smile


Comments

7 responses to “Setting the default Pipe Spec and Size in the Plant3d Ribbon for the PLANTPIPEADD command using C#.NET”

  1. Artvegas Avatar
    Artvegas

    Hi Fenton,
    I think I found a bug with your MgdDbg Tool bundle’s PackageContents.xml file.
    Works fine for me in 2013, but it doesn’t work for me in 2012. I narrowed the issue down to the first “RuntimeRequirements” element, the one that comes before any of the “Components” elements. If I set SeriesMax to R18.2 it works in 2012. I tried a bunch of settings, and basically anything up to R18.9 is ok, so is omitting this parameter altogether.
    Sorry to post this here but it seems your original post has been closed out. Thought you should know in case it is an internal implementation problem.
    Original post: http://adndevblog.typepad.com/autocad/2012/04/dwg-debugger-mgddbg-app-for-autocad-20122013.html
    Art

  2. Thanks Art.
    Did you install 2012 sp1 yet?

  3. Artvegas Avatar
    Artvegas

    No I never installed it. Just looked at the readme file. Ahhh I see there was a SeriesMax hotfix. My bad, cheers :-)

  4. My pleasure! :-)

  5. Psst Fenton, I think that’s a spam comment.

  6. hehehe – typical

  7. Spam comment deleted (which probably makes this comment thread look a bit weird).
    These blog spammers are ever so polite, don’tcha think :-).

Leave a Reply to Fenton WebbCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading