Any alternative for srxtext.vlx ?

Any alternative for srxtext.vlx ?

jtm2020hyo
Collaborator Collaborator
5,035 Views
30 Replies
Message 1 of 31

Any alternative for srxtext.vlx ?

jtm2020hyo
Collaborator
Collaborator

https://www.cadstudio.cz/en/apps/srxtext/

I found this .vlx but does not work, at least for me, I think this because of the need to pay. So I need an alternative.

image.png

 

 

 

0 Likes
5,036 Views
30 Replies
Replies (30)
Message 21 of 31

vladimir_michl
Advisor
Advisor
Accepted solution

Cameras are views. Views are already there - under "V".

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

Message 22 of 31

jtm2020hyo
Collaborator
Collaborator

thanks, work perfectly, sorry if I did waste your time.

please keep developing more  softwares too awesome like this.

0 Likes
Message 23 of 31

jtm2020hyo
Collaborator
Collaborator

excuse me, it's possible to add an option to export to CSV?

0 Likes
Message 24 of 31

vladimir_michl
Advisor
Advisor

Export? RRename just changes object names - why export? Or do you mean export-rename-import?

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

0 Likes
Message 25 of 31

jtm2020hyo
Collaborator
Collaborator

yes, it could be great.

0 Likes
Message 26 of 31

vladimir_michl
Advisor
Advisor
Accepted solution

Here it is:

https://www.cadforum.cz/cadforum_en/renamecsv-rename-layers-layouts-views-linetypes-using-excel-tip1...

RenameCSV renames DWG symbol tables using Excel (or other app, over CSV file export/import).

 

Vladimir Michl, www.cadstudio.cz - www.cadforum.cz

 

Message 27 of 31

jtm2020hyo
Collaborator
Collaborator

thanks a lot, sir.

0 Likes
Message 28 of 31

joel.bennettFVVY2
Contributor
Contributor

Using SRXTEXT2 I am struggling to find the right regex to search mtext that contains:

 

MODEL: DP DA2300
MODEL: TH-55CQE1W

 

And replace it with the following:
DP DA2300 [1]
TH-55CQE1W [1]

 

The main problem is I do not know how to find a line break. I have tried \r\n and \P

 

Any help would be greatly appreciated. 

0 Likes
Message 29 of 31

vladimir_michl
Advisor
Advisor

If the lines are in a single MText, you can use e.g. this regexp:

 

Command: SRXTEXT2
Search texts using [Regular expression/Exact string/Substring] <Substring>: r
Enter the searched pattern: .+: (.+)\\P.+: (.+)
Enter the replace pattern ($1$2 for regex captures): $1 [1]\P$2 [1]
Search only in [Layer/All] <All>:
Search only [Selected/All] <All>:
Number of searched entities: 3
MODEL: DP DA2300\PMODEL: TH-55CQE1W-->DP DA2300 [1]\PTH-55CQE1W [1]
Perform [Replace/Yes to all/Skip/skipAll/Exit]? <Skip>: r

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes
Message 30 of 31

joel.bennettFVVY2
Contributor
Contributor

Thank you that worked. I have one more request

 

 

I have MTEXT in the format below, I want to capture the text in bold using srxtext2

 

MODEL: DP DA2 [60-1221-01]

MANUFACT: EXTRON

DESCRIPT2: DPORT DA

DESCRIPT1: 

 

DPORT OUT 1

MODEL: TH-55CQE1W

MANUFACT: PANASONIC

DESCRIPT2: 55" 4K LED TV

DESCRIPT1:

 

HDMI IN 1

 

Desired Result

DP DA2: 1

TH-55CQE: 1

 

Note from the model tag, I am wanting to capture the first eight characters (ignoring white space) OR up until the first left bracket, whatever comes first.

0 Likes
Message 31 of 31

vmichl_cs
Enthusiast
Enthusiast

Should be something like (simplified to just the first line of the text):

 

Command: SRXTEXT2
Search texts using [Regular expression/Exact string/Substring] <Substring>: r
Enter the searched pattern: Model: ([^\[]{1,8}).*
Enter the replace pattern ($1$2 for regex captures): $1
Search only in [Layer/All] <All>:
Search only [Selected/All] <All>:
Number of searched entities: 2
MODEL: TH-55CQE1W-->TH-55CQE
Perform [Replace/Yes to all/Skip/skipAll/Exit]? <Skip>:

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes