CorelDRAW X5 :: Creating Macro To Count How Many Times It Replaced Figures And Insert Correct Number
Nov 11, 2013
it's my job to create drawings for patent applications, and These drawings usually consist of multiple pages with one or more drawings on each page. Each of these drawings has to be given it's own unique identifier (for example Fig. 1, Fig.2 etc).
In the process of designing a complete patent application it is often necessary to change the order of figures around and/or add new ones, remove old ones and so on. Now we get to the macro part.
What I need is a macro that identifies an artistic text placeholder (let's say <figures>) and replaces it with a text that says "Fig. x", x being counted upwards starting from 1. In essence I need the macro to count how many times it has already replaced <figures>, and insert the correct number. After the macro has done it's work I want every placeholder replaced with "Fig.1" or "Fig. 2".
View 8 Replies
ADVERTISEMENT
Feb 11, 2013
Does your install count reset back to three annually? This question is for X4 and above as well.
View 4 Replies
View Related
Jul 26, 2013
Using the code from "MakeMeACircle" macro. How can I modify it to "InserCircle"? I have it working now but only if the shape is square and aligned to the bottom left of the page. If I move the square anywhere else and run the macro the "Ellipse" is created outside the square and is "squished" instead of a perfect circle.
Who knows maybe there's a macro that already exists to insert a circle inside any shape?
Sub InsertCircle()
Dim sr As New ShapeRange Dim x As Double, y As Double, w As Double, h As Double Dim dLeeway As Double ActiveDocument.Unit = cdrInch If ActiveSelection.Shapes.Count = 0 Then Exit Sub sr.Add ActiveSelection.Group sr(1).GetBoundingBox x, y, w, h 'adjust this property ####################################### dLeeway = 0# 'distance to sides 'adjust this property ####################################### sr.Add ActiveLayer.CreateEllipse(x - dLeeway, y - dLeeway, w + dLeeway * 2, h + dLeeway * 2) With sr(2): .OrderBackOne: .Fill.ApplyNoFill: End With sr.Shapes.All.Ungroup
End Sub
View 7 Replies
View Related
Apr 28, 2011
Is there a commercial macro that inserts shapes into an object?
Do you know if it is capable of inserting 1” squares in say a letter G that is 30” in height?
See below example.
I hate pressing F8 at startup!
View 4 Replies
View Related
Oct 10, 2007
If I would like to compose a booklet in Corel Draw, how can I insert page numbers ?
I know the use of Master Layer. But contents on it will remain unchanged for all the pages. However the page numbers should auto increase page by page.
Adobe InDesign or pagemaker is useless infront of Corel Draw. But the problem of Footer (page numbering) has to be resolevd. So that Corel Draw will replace InDesign or related book work softwares.
how to add page numbers.
View 12 Replies
View Related
May 18, 2012
a tip for solving the problem of exporting an image as a tif led to another question. One solution to export as tif was to create a macro. See that solution post here: [URL] .......
It says : Step 1Run the built in macro. (Tools > Macros > Run Macro). In CorelDRAW versions prior to X4 (Tools > Visual Basic > Play). Select ‘File Converter’ macro from the ‘Macros in’ list and click ‘Run’
However in my macros drop down there are no macros. how can I get a file converter macro?
View 2 Replies
View Related
Apr 17, 2014
I'd like to create a numerical animation that counts up to %100 in Edge Animate. Is this possible? I'm brand new to the program.
View 3 Replies
View Related
Mar 12, 2013
I´m using the events "DocumentActivated" and the event "DocumentDestroyed" .
With the "DocumentDestroyed" method I can know how many documents are closed and when is the last..
But, I want to know, how many documents are minimized (deactivated).
It´s to say, there aren´t any active (current) document.
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit
View 6 Replies
View Related
May 7, 2012
Is there a way Inventor can list/count the number of surfaces within the model?
View 1 Replies
View Related
Apr 16, 2009
I need to know the exact number of pixels that I select for a size comparison. It's a non-rectangular selection similar to a cloud.I'm using CS2 but could upgrade if needed.
View 2 Replies
View Related
Mar 7, 2012
My CorelMacros.CreateColorSwatch macro has stopped dumping the swatches into whatever blank Letter-sized document I have open (which is how it used to work) and instead it is creating a new document, at 4.25" wide x 7" high, and dumping the swatches into that. Using Pantone Solid Coated, but it's doing this regardless of what palette I choose.
There is no option in the Macro's dialog box to alter or even instantiate a page size, and I cannot find in the code of the macro where to set this variable.
View 5 Replies
View Related
Sep 23, 2012
I want to get number of circles and their diamters through list in drawing.
Just like as quick select option, it selects all circles and told total quantity. But never tells individual circle diameter and their quantity.
It will be better , if information come as a list. Try lisp if required.
Same like as attribute extraction command, but in that blocks are needed.
View 1 Replies
View Related
Apr 8, 2013
I had some sheets that I wanted to hide so I clicked exclude from count and exclude from printing.
Now I want to put them back, if I uncheck the boxes the page numbers don't show up in the border. Neither will if give a page number to the pages that were previously hidden in the browser.
Inventor 2013
View 2 Replies
View Related
Aug 29, 2011
Is there any VBA code that can count the number of bends used in a sheet metal part?I would like to make a custom property of this, so it can be exported to Excel for input in our ERP system
View 8 Replies
View Related
Jan 14, 2013
I'm trying to make a very simple 20 second video clip of me hula hooping, and every 4 seconds, draw a circle around my hula hoop that remains there for the duration of the video. So at the beginning there will be 1 circle, at the end there will be 6. how to make one of these circles visible at a time. I've been googling and youtubing for the the past 2 hours.
View 1 Replies
View Related
May 12, 2013
I have to repeat a circle an even number of times across a 597" linear space. The circles need to be approx 24" apart, but evenly spaced. How can I do this without having to manually calculate the spacing and the # of circles required?
View 2 Replies
View Related
Sep 27, 2012
Some colors such as yellow are being replaced with other colors in the CMYK palette.
View 4 Replies
View Related
Aug 6, 2012
I am using original discs with serial number stickers for CS3 extended and CS4 on a 2008 MBP with 10.8.
Problem1:
While still having CS3 installed, and reinstalling CS4, the correct serial # request of pre upgrade version CS3 was repeatedly rejected. So I removed everything Adobe from HD, ran Adobe cleaner which found nothing.
Problem 2:
Now I am unable to install CS3 as I get "problem with installation, contact Adobe" message.I manually removed everything Adobe related from HD to no avail.
View 2 Replies
View Related
Apr 15, 2014
My InDesign document has a total of 55 pages. My page numbers are set up in a master. Some of the pages display the page numbers correctly: "Page X of 55" but others do not "Page X of 43". Why is it unable to detect the correct number of pages?
View 7 Replies
View Related
Sep 27, 2012
I have spent the last couple of hours researching posts back to 2008 regarding inserting inserting a point cloud into Revit at the correct coordinates. I have two files (DXF and PCG) that are in the same coordinate system. They overlay exactly in AutoCAD. Why I see posts back to 2008 with no resolutions on this same topic? Also explain to me why a file indexed in AutoCAD 2013 is not compatable with Revit 2013.
View 1 Replies
View Related
Dec 6, 2011
My application inserts 4 DBText lines and 2 PolyLines into a drawing from another drawing(or Source Database). I created a special layer ("warning") into which these entities are inserted. Then I combined these entities into a group so the user can move it out of the way while they are working.
When the title block data is refreshed, I want to redraw my 4 lines of text and 2 lines at the location last set by the user. I have successfully implemented redrawing the object at the X and Y coordinates last placed by the user by using ent.TransformBy(Matrix3d.Displacement(acVec3d) on each entity at the source and then doing a DBSource.WblockCloneOjbects to put them in the destination drawing at the correct position.
However, if the user rotates the group, I need to make the rotation also. This is where I'm having problems. What is the best way to grab the rotation value(s?) from the existing, user placed group, and then redraw onto the drawing at that rotated value? Is there an easier implementation that the way I am doing it?
View 1 Replies
View Related
Aug 8, 2013
How to find no of times specific blocks used in a drawing?
View 9 Replies
View Related
Mar 29, 2013
It's been too long since I created one of these for Toolbars. I need a macro that will insert and explode a block. I just need the block's content, not the block itself. I can create a maco to explode a block with no path, but can't remember how to include the "*" in a file with a folder path to explode the block while its being inserted. Because of spaces in the file name, quotes (") must be around the path.
View 1 Replies
View Related
Apr 22, 2014
I am formatting a Bible for a client. The text was provided with verse numbers before each verse, but each chapter is one long paragraph. Now the client has decided they want each verse to begin a new paragraph. How can I globally insert an End of Paragraph mark before each superscrpt verse number?
View 8 Replies
View Related
Feb 1, 2013
I have an Inventor drawing which contains multiple sheets. One of the sheets is a drawing of the master assembly. Another sheet is a drawing of a part that is in the master assembly. This part shows up multiple times. I'd like to have a text box or something in the part's drawing that I can put: "Quantity: [Quantity]" where [Quantity] is the number of occurances of the part in the master assembly. I've been searching for a while and can't find a way to do this.
View 4 Replies
View Related
Jul 5, 2012
I'm producing a limited 8-colour palette mosaic for a restaurant wall using 1734 tiles represented as tessellated objects superimposed on a colour-reduced photo. Each tile will be one of 8 colours.
My question: how do I calculate the number of tiles per colour? I already have produced the tiles with their respective colour.
there is the scripting language - which is likely my only option - but as I'm new to the game:-
1. Is there an inbuilt Draw function to identify and count the number of objects with a specific colour, or
2. How can illustrate some Corel Script I can get started with to achieve this?
View 3 Replies
View Related
Dec 3, 2013
I have excel tables that contain 4 columns of data.
The Y co-ords pf the required object
The X co-ords pf the required object
The rotation of the required object
The object number
What would I need to do to insert a block at the coordinates to the rotation shown then have a leader with the point number labeling the block (but the text not be rotated to the angle of the main block.
View 2 Replies
View Related
Mar 19, 2011
I have multiple effects that I want but for over 100 different pictures. Is it possible to get up a macro to have Paint.net run 9 different steps including creating multiple layers?
View 4 Replies
View Related
Sep 28, 2012
I'd like to create a macro that I can run from within an assembly that will loop through each BOM item and add the quantity req'd to a custom property within the component. I'm very familiar with VBA from Office, but I'm new to it with respect to Inventor so I'm pretty fuzzy with object titles and options.
Here's an outline of what I'd like to do:
Execute Macro from within Assembly file
For Each BOM Item to # of BOM Items
If Vendor = "Make" then
Set Component Custom Property "Qty_Reqd" = Total Qty from BOM
Endif
Next BOM Item
View 9 Replies
View Related
Oct 1, 2013
Photo-Paint crashes when saving twice out of three times...
When I edit a bitmap object from Draw, I always have to start my editing over and over.I lose my object. So...I do a workaround...I export the selected object, open it in Photo-Paint to edit it.
When saving...same thing. Except, the file saves properly. It's just that Photo-Paint crashes.
It used to do that with my older X4 version as well...I skipped the X5 and when on to the X6.
It still crashes, but even more...thing is...Both programs were installed on two different computers.
View 4 Replies
View Related
Apr 8, 2011
I got a macro job for creation the drawing for a part. I got a lot of problem.
1/ The first one is move view:
I already create a view (e.g. oIsoView), now I want to move it to the left.
I find the DrawingView.Position method, how can I use this method? I try many time, but it's not successful yet.
Do I need to use the SelectSet method??????
View 9 Replies
View Related