Cancel
Showing results for 
Search instead for 
Did you mean: 

Size of CustomSymbol

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

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

Esteemed Contributor
Esteemed Contributor

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

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

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

Re: Size of CustomSymbol

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

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