News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Limitations of the Macro Recorder?

Started by Jeff_in_90620, February 16, 2016, 11:37:50 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Jeff_in_90620

The Help file for 2015 says that the Macro Recorder is only good for creating objects.

Does this mean that I cannot use it to specify the Material on the already-selected facet of an object?  Because it sure looks that way.

I created a script (first attachment), but when I run it, I get an error (Microsoft VBScript runtime error) on Line 46.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

mikek

Hi Jeff,
in Line 46 you create a variable gxchild4. In the next line you set the the reference to an empty variable gxChild3.
Also the variable gxChild2 is created,  but isn´t used later. Perhaps the code would run if you try to set the
references to gxchild, which isn´t empty (line 42). 

mike k

Jeff_in_90620

Interesting (aggravating, actually) flaws in the Macro Recorder.

I'll give this a shot when I have the time to more fully explore it.


Thanks,

Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)