---
title: 【FAQ_739】MENUマクロの記述内容の読み解き方
description: 印刷マクロ内の「MENU Menu_slot_highlight (TWO_PTS=Sys_plot_source) (DGETTEXT 'me10mac' 'Box') 'Plot_enter_two_pts_and_update' 7…
---

[コンテンツまでスキップ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/menuマクロの記述内容の読み解き方#main-content)

日本語 - 日本

翻訳のサブメニューを表示

![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png)

- ホーム
- 製品
- 価格
- ブログ
- 会社

メインナビゲーションを開く

メインナビゲーションを閉じる

- ホーム
- 製品
- 価格
- ブログ
- 会社
- 日本語 - 日本
  
  翻訳のサブメニューを表示
- [お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

[お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

 何かお困りですか？

- 検索フィールドが空なので、候補はありません。

1. [アシストエンジニア ナレッジベース](https://support.assistengineer.com/ja-jp/assistengineer-knowledge?hsLang=ja-jp)
2. [Creo Elements/Direct](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp)
3. [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)

# 【FAQ\_739】MENUマクロの記述内容の読み解き方

## 印刷マクロ内の「MENU Menu\_slot\_highlight (TWO\_PTS=Sys\_plot\_source) (DGETTEXT 'me10mac' 'Box') 'Plot\_enter\_two\_pts\_and\_update' 7 1」という記述が何を意味しているのか教えてください。

MENUマクロはメニューを表示するためのマクロです。各要素の意味は以下の通りです。

 ・Menu\_slot\_highlight：メニューの背景色をハイライトまたはグレーに制御する関数です。   
 ・(TWO\_PTS=Sys\_plot\_source)：条件文です。出力範囲がボックスであれば1、それ以外は0を返します。Menu\_slot\_highlightが1の場合は背景色がハイライトに、0の場合はグレーになります。   
 ・(DGETTEXT 'me10mac' 'Box')：メッセージIDの文字列を翻訳する関数です。'me10mac'が辞書名、'Box'がメッセージIDで、この場合「ボックス」という文字列を返します。   
 ・'Plot\_enter\_two\_pts\_and\_update'：このメニューをクリックした際に実行されるマクロです。   
 ・末尾の「7 1」：メニューの位置（行・列）を表します。

 マクロは(式)の内容を先に処理するため、実際には次のように展開され、7行目1列目のメニューに「ボックス」と表示されます。   
 MENU Menu\_slot\_highlight 1 'ボックス' 'Plot\_enter\_two\_pts\_and\_update' 7 1   
 または   
 MENU Menu\_slot\_highlight 0 'ボックス' 'Plot\_enter\_two\_pts\_and\_update' 7 1

 なお、コマンドラインに「MENU Menu\_slot\_highlight 1 'Menu' '' 7 1」のように入力すると、メニューの7行目1列目の表示内容を直接書き換えることができます（1でハイライト色、0でグレー）。

- [Creo Parametric](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#main-content)

    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [製造](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A3%BD%E9%80%A0)
    - [板金](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E6%9D%BF%E9%87%91)
- [Creo Elements/Direct](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
- [Creo View](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#main-content)

    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Creo Simulate](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
- [Mathcad](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [Windchill](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#main-content)

    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Arbortext](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [その他](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#main-content)

    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)

- ホーム
- 製品
- 価格
- ブログ
- 会社

[![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png "アシストエンジニア")](https://assistengineer.com/)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, 株式会社アシストエンジニア