EachCommentLine: Difference between revisions
Jump to navigation
Jump to search
→Parameters: Formatted bulleted list |
added an example of usage |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 10: | Line 10: | ||
* '''Workgroup''' or '''WG''' - The workgroup comment. | * '''Workgroup''' or '''WG''' - The workgroup comment. | ||
* '''CoordinateSystem''' or '''CS''' - The CS comment. | * '''CoordinateSystem''' or '''CS''' - The CS comment. | ||
* '''Feature''' or '''Feat''' - The Feature comment for a text marker. | * '''Feature''' or '''Feat''' - The Feature comment for a text marker. | ||
| Line 17: | Line 15: | ||
Not all comment types support multiple lines at input, but this command is designed to create posts that have support when the feature is added. Using the OpStart and OpEnd options will not do normal processing of legacy post script commands. This should only be used in posts that have been updated to not use legacy post script. The newer custom post script commands will be processed and are available during the entire scope of the op. | Not all comment types support multiple lines at input, but this command is designed to create posts that have support when the feature is added. Using the OpStart and OpEnd options will not do normal processing of legacy post script commands. This should only be used in posts that have been updated to not use legacy post script. The newer custom post script commands will be processed and are available during the entire scope of the op. | ||
===Usage Example=== | |||
<pre> | |||
EachCommentLine('Op') | |||
StartComment$ CommentFeatLine$ EndComment$ EOL | |||
NextCommentLine | |||
</pre> | |||
{{Stats|id=818|type=Command|class=All Machines|scope=Operation|version= | |||
{{Stats|id=818|type=Command|class=All Machines|scope=Operation|version=GibbsCAM version 11.0}} | |||
[[Category:Comments]] | [[Category:Comments]] | ||
Latest revision as of 22:45, 25 August 2015
EachCommentLine
EachCommentLine('N')
Description
Begins looping through all the lines of the specified comment type. Loop ends with a NextCommentLine command.
Parameters
- Part - The part comment.
- Tool - The tool comment.
- Operation or Op - The operation comment.
- Workgroup or WG - The workgroup comment.
- CoordinateSystem or CS - The CS comment.
- Feature or Feat - The Feature comment for a text marker.
Notes
Not all comment types support multiple lines at input, but this command is designed to create posts that have support when the feature is added. Using the OpStart and OpEnd options will not do normal processing of legacy post script commands. This should only be used in posts that have been updated to not use legacy post script. The newer custom post script commands will be processed and are available during the entire scope of the op.
Usage Example
EachCommentLine('Op')
StartComment$ CommentFeatLine$ EndComment$ EOL
NextCommentLine
Stats
ID 818 Type Command Class All Machines Scope Operation Min Version GibbsCAM version 11.0