Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Journal - Plotter Profile Query - PlotBuilder function

Status
Not open for further replies.

jmarkus

Mechanical
Jul 11, 2001
377
0
16
CA
I know that the following can be used to set the plotter and profile to be used in a PlotBuilder function (to make a plot file or send a file to the plotter)

Code:
plotBuilder1.PlotterText = plottername
plotBuilder1.ProfileText = profilename

But how can I validate that the plottername or profilename already exists?

Thanks,
Jeff
 
Replies continue below

Recommended for you

So I didn't find an exact way to validate that specific plottername or profilename, but I realized I could use the validate method to at least avoid triggering an error.

Code:
if plotBuilder1.Validate=1 then plotBuilder1.Commit()

That should work for now, but if anyone has any better ideas, then I am open to suggestions.

Thanks,
Jeff
 
Status
Not open for further replies.
Back
Top