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.
The class PnIdObject which was documented but it was never found in Object Browser while developing in Visual Studio ??
How can i get the older api (2010) for AutoCAD P&ID , whiel i do need to buy and install a new one
Solved! Go to Solution.
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).
AEC Plant Solutions
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.
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.
AEC Plant Solutions