×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

API - PropertyManagerPage Macro Question

API - PropertyManagerPage Macro Question

API - PropertyManagerPage Macro Question

(OP)
I am writing a macro using the PropertyManagerPage, and graphically selecting objects with the mouse works fine. What I'd like to do is populate a Selection Box with a specific feature by issuing a .Select from a portion of my code.

Currently...
If I have the PropertyManagerPage open I can click any of the features in the tree, and the Selection Box populates correctly. If I Close the PropertyManagerPage and then branch to my code, everything gets programmatically selected correctly. But if I leave the PropertyManagerPage Open and branch to my code during one of the Events, nothing gets programmatically selected (I even verified this with a boolean on the .Select command, True's with the PropertyManagerPage closed, False's with the PropertyManagerPage open).

Can anyone help?
Thanks,
Ken

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources