×
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

problem with reference

problem with reference

problem with reference

(OP)
Bonjour!! ponytails2

I have a problem with reference of selection!!

CODE -->

MsgBox "select a hole"

Dim InputObjectType(0), Status1
InputObjectType(0)="Hole"

Status1=selection1.SelectElement2(InputObjectType,"Select a hole",false)
If Status1 = "Cancel" Then selection1.Clear: Exit Sub

Dim reference1 As Reference
Set oHole = selection1.Item(1).value
Set reference1 = selection1.Item(1).Reference
Set reference1 = selection1.Item(1).Value.Reference 

the red one are wrongs!!
how can I get the reference
th u soapbox

RE: problem with reference

solution is in online doc (with many other good stuff worthy to read)
sorry but ...RTFM

Installe la doc et prend 15 minutes a regarder ce qu il y a dedans a propos de reference... Il y a des methodes pour creer des references

Eric N.
indocti discant et ament meminisse periti

RE: problem with reference

(OP)
je l'ai utilisé avec la selection des point et c a bien marché!!!!
mais dans ce cas c'est bizarre!
sorry et ... METC

RE: problem with reference

check this

Eric N.
indocti discant et ament meminisse periti

RE: problem with reference

(OP)
hahahaha!!

Quote (fedro)

METC
Merci En Tout Cas! thank you anyway

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