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

Create Shared view and shared folder using BIM Glue API

4 REPLIES 4
Reply
Message 1 of 5
vsrinivasan
499 Views, 4 Replies

Create Shared view and shared folder using BIM Glue API

Is it possible to create shared view and shared folder using BIM glue API?

4 REPLIES 4
Message 2 of 5

Hi,

Although as I remember, the API document website contains an endpoint with has two parameters (is_global and is_folder ), which looks like the way to create shared & folder, I also noticed a comment my colleague Mikako mentioned in the other thread:

 

           Property access, creating views and marekups are legacy wishes that people are asking. 

 

 

 

So, I am afraid the ability of creating view has not been exposed yet. I will double check.

Message 3 of 5

Hi,

 

After discussing with our engineer team.,I also gave it a test.The API supports creating viewpoint, and view folder.

 

for folder or specific view: is_folder and is_global are required parameters
for specific view: is_folder, is_global and view_object are required parameters

 

These below are the post body I tested with:

 

Folder:

	company_id=XXXXX&
	api_key=XXXXXXXXXXXXXXX&
	auth_token=XXXXXXXXXXX&
	model_id=XXXXXXXXX&
	view_name=XiaodongViewFolder&
	is_folder=1&
	is_global=0&
	timestamp=XXXXXXXX&
	sig=XXXXXXXXXXXXXXXXXX

View:

company_id=XXXXX&
api_key=XXXXXXXXXXXXXXX&
auth_token=XXXXXXXXXXX&
model_id=XXXXXXXXX&
view_name=XiaodongOneView&
is_folder=0&
is_global=1&
view_object={"Type":"AutodeskCommonCamera",
			"Projection":"Perspective",
			"Version":1,
			"VerticalExtent":321.459933,
			"HorizontalExtent":472.457626,
			"TargetDistance":278.392468,
			"UnitsToMetersScaleFactor":0.3048,
			"WorldUpDirection":[0,0,1],
			"WorldFrontDirection":[0,1,0],
			"WorldRightDirection":[1,0,0],
			"Position":[164.83782,-217.078747,204.330387],
			"ViewDirection":[-0.57735,0.57735,-0.57735],
			"UpDirection":[-0.408248,0.408248,0.816497],
			"NearDistance":0,
			"NearDistanceType":"Auto",
			"FarDistance":1,
			"FarDistanceType":"Auto",
			"UpOffset":0,
			"RightOffset":0,
			"ImageFit":"Vertical",
			"HorizontalScale":1,
			"ApertureDiameter":0,
			"ShutterSpeed":0}&
timestamp=XXXXXXXX&
sig=XXXXXXXXXXXXXXXXXX

Hope this helps.

 

Message 4 of 5

Hi Xiaodong,

 

Can we create a markups using BIM Glue API, if it is possible from Navisworks how can get information required for Markups, also let me know the sample API snippet for creating the Markups as shown above for Views

Message 5 of 5

Can we create a markups using BIM Glue API, if it is possible from Navisworks how can get information required for Markups, also let me know the sample API snippet for creating the Markups as shown above for Views

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report