I am creating a macro for coreldraw 11 that creates a shape for a laser cutting process. The macro prompts the user to enter dimensions for hieght and width. It creates a box in corel and sets the corner radius to 10 then scales the box to the dimensions required. The problem becomes once you scale the box the corner radius gets skewed. Is this a known problem in corel?
The only solutions I could see are to either be able to enter dimensions into corel and have it place your object on the canvas correctly porportioned (can it do that?), or create it with a script. If a script is required I can use the macro software to replace the "dimension" text before corel runs it. Is there a create box script out there? I would not know where to begin trying to write one.
Any other suggestions are welcome.
dimmech
The only solutions I could see are to either be able to enter dimensions into corel and have it place your object on the canvas correctly porportioned (can it do that?), or create it with a script. If a script is required I can use the macro software to replace the "dimension" text before corel runs it. Is there a create box script out there? I would not know where to begin trying to write one.
Any other suggestions are welcome.
dimmech