Skip to main content
3-Newcomer
July 9, 2024
Question

IsoDraw Macros - change the file/drawing name

  • July 9, 2024
  • 2 replies
  • 1565 views

Hello,

 

I have joined newly to this community,

 

we use to change the file/drawing name inside as well as outside for huge nos.of drawings in ISODRAW, could u pls help me  how can i do it with help of macros in ISODRAW.

2 replies

olivierlp
Community Manager
July 9, 2024

Hi @SH_8396062 

 

I recommend giving more details and context about the problem you have in mind. Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

Olivier
3-Newcomer
July 10, 2024

FILE NAMEFILE NAMEI have iso files named as above, i want to change the names in series due to adding some files in between. so 110 became 111.....so on. this how can i do it in isodraw macro, i want to do this name/ICN changes in inside as well as outside of each file.

18-Opal
July 15, 2024

With Isodraw open you can batch process files in a folder specifying a macro to use, but I am not sure if it can rename the original file name of the file. We have a macro that takes the name of the file and places it in the bottom right corner of the illustration.  

 

I hope this helps 

 

Bryon

 

 

Macro Add_FileName
 
  Define h As Integer
  Define w As Integer
  w = activeDoc.window.pageX-2
  h = 2
 
#Message "The height is " + h
#Message "The width is " + w
 
#Added below command to ensure number is placed on the Illustation number layer
 
  ACTIVATE LAYER "Illustration Number"
Select none
  Text Align Left
  Text font 'Calibri'
  Text size 6
  Create Text w h stripext(activeDoc.name)
  Rotate selection w h 90
 
End Macro
Community Manager
July 16, 2024

Hello @SH_8396062

 

It looks like you have a response from a community member. If it helped to solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.