Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-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
Joined
Jul 11, 2001
Messages
377
Location
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
 
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.

Part and Inventory Search

Sponsor

Back
Top