News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu

Creating a table using Macro does not seem to work

Started by Andre Arpin, April 23, 2010, 10:23:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andre Arpin

Error occurs in version 16 and 17
-----------------------------------
Start a new drawing
View the macro recorder
Disable MouseClick
Start recording
Insert Table
Stop recording
Replay
Error at gxChild.Draw Error:0 Scode 80004004

Andre

Alan C

Probably won't work. I don't think many people use the macro feature unfortunately because when I posted a question once for suggestions for what people used it for there was a long silence! Shame really because macros can save a lot of time for repetitive stuff and I use one often in Excel, just not TC yet. Hope you do get it to work but I wouldn't be too hopeful.

Alan using v11pro installed up to v16pro
Alan.
Platinum 21. & Deluxe 21.
TC user since 1995. (version 3)

Andre Arpin

I have written a macro which count the number of references for all the blocks in  a selection. I was intending to place the result in a table. I use blocks for parts so this give me a part count.

I guess I will try to move my code into an excel spreed sheet and import the result. I would have preferred a table.

Thank you

Andre

John R

#3
re: I was intending to place the result in a table. I use blocks for parts so this give me a part count.

I think that can be done with the tools in "Tools / Database", but Database might only be available in the Platinum version these days. I'm not sure who-gets-what anymore.

Also, look at "Extracting Block Attributes" in the User Guide/Help, that might be another way of keeping track of items.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Andre Arpin

The database did not do what I wanted because it does not look at the embedded block.
But "Extracting Block Attribute" will do what I want. I had never even notice this command. I printed the manual and intend to read it cover to cover. I find that it is to easy just to look at a restricted section on the screen.

Thank you for your help.

Andre