OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-09-2011, 14:07
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 158
Default How to select shape of same width & height using CQL and not selecting groupshape

hi
How to select shape of same width & height using CQL and not selecting groupShape of same width & height
Reply With Quote
  #2  
Old 17-09-2011, 18:16
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

HI.
Can't you just add this condition to the query?

@type <> 'group'

~John
Reply With Quote
  #3  
Old 18-09-2011, 04:09
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 158
Default

query <> 'group' will not select any shape in the group, But i would like to select a shape within the group
Reply With Quote
  #4  
Old 19-09-2011, 08:44
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default CQL Group

Are you sure the <> 'group' doesn't work? Seem to work just fine here. Here is my line of CQL:
Code:
ActivePage.Shapes.FindShapes(Query:="@type <> 'group' and @width = {2 in} and @height = {2 in}").CreateSelection
It does not select the group, but does select shapes inside the group that are 2 in x 2 in.

-Shelby
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
macro add a page after (exact height and width)currently active page buga Macros/Add-ons 1 20-01-2011 04:42
How to calculate image height/width when export to image? lohmac CorelDRAW/Corel DESIGNER VBA 2 29-08-2010 10:07
How do I get Text Width and Height in TextOnPath ljesus7 CorelDRAW/Corel DESIGNER VBA 0 15-03-2009 21:28
How do I get font width and height? ljesus7 CorelDRAW/Corel DESIGNER VBA 1 14-03-2009 01:31
get the OrigSelection's width and height zxy050 CorelDRAW/Corel DESIGNER VBA 2 28-12-2007 04:48


All times are GMT -5. The time now is 16:25.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com