Issue
Users may need to create a custom menu command in Sigma that opens specific PDF files, but no default command exists for this purpose.
Product Line
Satchwell BAS & SigmaEnvironment
Satchwell Sigma
Cause
Sigma does not include a built-in command to open PDF files directly from popup menus.
Resolution
To create a new popup menu command that opens PDF files:
Step-by-Step Instructions
-
Open Sigma System Setup
- From the Sigma System Manager window, navigate to Sigma System Setup.
-
Access Popup Menu Commands
- Select General → Pop-up Menu Commands.
-
Create a New Command
- Go to File → New.
- Enter a descriptive name for the new command (e.g., Open PDF Drawing).
-
Configure Command Properties
- Select the newly created command.
- User Access: If needed, configure access permissions using the Browse function.
- Built-In Functions: Choose any relevant built-in functions and assign a record name.
-
Set External Function
- Executable Path: Enter the full path to the PDF viewer application. Example:
C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe
- Executable Path: Enter the full path to the PDF viewer application. Example:
-
Define Command Line Options
- Specify the command and path to the target PDF file. Example:
C:\Sigma\Data\Graphics\Drawings\Test File {Graphic Num}.pdf
- This setup opens a file named Test File X.pdf, where X corresponds to the graphic number associated with the Sigma object.
- Specify the command and path to the target PDF file. Example:
-
Insert Formal Field
- In the Formal Fields options box, select Graphic Number, then click Select to insert
{Graphic Num}
into the command line.
- In the Formal Fields options box, select Graphic Number, then click Select to insert
-
Save and Apply
- Save the new command configuration.
- Add the command to the desired popup menu.
Example Use Case
If a Sigma object has a graphic number of 10, the command will open:
Test File 10.pdf