PMI ALL Hide?

Valued Contributor
Valued Contributor

Hi Edge Users
I want to hide the pmi dimensions at once after modeling.
However, the Hide All PMI function does not work during the edge function.
It is also annoying to press in the Pathfinder.
Is there any way to hide it at once?

PMI ALL HIDE.png

 

T

The function does not work in the figure below.
Pmi Fuction.png

 

8 REPLIES

Re: PMI ALL Hide?

Siemens Legend Siemens Legend
Siemens Legend

Hclee,

I believe it's as simple as deselecting the checkbox next to the PMI branch in the Pathfinder?

 

Regards /ulf

2016-11-21 13_50_43-Solid Edge ST9 - Synchronous Part - [Boom.par in Digger.asm].png

Siemens EMEA GTAC Support

Re: PMI ALL Hide?

Honored Contributor
Honored Contributor

Hi @Ulf_Eriksson

 

 

 

but I think this also is not what @Hclee wants to do.

 

"It is anoying to press the pathfinder ..."

 

And I must agree with him, that a shortcut ro set or radial button  or menu would be very helpful to speed up Your daily work.

 

Every cm (m) You must not move the mouse is a won cm (m)

 

I personally love it too to use shortcuts.

The problem here seems to be, that the PMI pathfinder tree must be selected to be used for command

 

 



regards
Wolfgang

Re: PMI ALL Hide?

Siemens Legend Siemens Legend
Siemens Legend

Ahh, sorry. I missed that. 

Altough only a single mouse click there seems to be no short command available to add in the menues.

 

This then should be logged as an ER (Enhancement Request) to you Reseller/Siemens PLM.

 

Thanks for the clarification Wolfgang.

 

Siemens EMEA GTAC Support

Re: PMI ALL Hide?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

How about a macro?

Attached is the compiled version.

Extract it to a local folder and create a botton or keystroke to it.

Here is the code.

Module Module1
    Sub Main()
        Dim solidApp As Object = Nothing
        Try
            solidApp = Marshal.GetActiveObject("SolidEdge.Application")
            solidApp.DelayCompute = True
            Dim dims = solidApp.ActiveDocument.PMI.Dimensions
            For Each d In dims
                d.HidePMI = True
            Next
        Finally
            solidApp.DelayCompute = False
        End Try
    End Sub

End Module

 

LMGi
www.TLMGi.com

Re: PMI ALL Hide?

Honored Contributor
Honored Contributor

Hi @JasonTitcomb,


thanks a lot, and You were faster with doing it than me.


There would be a smal improvement for that macro.

Depending wether the PMI is shown or not man should change the current status so You can use it as changer for PMI show/no show.

 

May I ask You to to uplaod the complete macro code, for using it as starter to certain add ons?

 

 



regards
Wolfgang

Re: PMI ALL Hide?

Valued Contributor
Valued Contributor

@ JasonTitcomb

 

Thank you for your code.
Great.

 

Re: PMI ALL Hide?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

It's a Visual Studio 2015 project.

Notice there are no references to Solid Edge.

I did this to avoid dependencies and extra files.

LMGi
www.TLMGi.com

Re: PMI ALL Hide?

Phenom
Phenom

Thanks for the macro @JasonTitcomb

I was contemplating to write a similar one.

 

~Tushar