regards,I would like to make a macro in which I multiply the measure that I type by 60.I have no idea how I can do this is the first time I would do a macro.I appreciate your attention and the collaboration you can give me.
Atte.Carlos VelasquezBogota Colombia
HI Carlos,
at first, please follow best practices and always specify product you use and its version (build number). Despite of your question is quite general and VBA (what I guess is your "macro") is quite the same in all products, to know product (MicroStation, PowerDraft, View...?) and version (J, 8.0, 8i, CE...) helps to write better answers.
Carlos Mario Velasquez said:I would like to make a macro in which I multiply the measure that I type by 60.
Honestly, why? Can you provide information about expected workflow? Does it mean you want to measure (what it will be? lenght, diameter, volume? using what tool?), you will copy paste the value to your macro and it will multiply the value? Why not to use e.g. Windows Calculator with the same functionality?
Carlos Mario Velasquez said:I have no idea how I can do this is the first time I would do a macro.
It's probably not surprise that my answer is "Learn programming", in this case "Learn VBA". Be aware it's not "Learn MicroStation VBA", because at first you have to know the language itself (VBA) and in the next step you can extend your knowledge with MicroStation VBA.
There are plenty of sources and tutorials about VBA available on Internet, because the language is the same in all applications (Office etc.). On the other hand, there a limited amount of learning sources about MicroStation VBA. You can start with Learning MicroStation VBA book, available both in Bentley Store and Amazon.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Carlos
Carlos Mario Velasquez said: I multiply the measure that I type by 60.
just a guess: But did you know, you could multiply values in the coordinate-fields of the accudraw? I. e. "X= 1.234 * 60"
Mit freundlichen Grüßen / Best regards Volker Hüfner
| AB_DATE Engineering Software | ab-date.de |