![]() |
|
![]() |
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
|||
|
|||
ME10. The macro Da_style_linear is not defined
Hello Everyone!
Has anyone encountered the following error when trying to create a macro in ME10? ![]() ![]() -I've reinstalled the software 2 times already, system is up to date. -checked with people I know who use the same software - no issues, checked all files in Program Files folder, they're identical. *every sub-option under Linear > Single - shows the error. Any help would be appreciated. Many thanks! Last edited by artopaas; 03-17-2025 at 03:06 AM. |
#2
|
|||
|
|||
Re: ME10. The macro Da_style_linear is not defined
Hello,
Please give a screen shotof "Dimension settings": File > Setup > Edit Environment > Dimension... > Style |
#3
|
|||
|
|||
Re: ME10. The macro Da_style_linear is not defined
Thank you so much for your response!
Here you go: ![]() |
#4
|
|||
|
|||
Re: ME10. The macro Da_style_linear is not defined
It seems that a dimension style named "linear" has been created and is not loaded each time Drafting is started. There are some checks to do:
- In the install directory (something like C:\Program Files\PTC\Creo Elements\Direct Drafting 20.4.1.0), show the content: . of the end of the file startup.m, something like END_DEFINE Enable_box_feedback { INPUT "customize.m" } . and of the file customize.m - Right click on "Dimension > Linear > Single > Parallel" button for exemple, then click on "Edit toolbar Item..." and give a screen shot of the panel. |
#5
|
|||
|
|||
Re: ME10. The macro Da_style_linear is not defined
Thanks again!
Checked the .startup.m and .customize.m .startup.m - had the INPUT "customize.m", but was missing curly braces {} - not sure if this matters - added them - restarted computer - but got the same error (saved the original startup.m just in case). customize.m looks like this: This is how "Edit Toolbar Item" looks like: |
#6
|
|||
|
|||
Re: ME10. The macro Da_style_linear is not defined
Braces {} comment what is inside them.
{ INPUT "customize.m" } means that nothing is done. INPUT "customize.m" means that the file "customize.m" while be loaded by Drafting as a macro file. Since everything is commented in "customize.m", braces or no braces around INPUT "customize.m" has no effect. Therefore, the problem does not come from these two files customize.m and startup.m. I am not familiar with the dimension style system of Drafting, but I can tell you that the "Edit Toolbar Item" shown is somewhat bizarre. On a standard Drafting, both "ToolTip Key" and "On Action" value should be: DA_DIM_LINE Assistance Placement PARALLEL Someone has created a dimension style named "linear" whose associated macro is Da_style_linear. Using the dimension style system of Drafting does not need to modify the "On Action" value. The way the "linear" style has been implemented on your computer is not the right way. This way implies that it is not easy to update this style, use other styles, and, shortly said, not easy to manage at all. Where come from your installation files of Drafting? I do not think it is the PTC original one. You have two things to do: - To be able to put dimensions right know, replace Da_style_linear by Assistance for all concerned buttons DA_DIM_LINE. - Find an original PTC installation file set and redo the installation from scratch. That will correct all other potential mis-implemented customisation. |
![]() |
Tags |
#me10 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|