How to modify marked part data

This section contains articles that are relevant to the use of MasterShip Software
  1. Open your company settings file, or project settings file.

In MasterShip, the project setting supersede the company settings. So, if you only add this to your company settings file, you make this setting a default for every MasterShip project. By adding it to the project settings file, you only make this setting for that specific project.

The company settings file is found in your general settings folder. This is the same folder as where your Main Database is located. The file is question is called CompanyName.ini.

The project settings file is found in the specific project folder (../ProjectFolder/Ini) and is called Project.ini

 2. For the command SHIPSETTEXTINPLATE: Open the ini-file(s) and check if the file does already contains the block [POSTPROCESSOR]. If so, remove that  specific line from the file, and copy/paste the following at that same position. If not, then simply copy/paste at the bottom of the file.

[POSTPROCESSOR]
;; Format for the part id text (SHIPSETTEXTINPLATE, SHIPFREEPARTTEXT)
;; Use this to replace ID, thickness etc.
;; Output is MText, so codes may be used: \P is newline, \L...\l is underline on/off
;; See formatting: https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2024/ENU/AutoCAD-LT/files/GUID-7D8BB40F-5C4E-4AE5-BD75-9ED7112E5967-htm.html
;;
;; Example: Project XYZZY\PBS %IDENTIFICATION%\P-%THICKNESS%-\P%OPERATIONS%
;; Result:
;; Project XYZZY
;; BS F023AS
;; -12-
;; FLANGE
;;
sPutPartIdFormat = %IDENTIFICATION%\P%SECTIONNUMBER% %SUBASSEMBLY%\P%OPERATIONS%

 3. Modify the last field (sPutPartIdFormat = ) to your desire. All information in the project database can be printed on the part. Formatting instructions can be found here.

 4. Save & close the file.

 5. Test if this modification does what you want.

Note: for the command SHIPPARTS2DXF, there is a different field needed. In that case you should apply the following.

[EXPRESSTOOLS]
;; SHIPPARTS2DXF
;; List of PartData fields to add to the output DXF with textheight and formatting
;; Format: [<textheight>:<text>%fieldname%<text>][<textheight>:<text>%fieldname%<text>]
;; %fieldname% is replaced by the PartData field value
;; Example: [20:%IDENTIFICATION%][15:-%THICKNESS%-]        results in "AF39A
;;                                                                      -7-"
;; Example: [20:%IDENTIFICATION%, Section: %SECTIONNUMBER%]  results in "AF39A, Section 4"
sDxfOutputFields = [20:%IDENTIFICATION%][15:- %THICKNESS% -][15:%SECTIONNUMBER%][15:%OPERATIONS%]
dDxfOutputSpacing = 15

Give it a try, and contact us if you need support!

 

 

Was this article helpful?

0 out of 0 found this helpful
Questions, or need help? Send us a request! Or add your value to the community by leaving a comment below! We will get back to you ASAP.

Comments (0 comments)

Please sign in to leave a comment.