×
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

draftingCustomSymbolBuilder

draftingCustomSymbolBuilder

draftingCustomSymbolBuilder

(OP)
Hi -
I am working on a small journal including a Blockstyler dialog.
It is build so I can place some predefined customSymbols on a drawingsheet.
I have several dropdown's in dialog - and user can simply choose one or more of the listed customsymbols.
In my program I have a arraylist containing all filepaths to the the symbols - and some kind of a alias array used to the content in the dropdown dialog....
Everything is working very well....But I still want to optimize the program regarding the arraylist of filepaths.
Instead of filepaths , it would be nice (and easier to maintain) ,if I simply could use the symbol name itself.

To insert the symbols I use the draftingCustomSymbolBuilder. It has a member SelectSymbol(string), which require the entire filepath of the customsymbol....
But say I only list all symbolnames in my arraylist , I would then need a method to extract the filepath from a symbolname - listed in a arraylist....Does any of you have a suggest - how to ??
(I know how to extract symbolnames and filepaths from a symbolcollection in a drawing part)...
But in my case I "only" have the symbolnames as string declared in my arraylist - or maybe they should be declared in a another type ?

*
*
*
draftingCustomSymbolBuilder1.SelectSymbol("C:\Users\testSetup\my_symbol.sym.prt)
*
*
*

regards lklo

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