寸法線矢印の変更

寸法線矢印の変更

Anonymous
適用対象外
1,685件の閲覧回数
5件の返信
メッセージ1/6

寸法線矢印の変更

Anonymous
適用対象外

LT2020です。

 

一部の寸法に対して、スタイル管理で設定した矢印以外の物に変更する為に、

下記のカスタマイズマクロを作成して、実行しても変更できない。

 

^C^C_dimoverride;_dimblk1;_DotSmall;_dimblk2;_DotSmall;;

 

上記を実行しても『小黒丸』に変わらない。

但し一度プロパティ管理で変更した寸法に対しては変更出来ます。

 

以前のバージョン(2014位?)では普通に変更出来ていました。

 

0 件のいいね
解決済み
1,686件の閲覧回数
5件の返信
返信 (5)
メッセージ2/6

steven-g
Mentor
Mentor

I have to be honest I cannot see why your macro fails, but this one works for me in 2020.

^C^C_dimoverride;_dimblk;_DotSmall;;
メッセージ3/6

Anonymous
適用対象外

ありがとうございます。

 

『dimbik』コマンドで左右同じ矢印に変更するマクロで試されたようですが、

左右で違う矢印を設定した場合でも同じですか?

 

^C^C_dimoverride;_dimblk1;_Open30;_dimblk2;_none;;

0 件のいいね
メッセージ4/6

steven-g
Mentor
Mentor

This is another variable that controls how the dimstyles behave, but it only appears to have an effect on dimensions that are been created after the variable is changed or when existing dimensions arrows have been altered in the properties.

メッセージ5/6

Anonymous
適用対象外
解決済み

ご回答ありがとうございます。

 

システム変数「DIMSAH」が初期値OFFになっている事が、

マクロからの矢印変更に制限を掛けているようです。

DIMSAHをONにしてから記入した寸法オブジェクトには、

私の作ったマクロは有効でした。

但し、ONにする前に記入した寸法オブジェクトには適用されません。

DIMSAHを変更するタイミングが、マクロの実行に影響するようです。

メッセージ6/6

steven-g
Mentor
Mentor

Yeah, I found that too. The only way I could get existing dims to react to the macro was to first change dimsah to on. Then select all dimensions using qselect and manually alter one of the arrow blocks in the properties, but by the time you have done that then there is no real need for the macro.