• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD P&ID

    Reply
    Contributor
    hoangvuminh
    Posts: 11
    Registered: ‎04-28-2011
    Accepted Solution

    Projectmanager-API in Versions

    739 Views, 5 Replies
    05-16-2011 07:59 AM

    Hi all ,

     

    I just downloaded the Plant SDK 2011from AutoCAD P&ID 2011. I did go throug the documentation and tried some examples.

    What i found out is that , there is some difference between the API of 2011 and API of 2010.

     

    For example:

     

    The class PnIdObject which was documented but it was never found in Object Browser while developing in Visual Studio ??

    :smileyindifferent:

     

    How can i get the older api (2010) for AutoCAD P&ID , whiel i do need to buy and install a new one

     

    Thanx

     

    Please use plain text.
    Employee
    RSFAdsk
    Posts: 165
    Registered: ‎02-27-2009

    Re: Projectmanager-API in Versions

    05-18-2011 01:28 PM in reply to: hoangvuminh

    Hello,

     

    Starting in 2011, AutoCAD Plant 3D and P&ID share the same SDK toolkit.  Also (and as you point out), starting with 2011 the SDK is downloaded.  In 2010, the toolkit is installed in a PnPSDK folder that is installed with in the product (and is 32/64 bit specific along with the product).

     

    There is no substantive difference in the SDK feature-wise for P&ID-specific features, but the API binaries, including class libraries are different.  So a recompile and some re-referencing can be required (PnIdObject should still be in PnIDmgd.dll, but you need to update the reference).  The biggest difference between the 2011 and 2010 SDK feature-wise is the ability to read Plant 3D objects.

     

    If want access to the 2010 SDK to compare, let me know and I can get it to you (there is no change for the SDK).



    Richard Frank
    AEC Plant Solutions
    Autodesk, Inc.
    Please use plain text.
    Contributor
    hoangvuminh
    Posts: 11
    Registered: ‎04-28-2011

    Re: Projectmanager-API in Versions

    05-19-2011 03:18 AM in reply to: RSFAdsk

    Hi Richard ,

     

    Thanx for your answer. What i mean now is the PnIdProject and may be PippingProject. Those classes were not found after referencing to the assembly PnPProjectManagerMgd.dll. I am working in Ms visual basic express 2010.

     

    PS: Could you plz send me the PlantSDK 2010 ?

     

    Have a nice day. :smileywink:

    Please use plain text.
    Employee
    RSFAdsk
    Posts: 165
    Registered: ‎02-27-2009

    Re: Projectmanager-API in Versions

    05-19-2011 08:27 AM in reply to: hoangvuminh

    Here are the 2010 sdk binaries PnPSDK2010 (32 and 64).zip.



    Richard Frank
    AEC Plant Solutions
    Autodesk, Inc.
    Please use plain text.
    Employee
    RSFAdsk
    Posts: 165
    Registered: ‎02-27-2009

    Re: Projectmanager-API in Versions

    05-26-2011 08:48 AM in reply to: hoangvuminh

    Hi again, A note regarding PnIdProject for 2011.  That class is from PnIdProjectPartsMgd.dll, not PnPProjectManagerMgd.dll which the reference guide incorrectly states.  Also, PnIdProjectPartsMgd.dll was not added to the 2011 PlantSDK.  Instead, you can get the file from the program folder.  This should be updated in the next SDK release.



    Richard Frank
    AEC Plant Solutions
    Autodesk, Inc.
    Please use plain text.
    Employee
    RSFAdsk
    Posts: 165
    Registered: ‎02-27-2009

    Re: Projectmanager-API in Versions

    06-25-2012 06:58 AM in reply to: RSFAdsk

    Refreshed link PnPSDK2010(32 and 64).zip  (7.5 MB).



    Richard Frank
    AEC Plant Solutions
    Autodesk, Inc.
    Please use plain text.