Symbols

Hi,

I am replacing the ballon symbols from custom symbols.
Tool is working fine when sheet is 1.
When I have a multiple sheets, tool is creating symbols on the displayed sheet.
Eg:-suppose on sheet1 I have 3 symbols, on sheet2 I have 2 symbols,& sheet2 is opened after executing the program all the symbols are getting creating on sheet2(5 symbols).Leaders,origins all information are fine.
I don't want to go for opening each sheet & closing :)
Thanks

There is some code here that will tell you what drawing sheet a drafting annotation resides on.

"I don't want to go for opening each sheet & closing"

I don't think you'll have much choice here. When you create a new ID symbol, it gets created on the active sheet. You will need to change the active sheet as you create symbols. I currently don't know of any way to create a symbol on an inactive sheet.

Hi,

I have one problem my balloon symbols(triangle Up), are placed very closely with each other. if I try to select one symbol 2nd one also highlights &when I delete symbol 1 , symbol 2 comes & sits in position of symbol 1.

I have to replace these triangle Up with custom symbols,after runningcustom symbols are getting overlapped(completely)
I tried to re-origin these triangle Up symbols , but didn't succeed
Please help

It sounds like the symbols are associated to each other or another annotation on the drawing. I suspect that you are on the right track by looking at the "origin" of each symbol. If you use "Edit -> annotation -> origin" and select a symbol, is the "associative" option checked? If so, try turning it off and Ok the dialog.

Hi, I am not able to select that particular symbol by using "Edit -> annotation -> origin" and select a symbol.
& the symbol should be associative. Isnt it? because i am using getassociativeorigin & setassociative origin while placing the new symbol.

So these ID symbols have been created/placed by your code? If so, can you post the relevant code?

"the symbol should be associative. Isnt it?"
Depends on what you are trying to accomplish, but the symbol origins do not have to be associative. I like to keep them unassociative unless I have a good reason to do otherwise.

No, these are not placed by code.These are already present on drawing

eg;
i have 2 ballons very close to each other(one is getting selected using edit->annotation->origin(& when i hover cursor over this 2nd is also get highlighted), 2nd once not getting selected using edit->annotation->origin.Now if i run my program the new custom symbols are getting placed( by program)custom symbols poisition changes.( 2nd symbol overlaps on 1st symbol in this case)

But when i drag(shift) my ballon 2nd one a bit to right/left(before running program), it is then getting selected using edit->annotation->origin& it doesnt overlap

What version of NX are you using?
Can you email an example file where at least 2 ID symbols show this behavior?
If so, please email to: info@nxjournaling.com

I am using NX-9.
One more thing i noticed,when i check information window of these 2 symbols, they are showing different origin points
But while debugging, the origin points of these 2 are same.
Therefore the custom symbol are getting completely overlapped

Will that work if i will unassociate all the symbols present(triangleUp), then run the custom symbol tool?

It sounds like the symbols are associated to each other in some way, perhaps a stacked or grouped annotation. Without seeing a file, I'm really just giving educated guesses at this point.

Hi,
I just checked the information window.These are like

Origin Type Stacked
Alignment Position Right

Origin Type Stacked
Alignment Position Below

I will mail you snapshots

Well, that confirms that you have stacked annotations. Now the question is: do you want your custom symbols to be similarly stacked?

If we keep stack they will not overlap ? I didn't know how to keep them stack through program.

I'm not sure, I've never tried to stack custom symbols. The first question is: do you want to have the custom symbols related to each other in this way? If so, we can work on how to accomplish it. If not, we can specify different origin locations.

" do you want to have the custom symbols related to each other in this way"
if this is done, it will be fairly good,

"If not, we can specify different origin locations."
How this can be done, because while debugging they are showing same origin.

"How this can be done, because while debugging they are showing same origin."

We would need to specify a new origin location.

Thanks!