Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro for making pictures WB

Status
Not open for further replies.

Joey1984

Mechanical
Aug 6, 2013
1
Hi fellows,

I Have this macro for making pictures in every substep in WB

!** OBRAZKY START **


/SHOW,PNG,,,8
PNGR,COMP,1,-1
PNGR,ORIENT,HORIZ
PNGR,COLOR,2
PNGR,TMOD,1
!rozliseni
/GFILE,800,

/CMAP,_TEMPCMAP_,CMP,,SAVE,
/RGB,INDEX,100,100,100,0
/RGB,INDEX,0,0,0,15
/CLABEL,1,0
/CONTOUR,1,16,AUTO,,
/DEVICE,VECTOR,0
/CTYPE,0


!**

*GET,CumStep, ACTIVE, 0, SET, NSET


/title, Napeti krok: %CumStep%


*do,nn,1,CumStep,

SET,,,,,,,nn

/VIEW,1,1,1,1
/ANG,1
/EFACET,1
PLNSOL, S,INT, 0,1.0
*enddo


!** OBRAZKY KONEC **
/CMAP,_TEMPCMAP_,CMP
/DELETE,_TEMPCMAP_,CMP
/SHOW,CLOSE
/DEVICE,VECTOR,0


Iw works, but the problem is that it makes ugly pictures with only 256 colors, is there some way to override 256 color issue? May be something with the „/ui,copy,save,png,graph,color,reverse,portrait,yes“ command? Or switching graphics device driver to „3D“. Thanks for replies :). Joey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor