CorelDRAW X6 :: Create Macro Button For Two Circles
Dec 20, 2012I create macro button for two circles.if we click that button a guidelines create the center of both these circles. i have new in coreldraw VBA.
View 2 RepliesI create macro button for two circles.if we click that button a guidelines create the center of both these circles. i have new in coreldraw VBA.
View 2 RepliesAfter starting my previous thread "What formula will work to achieve this result" I decided to post this new thread because I have changed my mind and will now be using the external Excel file that the "Extract Data" creates to do my calculations.
Here's what I would like to do: create a Macro [button] in Excel with the following conditions:
*
Sample of excel spreadsheet:
*
MANUF NoSUB No.DESCRIPTION** UNIT QUANTITY
A123494456TYPE A, XXXX XXX * * * * EA** * * * 45
A423520374YA1AM, XXXXXXXXXX * **EA** * * * 55
A148231375TYPE B, XXXXXXXXX * * * EA** * * * 33
A146151725A1AAM, XXXXXXXXXX * * EA** * * * 67
A135621873TYPE A, XXXXXXXXX * * * EA** * * * 24
1. * * * CONDITION #1:
IF "DESCRIPTION" TAB ["C" COLUMN] CONTAINS "TYPE A" AS PART OF TEXT/DESCRIPTION, TAKE THE "QUANTITY" TAB ["E" COLUMN] SPECIFIED ON THAT PARTICULAR ROW AND DIVIDE IT BY 20, ROUNDED UP TO NEAREST ONE.*
2. * * * CONDITION #2:
IF "DESCRIPTION" ["C" COLUMN] CONTAINS "TYPE B" AS PART OF TEXT/DESCRIPTION, TAKE THE "QUANTITY" SPECIFIED ON THAT PARTICULAR ROW ["E" COLUMN] AND DIVIDE IT BY 10, ROUNDED UP TO NEAREST ONE.
3. * * * AUTOMATICALLY SAVE THE EXCEL FILE AFTER THIS MACRO HAS BEEN UTILIZED.
I'm trying to create button with macro to edit existing text in place, with predefined text with macro .... For example, existing text is "Old text", and I want this text (or whatever I select) to edit in place with click on macro button to change it to "New text".
View 1 Replies View RelatedAnd in the 157 page Macro PDF (really, did it need to be this long? How about an easy-command sheet), it says you can use the key command Ctrl+Shift+R to start recording... Well, that brings up the ruler.
I use Macros a lot in Excel (I record the commands that I want, then tweak in the editor), so I get how they are supposed to work - but I'm no programmer, and without the ability to record, I'm completely handcuffed. This really shouldn't be 1% as difficult as it has been
I try to create a curve with 3 or more equal segments. When I draw random curve using the "Freehand tool" I always get curve with several not equal segments.So how can I create a curve using VBA Macro so that the curve has equal length of the segments.I attach two pictures with curve that i have and with curve that I need to have.
View 11 Replies View RelatedNow that SP2 is out and we can delete all in one sweep, is it possible to create a macro that would automatically delete all color styles as soon as any file is open? I never use that feature and would gladly pay for such a macro.
View 14 Replies View RelatedI have created a ribbon bar in autocad 2012 using API and c#. On ribbon button i am executing a Command method which display a wizard for copying some files.
Now i want to run a macro before executing the ribbon button command method. Which display a message box with yes and no . if user click yes command method will executes itself and display wizard for copy files.
If user click no command method will not execute and return. This will allow user to use macro for customizing the file copy process.
I am trying to write a macro for a button that when I press, it goes to a certain folder on a server. Normally when you click on the "open" button, it takes you to the last file location. I want that to be ignored an goes to a certain folder.
View 3 Replies View RelatedFor several years I've been programming in Inventor and AutoCAD, with VBA. Making macros and creating a button for them in the toolbar of Inventor is no problem. What disturbs me slightly is that the name of the button is the same as the name of the macro. In VBA you can't create functions with spaces in the name. So the name of the toolbar button often looks quite silly.
Is there a way to change the name and the tooltip-text of the toolbar button without loosing the link to the original macro? In AutoCAD this is no problem, but Inventor...
Product Design Suite 2014
Inventor 2012 SP2, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)
We have some custom macro's running in Inventor wich we call from the ribbon > user commands.
In Inventor 2011 we used the large and small together and the icon's were shown properly.
Now we have moved to Inventor 2013 and the large icon's arnen't shown properly. They display as an large orange @ signin a square box.
The Icon's meet al the requirement, .bpm, 16x16 & 32x32 pix, 24 bit, naming (Modulename.Macronam.Small/Large.bmp)
I am trying to create a short cut button with a macor code.
I want it to set up a new orgin and set a base point in xrefs i am creating
The commands i want to combined are the follwoing
UCS enter
3P enter
BASE enter
The macro i am using is the following
^c^c_ucs 3p \_base
but it wont run the base command after it finishes the 3P command
This is whats show up in my commands bar
Command: _ucs
Current ucs name: *WORLD*
Specify origin of UCS or [Face/NAmed/OBject/Previous/View/World/X/Y/Z/ZAxis]
<World>: 3p
[Code]....
I know I can make a button on the ribbon for running a specific macro. But, is this possible for iLogic rules? I would love to be able to run rules and launch forms from the ribbon!?
View 5 Replies View RelatedI'm trying to create a macro for a toolbar button to open a third party program. Basically we want to open a custom .exe application from a button on the ACAD toolbar.
View 5 Replies View RelatedI have a problem creating circles because I can't find a tool in photoshop where you can create with drag and drop. Is there such in function in Photoshop and if so where can I find it?
View 2 Replies View RelatedI upgraded to photoshop 7 from PS6. I want to make a simple circle. I use the elliptical marquee tool set at a constrained aspect ratio of 1:1. I've made a new layer. Now I'm trying to fill that circle in with the fill tool but it's filling in the entire background of the whole image. I've never had a problem with this before. Now PS7 wants me to do things differently.
View 2 Replies View RelatedInfinite circles.cdr
As attached really.
I need it so they all overlap in the same direction.
I want to know how to create uniform border designs on circles, similar to retro style circle logos like and
View 1 Replies View RelatedHow do I create numbered lists in InDesign where the number is a paper or white character inside a colored circle?Is this a glyph? A combination of a numbered list and circles?
View 4 Replies View RelatedOn the bottom of this page, there is a script to select objects based on fill color.
so that it deselects the circles of 1mm in diameter?
I have a group of objects and 1mm circles and I wish to export all but those circles.So I select the group and then I need to start some script that will cyclethrough all selected objects, check if it is a circle of 1mm in diameter - and deselect it.
Is there a way to creat Macros in Inventor... like we used to do with AutoCAD?
View 5 Replies View RelatedI have a quick question corel X5, I have a design made of several .4 inch circles, I wonder if there is a way to resize all the circles to .6 inch ( i am trying to avoid to resize manually each circle )
View 14 Replies View RelatedI've got the basics, but how do you color in the different overlaps of the circles?
View 2 Replies View RelatedOkay, I'm new to associative arrays, I'm attaching a drawing so you can see what I'm trying to accomplish with this. I'm doing an elevation view of a slab that has a cross section of the rebar. I've shown one of the bars spanning from left to right, represented by a rectangle, and the cross section of the bars running front to back represented by circles. You can see what I'm trying to show here. In the drawing I've attached, the top three sketches are examples of how this would look if it were working correctly.
What I'm trying to do is create an array (of circles) that will stretch to the length of the bar spanning left to right. I want the quantity of items in the array to automatically change based on the length of the bar and the spacing of items, so if there is 6" of spacing between the items instead of 12" it will automatically add twice the amount of items to fill in that space. I've been trying to use a path array, and it isn't working the way I want. I'm not familiar with rectangular arrays, so not sure what to do there either.
How can I resize multiple (236) circles about their own centerpoints without resizing them each by each?
I´dd like to increase radius about 2-5%.
I'm trying to create dotted lines that are actually circles and not square shaped dots (the given option in the outline menu). Is the best/only way to do this by creating a new Artistic Media Brush? It seems like there should be an easier option when needing to create a long dotted line or a shape with a dotted outline.
View 14 Replies View RelatedAny way to change the size of the circles that I made so that they all enlarge yet keep their respected positions. So for the example below, I would like to just enlarge the circles and not the rest. If I select all the circles and drag them to enlarge, they lose their position. Is there a way to do this? This script [URL] ...... doesn't work for x6 but I think it is what I might need, correct?
View 4 Replies View RelatedI'm currently sitting with the following problem in CorelDraw 11:
I have four circles, one inside the other, with the circles getting smaller towards the centre. I want the two outer circles to be joined and the two inner circles to be joined. Text will be placed on top of these circles and I want to cut out those sections of the circle which will be covered by the text. The circles will also be filled with different colours. Simply placing the text on top of the 'rings' is not an option as the there are also two logos on the right which cover part of the circle (the part which I want to 'cut' out).
I've tried Combine and the Knife tool but somehow I just don't seem to achieve my goal. This would be a lot easier to explain if I could upload a PDF of the image.
I'm trying to make a logo. Circular logo with an inner ring maybe 4 px wide and 15 px inside the rim of the outer circle.
Basically I want a blue circle with a yellow inside ring. What's the best way of doing this? The only thing i can think of is: creating a blue circle marquee, and then another (trying to estimate a new circle size and change the color) that is yellow, and then making another smaller blue circle inside the new one. That's just ugly.
I tried the edit/stroke but that just gave me a stroke around the outer circle; it didn't put a ring inside the circle 15 px down.
Also I tried to contract the original circle by selecting it, then Modify/contract. That's got me a selected ring, inside the circle. Now how in the world do I make that little ring yellow? It just remains selected and I can't seem to find a way to color it.
How to run a macro through all the pages at a single instance in a malty page document.
View 3 Replies View RelatedTransformEach.gms
This is a macro I've been working on for a few days, what it does is it applies the selected transformation to each one of the selected objects individually. It rotates, scales and flips in both axes. I think this is a simple but useful workaround to the fact that Corel doesn't have a native command that does this.
[URL]....
I have a VB script that I created in excel that does a number of things. At some point I want it to open a series of variable Draw documents based on names and paths from columns in an excel document. This part works fine. However, I also want to perform a macro, created in CorelDraw, on said files once opened. This macro also works fine. The issue I am having is getting Excel to tell Draw to run the macro. I wrote the line with the same syntax I would use for telling excel to run a Word macro. IDK.
Set CorelDrawApp = CreateObject("CorelDraw.Application.15")
CorelDrawApp.Visible = True
Dim i As Long
[Code]....