Skip to content

Commit b5f765e

Browse files
author
Michael Zappe
committed
Improve wording (according to Acrolinx)
1 parent bb1f506 commit b5f765e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/remote-rendering/samples/powershell-example-scripts.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,17 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
8585
### accountSettings
8686

8787
For `arrAccountId` and `arrAccountKey`, see [Create an Azure Remote Rendering account](../how-tos/create-an-account.md).
88-
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md), except if you are running on a non-public Azure region, whereas you have to specify the full url to the account authentication service in your region.
88+
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md). If you're running on a nonpublic Azure region, you have to specify the full url to the account authentication service in your region.
8989

9090
### renderingSessionSettings
9191

9292
This structure must be filled out if you want to run **RenderingSession.ps1**:
9393

9494
- **vmSize:** Selects the size of the virtual machine. Select [*standard*](../reference/vm-sizes.md) or [*premium*](../reference/vm-sizes.md). Shut down rendering sessions when you don't need them anymore.
95-
- **maxLeaseTime:** The duration for which you want to lease the VM. It will be shut down when the lease expires. The lease time can be extended later (see below).
96-
- **remoteRenderingDomain:** The region where the remote rendering VM will be setup in. Can differ from the arrAccountDomain, but still should be a region from [list of available regions](../reference/regions.md), except if you are running on a non-public Azure region, whereas you have to specify the full url to the remote rendering service in your region.
95+
- **maxLeaseTime:** The duration for which you want to lease the VM. The VM shuts down when the lease expires. The lease time can be extended later (see [here](#change-session-properties)).
96+
- **remoteRenderingDomain:** The region where the remote rendering VM resides in.
97+
- Can differ from the arrAccountDomain, but still should be a region from [list of available regions](../reference/regions.md)
98+
- If you're running on a nonpublic Azure region, you have to specify the full url to the remote rendering service in your region.
9799

98100
### assetConversionSettings
99101

@@ -116,7 +118,7 @@ Normal usage with a fully filled out arrconfig.json:
116118
.\RenderingSession.ps1
117119
```
118120

119-
The script will call the [session management REST API](../how-tos/session-rest-api.md) to spin up a rendering VM with the specified settings. On success, it will retrieve the *sessionId*. Then it will poll the session properties until the session is ready or an error occurred.
121+
The script calls the [session management REST API](../how-tos/session-rest-api.md) to spin up a rendering VM with the specified settings. On success, it retrieves the *sessionId*. Afterwards it polls the session properties until the session is ready or an error occurred.
120122

121123
To use an **alternative config** file:
122124

@@ -193,7 +195,7 @@ Using a linked storage account is the preferred way to use the conversion servic
193195
.\Conversion.ps1
194196
```
195197

196-
1. Upload all files contained in the `assetConversionSettings.modelLocation` to the input blob container under the given `inputFolderPath`..
198+
1. Upload all files contained in the `assetConversionSettings.modelLocation` to the input blob container under the given `inputFolderPath`.
197199
1. Call the [model conversion REST API](../how-tos/conversion/conversion-rest-api.md) to kick off the [model conversion](../how-tos/conversion/model-conversion.md)
198200
1. Poll the conversion status until the conversion succeeded or failed.
199201
1. Output details of the converted file location (storage account, output container, file path in the container).
@@ -244,7 +246,7 @@ You can **override individual settings** from the config file using the followin
244246
* **OutputFolderPath:** override for the outputFolderPath of assetConversionSettings
245247
* **OutputAssetFileName:** override for outputAssetFileName of assetConversionSettings
246248

247-
For example you can combine a number of the given options like this:
249+
For example you can combine the given options like this:
248250

249251
```PowerShell
250252
.\Conversion.ps1 -LocalAssetDirectoryPath "C:\\models\\box" -InputAssetPath box.fbx -OutputFolderPath another/converted/box -OutputAssetFileName newConversionBox.arrAsset
@@ -261,7 +263,7 @@ Only upload data from the given LocalAssetDirectoryPath.
261263
```
262264

263265
Only start the conversion process of a model already uploaded to blob storage (don't run Upload, don't poll the conversion status)
264-
The script will return a *conversionId*.
266+
The script returns a *conversionId*.
265267

266268
```PowerShell
267269
.\Conversion.ps1 -ConvertAsset

0 commit comments

Comments
 (0)