Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi Guys...
I am working on a requirement.if a drawing contains "Datum Target Symbol" then the attachment of that symbol to any object should notbe witharrow. it should be without arrow head. i.e (simple line). The issue is that i am using
ProDtlsyminstdataAttachtypeGet() and it returns. (any one)
PROSYMDEFATTACHTYPE_FREE,PROSYMDEFATTACHTYPE_LEFT_LEADER,
PROSYMDEFATTACHTYPE_RIGHT_LEADER, PROSYMDEFATTACHTYPE_RADIAL_LEADER, PROSYMDEFATTACHTYPE_ON_ITEM, PROSYMDEFATTACHTYPE_NORM_ITEM
Now in drawingi have created two symbols one with arrow and one without arrow ( Please see the image ). But it returns same value for both. so how to bring the difference out... Am i heading in the rite direction or is there any other way of to do this...
Hi Patrick,
I guess i didnt find this function ProDtlattachArrowtypeGet() because i dont have 3D License. 😕
Thanks a lot man. have a nice day... 🙂
Well when i search in API Wizard i dont find this function (see images) as you mentioned that its "regardless what license you use you will find it in API Wizard" but i cant. i am working on ProEWildFire 4.0. Please correct me if i am wrong..
So even if i get a 3D license i wont find this function, since i am not using WildFire5.well...!!! then that is not good 😕 for me. ummm... Lets see what else i can come up with, to solve this issue. (Update to WildFire5 is one solution) but not feasible.
I will keep you in the loop if iam ableto find out some solution to get the arrow type in WildFire4.0
Thanks man...!! 🙂 have a nice day.
I had the same problem some weeks ago.
Until Wildfire 5 the problem can be solved by adding the note to the selection buffer (toolkit) and then run a mapkey that switches the arrow type. The mapkey can run only if there is a single note in the selection buffer.
With Creo there is a new dtl option “default_leader_arrow_style” that can be used to define the arrow style for new notes.
Some of my customers are waiting for this option since 2002 when they started with Pro/E…
Andreas
__________________________________
Andreas Hellmann
MCAD Services Pro/E & Pro/E customization
Rudolf-Diesel-Str. 6
D-65439 Floersheim / Germany
phone: +49 6145 598296
mail: -
Hi Andreas,
The way you have solved it sounds interesting. can youput somecode to explain exactly how you did it.
Thanks.
Try the following:
1. Create the note
2. Empty the selection buffer
3. Create a selection object from the new note
4. Add this selection to the selection buffer
5.From Toolkit/JLink: With only one selection in the buffer run the mapkeythat modifies the arrow style.
The mapkey should be recorded by selecting a drawing note manually and record this:
Toolbox Format / Select "Arrow style" / <select array=" stlye=" type="> / Done/Return / Edit / Select / Deselect All
Write the mapkey to a file and use the string in Toolkit to run it as a macro.
Andreas
__________________________________
Andreas Hellmann
MCAD Services Pro/E & Pro/E customization
Rudolf-Diesel-Str. 6
D-65439 Floersheim / Germany
phone: +49 6145 598296
mail: -