Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Adding User_Input during Journal Recording (Using C# Code)

Status
Not open for further replies.

mdfathmi

Mechanical
Apr 22, 2016
7
Hello everyone,

I have used macro to perform a complete set of operation with "user input with instructions" option available in Macro. But in Journal recording (using C# code) how can I add user entry with instructions?

2nd question- what is the best way to do this- To define size of the text of the note I want to insert (using Journal) according to size of the sheet used.. i.e. if B -size sheet then 0.1 , if A size sheet then 0.05
. I was thinking about using For loop ... if so.. what is the right code in C#.

Thanks in advance for any help.
 
Replies continue below

Recommended for you

I don't think that you can add a "user entry" in a journal while recording it. However, you can edit the recorded code to add instructions or user prompts after the journal is recorded.

For your second question, it sounds like you want to vary the text height depending on the size of the current drawing sheet. If this is the case, no loop would be necessary; you would just query the sheet size and vary the text height based on the result.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor