乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: marmo

[编程交流] macro mid to point doesn'

[复制链接]

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-5 23:57:23 | 显示全部楼层
Yet he says it works in 2010 but not in 2014.  Makes one wonder what's up with that?
回复

使用道具 举报

14

主题

74

帖子

60

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-5 23:59:19 | 显示全部楼层
Yes, right.
I think the first apostrophe means "insert a transparent command", the second one indicates that the macro has no name.
In fact, if I rename the macro xx, i should digit 'xx space/enter if I want to use it during another command.
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 00:04:49 | 显示全部楼层
Why bother?  Put the MTP command on a button instead.
回复

使用道具 举报

14

主题

74

帖子

60

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 00:07:58 | 显示全部楼层
Hello,
I'm not worried, this issue does not stop me from working. I know there are a lot of options that can replace the macro I use ...
It was more a question of curiosity. I wondered why a macro so simple, with a basic syntax as well, worked with all autocad since 2007, but not with 2014.
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 00:09:52 | 显示全部楼层
And it seems strange to me that your macro uses three keystrokes to replace three key strokes.
 
Would it work if you removed the quotation marks on either side of _M2P?
 
Option of last resort.  Assign MTP to your F1 key.  Who needs Help anyways!  LoL
回复

使用道具 举报

14

主题

74

帖子

60

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 00:13:34 | 显示全部楼层
Three keystrokes ...
 
m2p + space = 4 keystrokes
double apostrophe + space = 3 keystrokes? No, = 2.5, because the
double click is faster than clicking two different buttons.
 
I seem to think like motorcyclists which set their race bikes to earn a few hundredths of a second.
But with Autocad is not strange, it's crazy.
 
:)
回复

使用道具 举报

14

主题

74

帖子

60

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 00:17:57 | 显示全部楼层
Now I set F1.
I have to press it twice ... My colleagues have already called the ambulance...
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 00:20:05 | 显示全部楼层
Re: pressing F1..  Faster, faster the light is turning red!
 
Take all the time you devouted to figuring this out today and then calculate how many times you'll have to use the MTP command in order to gain it all back.  I'm thinking it will be about one point two five million.
回复

使用道具 举报

14

主题

74

帖子

60

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
70
发表于 2022-7-6 00:22:48 | 显示全部楼层
Yes, maybe it will be about one point two million four if I use shift + rightclick. I have to compare the two cases ... as long as the keyboard does not burn
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 00:24:34 | 显示全部楼层
Test that theory and get back to us.  First, get a bowl of water, throw some ice in it and keep it handy.  You're going to need it to soak your fingers in.  Have fun.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-11 00:02 , Processed in 0.359084 second(s), 70 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表