CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Drafting

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-05-2016, 05:02 AM
frankymont frankymont is offline
Registered User
 
Join Date: May 2015
Posts: 5
Question Show result in keyboard input buffer

Hey,

There only exist a macro to measure a radius.
I wanted to simplify things when measuring a diameter with this macro:

DEFINE Measure_diameter

LOCAL Diameter
LOCAL Element1
LOCAL Old_radius
READ 'Select circular element' Element1
{make sure this element is in your current part}
EDIT_PART Element1
INQ_ELEM Element1
LET Old_radius (INQ 3)
LET Diameter (old_radius *2)

DISPLAY Diameter

END_DEFINE

The only problem with this code is that the result will be displayed as an message box and not in the keyboard input buffer. Is there anyway to make it appear in the keyboard input buffer (like when you measure a radius)?

With kind regards,

Franky
Reply With Quote
Reply

Tags
keyboard input diameter


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:20 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.