Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Size of CustomSymbol

Hello together,

 

I am trying to get a customSymbol's width and Height, also its location like shown in the

ListingWindows (Information) when you navigate to CustomSysmbol->Properites->General and press the Information-button.

Is it possible ?

 

Thanks in advance,

Mark

3 REPLIES

Re: Size of CustomSymbol

Have you search uganswer (https://solutions.industrysoftware.automation.siemens.com/)?

Have you tried recording a journal (in your language of choice) where you edit a custom symbol's size?

 

 

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Size of CustomSymbol

Yes I have Unfortunately nothing yielded in usable results so far.

Solution
Solution
Accepted by topic author Tautze
‎02-05-2016 05:35 AM

Re: Size of CustomSymbol

For those who are interested:

I opened an IR at GTAC and the reply was that ist is not possible to retrieve the size/width of an customsymbol yet. However the MAsterSymbol's path can be obtained by the following example code

 

Dim theSession As Session = Session.GetSession()
Dim wp As Part = theSession.Parts.Work
        Dim it As IEnumerator = wp.Annotations.CustomSymbols.GetEnumerator()
        it.Reset()
        While it.MoveNext
                Dim csb As DraftingCustomSymbolBuilder = wp.Annotations.CustomSymbols.CreateDraftingCustomSymbolBuilder(it.Current)
                Debug.WriteLine(csb.MasterSymbolPath)
                it.MoveNext()
        End While