Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ActiveX Control properties

4 REPLIES 4
Reply
Message 1 of 5
nathaniel
510 Views, 4 Replies

ActiveX Control properties

Hi all,

 

 

I would like to set the URLsMaxIcons property in the activeX control. Not sure how to go about doing that. Any help would be much appreciated.

 

N

4 REPLIES 4
Message 2 of 5
xiaodong_liang
in reply to: nathaniel

Hi,

 

Have you tried with?

 

NwControl.state.GlobalProperties.URLsMaxIcons  = 3
NwControl.state.URLsEnabled = true

 

Regards,

Xiaodong Liang

Developer Technical Services

Message 3 of 5
nathaniel
in reply to: nathaniel

Thank you for your reply.

This is what I have currently:

 

 

public sub btnLinkOn_Clicked()

	NwControl01.state.URLsEnabled = TRUE
	NwControl01.state.GlobalProperties.URLsMaxIcons = 5

end sub

public sub btnLinkoff_Clicked()

	NwControl01.state.URLsEnabled = FALSE

end sub

 

I have a button to turn the links on and one to turn them off. When I turn them on, they do come on, but all of them turn on. I would Like it if it would only show 5.

any suggestions?
Thanks again.
N

 

 

Message 4 of 5
xiaodong_liang
in reply to: nathaniel

hum... I even found a problem has been logged: URLsEnabled does not work for ActiveX control. The hyperlinks do not show up. I can reproduce it. What version you are testing?

 

My test is:

ACTX_01

Navisworks Integrated Control 9 SDI

8A8F9690-5695-42D5-AD50-6FA695F8B634

C:\Program Files\Autodesk\Navisworks Manage 2012\api\COM\examples\gatehouse.nwd

Message 5 of 5
nathaniel
in reply to: nathaniel

I am using Navisworks Integrated Control 9

C72142DB-2D3B-4051-A74F-06C43FE27241

 

URLs Enabled = TRUE does work for me, but not MAXIcons

 


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report