cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeJaeYoung
Virtuoso

Can i get the view name?

LeeJaeYoung_0-1655718896932.png

Can i get the view name?

 

n = REQUEST ("Home_story", "", index, story_name)

story_name

LeeJaeYoung_1-1655719046261.png

I want get view name ?

 

I am trying to read the name of the floor plan in the view and use the IF statement.

<DrawingName> 

 

2D Script

IF "<DrawingName>" = "3층 평면도" Then

TEXT2 0,0,"OK"

ENDIF

 

But This code doesn't work.

 

 

 

 

 

AC27 on window 11
2 Replies 2
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

autotext contents aren't visible to GDL.

In a drawing title object you can use these parameters to get some information.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
LeeJaeYoung
Virtuoso

I want to read the name of the view.

Since this is a function that is only visible in the title, it cannot be used in an if statement.

LeeJaeYoung_0-1655994952272.png

 

AC27 on window 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!