Applies To Product(s): AutoPLANT Piping Version(s): V8i Edition Environment: N/A Area: N/A Subarea: N/A Original Author: Derek Cornell , Bentley Product Advantage Group Overview In the Support/Topworks tool palette, a user can create "user defined" supports. This is a procedure not only to create the entry in the User section, but to also show how to create several custom supports of the same type including custom description and dimensions. The steps below use a General Hanger as an example. However, this can be done for any of the other support types as well. Solution Copy the following files: ..\PROGRAM FILES\BENTLEY\PLANT V8I\MODULES\BASE\CLASS.INI ..\PROGRAM FILES\BENTLEY\PLANT V8I\MODULES\BASE\SUPPORTS.INI Paste these files to the directory: ..\PROJECT NAME\CONFIG\MODULES\BASE\ Note: If the folder "BASE" doesn't exist, create it. Open the CLASS.INI on the project level in Notepad. Search for the following section: [AT_SUPPORT_GENHANGER] PARENT_CLASS = BASE_HANGER_SUPPORTS METHOD_KEY = AT_SUPPORT_GENHANGER ;// Pict_Name used only for the support browser PICT_NAME = SHANGER CLASS_DESCRIPTION = General Hanger ISOLENGHT)KEY=AT_SUPPORT_HANGER Copy it and paste it as the next section, making the following changes. [AT_SUPPORT_GENHANGER_USER1] PARENT_CLASS = BASE_HANGER_SUPPORTS METHOD_KEY = AT_SUPPORT_GENHANGER ;//Pict_Name used only for the support browser PICT_NAME = SHANGER CLASS_DESCRIPTION = General Hanger ISOLENGTH_KEY = AT_SUPPORT_HANGER Save and close the file. Now open the following file in Notepad. Please verify the path when opening since there are actually three different SUPPORTS.INI files on the project level in different folders. ..\PROJECT NAME\CONFIG\MODULES\BASE\SUPPORTS.INI Copy and modify the example section as follows: [GeneralHanger_User1] ClassName = AT_SUPPORT_GENHANGER_USER1 Description = This description shows in the Support/Topworks tool palette Save and close the file. Open the following file in Notepad. Verify you have the right path, not to be confused with files in the directory ..\PROJECT NAME\CONFIG\MODULES\CONFIG\BASE ..\PROJECT NAME\CONFIG\HANGERS.INI Copy the section [AT_SUPPORT_GENHANGER] and make the following changes. Note that the Long Description and all other dialog settings can be set here. Other fields can also be added in this section, such as TAG [AT_SUPPORT_GENHANGER_USER1] Height = 30 topStyle = 2 midStyle = 1 bottomStyle = 0 rodSize=3 topTeeLength = 3 topTeeWidth = 2 topTCanLength = 5 topTCanDiameter = 3 topFCanLength = 5 topFCanDiameter = 3 topSCanLength = 5 topSCanDiameter = 3 midCanLength = 5 midCanDiameter = 3 pClampHeight = 4 uClampHeight = 4 iuClampHeight = 5 iuClampClearance = 2 ruClampHeight = 5 topRotation = 0 LONG_DESCR = NEW USER DEFINED DESCRIPTION HERE SHORT_DESC = HANGER Save and close the file. Restart AutoPLANT. The changes will not take effect until the AutoCAD/AutoPLANT session is closed and restarted. See Also Product TechNotes and FAQs Plant TechNotes And FAQs External Links Bentley Technical Support KnowledgeBase Bentley LEARN Server Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
↧