Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey folks,
I'm having an issue getting this macro to identify user input strings and inputting them into the required fields.
Here is what the macro look like so far.
STRING $diameter = INPUT "What is the diameter of the your drill?"
//Take user data and start building the program
IF $diameter <= 1.5 {
IMPORT TEMPLATE ENTITY TOOLPATH TMPLTSELECTORGUI "Drilling/Drilling.ptf"
EDIT TPPAGE TOOL
CREATE TOOL ; DRILL
EDIT TOOL ; DIAMETER $diameter //this line is where I am getting the issue
} ELSE {
MESSAGE INFO "That is a not a valid Diameter."
}
The macro is quite short as I am stuck on that one line.
Any help would be awesome.
Thanks guys!
Solved! Go to Solution.