CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-17-2025, 02:28 AM
artopaas artopaas is offline
Registered User
 
Join Date: Mar 2025
Posts: 3
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.
Reply With Quote
  #2  
Old 03-19-2025, 02:27 AM
Kotom-Eng Kotom-Eng is offline
Registered User
 
Join Date: Oct 2023
Posts: 8
Re: ME10. The macro Da_style_linear is not defined

Hello,


Please give a screen shotof "Dimension settings":


File > Setup > Edit Environment > Dimension... > Style




Reply With Quote
  #3  
Old 03-19-2025, 04:03 AM
artopaas artopaas is offline
Registered User
 
Join Date: Mar 2025
Posts: 3
Re: ME10. The macro Da_style_linear is not defined

Thank you so much for your response!
Here you go:

Reply With Quote
  #4  
Old 03-19-2025, 09:35 PM
Kotom-Eng Kotom-Eng is offline
Registered User
 
Join Date: Oct 2023
Posts: 8
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.
Reply With Quote
  #5  
Old 03-20-2025, 02:20 AM
artopaas artopaas is offline
Registered User
 
Join Date: Mar 2025
Posts: 3
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:

Reply With Quote
  #6  
Old 03-20-2025, 03:15 AM
Kotom-Eng Kotom-Eng is offline
Registered User
 
Join Date: Oct 2023
Posts: 8
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.
Reply With Quote
Reply

Tags
#me10


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:45 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.