cancel
Showing results for 
Search instead for 
Did you mean: 

Bitmap UDE NX7.5

Creator
Creator

Hi,

 

I am having an issue directing my UDE to pick up a bitmap image that is anywhere other than the standard config directory.

Even if I add a filepath URL to the UDE in postbuilder it will still only pick up .bmp's that are stored in the std congig path.

Due to restrictions where I work I am not able to change this std directory.

 

So my question is... How do I get the UDE to pick up a .bmp from a filepath of my choice?

 

Any help is much appreciated.

 

Cheers,

 

Don

8 REPLIES

Re: Bitmap UDE NX7.5

Solution Partner Experimenter Solution Partner Experimenter
Solution Partner Experimenter

Have you tried to use UGII_BITMAP_PATH?

(This variable defines the directory location for user defined bitmaps)

You should be able to point any folder with this variable.

Re: Bitmap UDE NX7.5

Esteemed Contributor
Esteemed Contributor

It could be a problem with the length of the full path, which is restricted for UDE bitmaps.

 

To test this, you just need to try a shorter path and see if the image is used with a shorter path.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: Bitmap UDE NX7.5

Creator
Creator

Unfortunately I don't have write access to change this path.

I was hoping the URL within the UDE editor would redirect where it looks for the .bmp, but it doesn't. It always looks in the UGII_BITMAP_PATH directory which is highly frustrating!

.

Re: Bitmap UDE NX7.5

Creator
Creator

Thanks for the tip Stefan.

 

Just tested your suggestion but still no luck.

Re: Bitmap UDE NX7.5

Esteemed Contributor
Esteemed Contributor

The following works for us.

 

   PARAM siemens_drill_map
   {
      TYPE l
      DEFVAL "$UGII_CAM_USER_DEF_EVENT_DIR/b/ctrl_s840d_CYCLE81.bmp"
   }

 

Post your example, then you will get better help.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: Bitmap UDE NX7.5

Creator
Creator

Ok, so here is what I've got thats not working....

 

UI_HELP "Picture Help" "file://W:/PLM_CAM_DATA/resource/bitmaps/"

PARAM dh_help

{

     TYPE 1

     DEFVAL "dh_help.bmp"

}

Re: Bitmap UDE NX7.5

Esteemed Contributor
Esteemed Contributor

I think it should be:

 

PARAM dh_help
{
     TYPE l
     DEFVAL "W:/PLM_CAM_DATA/resource/bitmaps/dh_help.bmp"
}

 

Notice that the type is l (el) like legend, not one like the number.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: Bitmap UDE NX7.5

Creator
Creator

Cheers Stefan, if I manually change the DEFVAL to my filepath in notepad it works a treat.

For some reason the UDE editor will not allow me to enter a filepath as the default value.

Hopefully this wont have any implications further down the line.

 

Many thanks for your help.

Learn online





Solution Information