BobCAD-CAM Help V38/V13
BobCAD-CAM BobCAM for SolidWorks Post Processor Lua API
Expand All · Collapse All
  • General
    • Welcome
  • Getting Started
    • Getting Started
    • Registry Key to Enable
    • Lua Directory Structure
    • Plug-ins Dialog
    • Hello World Example
  • Debugging
    • Debugging
    • Initial Setup
    • Beginning Debugging
    • Debugging from a Post Processor
  • BobCAD Entity Definitions
    • BobCAD Entity Definitions
    • ChainList
    • Entity Types
      • Entity Types
      • Point
      • Line
      • ArcFromAngles
      • ArcFromPoints
      • SplineCurve
      • Cube
      • Sphere
      • Cylinder
      • Cone
      • Torus
      • FromEntityID
    • Entity Lists
      • Entity Lists
      • Points
      • ContourList
      • Polyline
      • ContourChain
      • EntityIDs
  • BobCAD APIs
    • BobCAD APIs
    • What's New
    • ConnectToBCC
    • User Interface Creation
      • User Interface Creation
      • Bcc.AddCommand
      • Bcc.AddQuickAccessCommand
      • Bcc.ShowMessageBox
      • Bcc.ShowDialogBox
      • Available UI Controls
      • Label
      • TextBox
      • CheckBox
      • RadioButtonGroup
      • Button
      • ComboBox
      • GroupBox
      • Expander
      • Image
      • Deprecated
      • TextBox_Int
      • TextBox_String
      • TextBox_DoubleNoUnit
      • TextBox_DoubleUnit
      • LabelAndTextBox - DEPRECATED
      • Bcc.UpdateDialogBox
      • Bcc.GetDialogBoxData
      • Bcc.FileOpenDialogBox
      • Bcc.FileSaveDialogBox
      • Bcc.FolderOpenDialogBox
      • Examples
      • Point Dialog Example - Basic Dialog
      • Arc Dialog Example - All Controls
    • General
      • General
      • Bcc.NewDocument
      • Bcc.OpenDocument
      • Bcc.MergeDocument
      • Bcc.SaveDocument
      • Bcc.SaveDocumentAs
      • Bcc.ExportDocument
      • Bcc.CloseActiveDocument
      • Bcc.GetActiveDocumentName
      • Bcc.GetDataFolder
      • Bcc.Run
      • Bcc.GetAllFilesInFolder
      • Bcc.ExportSTLFile
      • Bcc.ExitApp
      • BcEvent.EventTimer
      • Bcc.GetAppInfo
      • Bcc.GetRegValue
      • Bcc.SetRegValue
    • CAD Creation
      • CAD Creation
      • Bcc.StartUndo
      • Bcc.EndUndo
      • Bcc.AddEntity
      • Bcc.AddEntities
      • Bcc.DeleteEntities
      • Bcc.CADOperation
      • Boolean
      • Extrude
      • ExtrudeBoss
      • ExtrudeCut
      • PlanarSurface
      • Revolve
      • Sweep
      • CrossSection
      • 3Edges
      • 4Edges
      • MultisidedPatch
      • Silhouette
    • CAD Utilities
      • CAD Utilities
      • Bcc.GetSelectedEntities
      • Bcc.GetAllEntities
      • Bcc.GetLayerInformation
      • Bcc.GetUCSInformation
      • Bcc.GetRotationMatrixXYZ
      • Bcc.GetRotationMatrixAlongAxis
      • Bcc.MultiplyMatrices
      • Bcc.InverseMatrix
      • Bcc.TransformPoint
      • Bcc.TransformPoints
      • Bcc.OffsetChainList
      • Bcc.IntersectBetween2Entities
      • Bcc.ChamferBetween2Entities
      • Bcc.ChamferChainList
      • Bcc.FilletBetween2Entities
      • Bcc.FilletChainList
      • Bcc.BooleanChainList
      • Bcc.GenChainListFromContourList
      • Bcc.ArcFrom3Points
      • Bcc.ArcFrom3Entities
      • Bcc.ScaleEntity
    • CAM
      • CAM
      • Bcc.GetSelectedCamObjID
      • Bcc.GetSelectedCamObjName
      • Bcc.GetCamObjName
      • Bcc.GetCamObjParameters
      • Bcc.SetCamObjParameters
      • Bcc.RegisterCamObjCallbackFunctions
      • Bcc.AddNewCAMJob
      • Bcc.AddNewCAMJobFromTemplate
      • Bcc.ComputeToolPath
      • Bcc.Post
      • Bcc.OutputAPTFile
    • Post Processing
      • Post Processing
      • Bcc.EncryptBcPstFile
      • BcPost.OutputText
      • BcPost.ProcessPostLine
      • BcPost.RunPostLine
      • BcPost.RunBlock
      • BcPost.RunPostVariables
      • BcPost.RunVBScript
      • BcPost.RunVBApi
      • BcPost.GetValueOfDataBlock
      • BcPost.SetValueOfDataBlock
      • BcPost.GetValueOfPostVariable
      • Post Variables Supported
      • BcPost.SetValueOfPostVariable
      • BcPost.GetValueOfOperation
      • Operation Type Reference
  • Serialization with JSON
    • Serialization with JSON
    • json.parse
    • json.serialization
    • json.isNull
    • json.null
  1. Home
  2. Lua API
  3. Examples

Examples

User Interface Examples


Each of the following examples have been created as a guide to help in learning and utilizing the BobCAD API's in creation of your own plug-ins.


Dialog to get the X, Y, Z input from a user

Dialog to form an arc by angles



Was this helpful?

© 2026 BobCAD-CAM, Inc. All rights reserved.